123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.9.1"/>
- <title>My Project: Referencia de la Clase Line</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { init_search(); });
- </script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">My Project
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generado por Doxygen 1.8.9.1 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Página principal</span></a></li>
- <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
- <li><a href="files.html"><span>Archivos</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Buscar" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Lista de clases</span></a></li>
- <li><a href="classes.html"><span>Índice de clases</span></a></li>
- <li><a href="hierarchy.html"><span>Jerarquía de la clase</span></a></li>
- <li><a href="functions.html"><span>Miembros de las clases</span></a></li>
- </ul>
- </div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Métodos públicos</a> |
- <a href="#pro-methods">Métodos protegidos</a> |
- <a href="#pri-attribs">Atributos privados</a> |
- <a href="class_line-members.html">Lista de todos los miembros</a> </div>
- <div class="headertitle">
- <div class="title">Referencia de la Clase Line</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p><code>#include <<a class="el" href="line_8h_source.html">line.h</a>></code></p>
- <div class="dynheader">
- Diagrama de herencias de Line</div>
- <div class="dyncontent">
- <div class="center">
- <img src="class_line.png" usemap="#Line_map" alt=""/>
- <map id="Line_map" name="Line_map">
- </map>
- </div></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Métodos públicos</h2></td></tr>
- <tr class="memitem:a4d475f9d634f50933ca84e25d7cf32f9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a> (QWidget *parent=0)</td></tr>
- <tr class="memdesc:a4d475f9d634f50933ca84e25d7cf32f9"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a4d475f9d634f50933ca84e25d7cf32f9">Más...</a><br /></td></tr>
- <tr class="separator:a4d475f9d634f50933ca84e25d7cf32f9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a37f70dab8d5cc7560e6362093a3aa1b9">Line</a> (int fromX, int fromY, int toX, int toY, int w, QColor c, QWidget *parent=0)</td></tr>
- <tr class="memdesc:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="mdescLeft"> </td><td class="mdescRight">Constructor para una linea especificando el (fromX,fromY) and (toX,toY) <a href="#a37f70dab8d5cc7560e6362093a3aa1b9">Más...</a><br /></td></tr>
- <tr class="separator:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a742b2aea487313953635d1e504c6b866"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a742b2aea487313953635d1e504c6b866">Line</a> (int fromX, int fromY, int length, double angle, int w, QColor c, QWidget *parent=0)</td></tr>
- <tr class="memdesc:a742b2aea487313953635d1e504c6b866"><td class="mdescLeft"> </td><td class="mdescRight">Constructor para una linea especificando el (fromX,fromY) and (toX,toY) <a href="#a742b2aea487313953635d1e504c6b866">Más...</a><br /></td></tr>
- <tr class="separator:a742b2aea487313953635d1e504c6b866"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac1475ffee823a7c05b2ac91bfe61596d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#ac1475ffee823a7c05b2ac91bfe61596d">setCoords</a> (int fromX, int fromY, int toX, int toY)</td></tr>
- <tr class="memdesc:ac1475ffee823a7c05b2ac91bfe61596d"><td class="mdescLeft"> </td><td class="mdescRight">Ajustador de las coordenadas de la linea. <a href="#ac1475ffee823a7c05b2ac91bfe61596d">Más...</a><br /></td></tr>
- <tr class="separator:ac1475ffee823a7c05b2ac91bfe61596d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac5b6d8e786cf3820fa36b8bda7130823"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">setpenColor</a> (QColor c)</td></tr>
- <tr class="memdesc:ac5b6d8e786cf3820fa36b8bda7130823"><td class="mdescLeft"> </td><td class="mdescRight">Ajustador del color del boligrafo. <a href="#ac5b6d8e786cf3820fa36b8bda7130823">Más...</a><br /></td></tr>
- <tr class="separator:ac5b6d8e786cf3820fa36b8bda7130823"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a346d88820371b5a4710eed8a638fc451"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a346d88820371b5a4710eed8a638fc451">setPenWidth</a> (int w)</td></tr>
- <tr class="memdesc:a346d88820371b5a4710eed8a638fc451"><td class="mdescLeft"> </td><td class="mdescRight">Ajustador del ancho del boligrafo. <a href="#a346d88820371b5a4710eed8a638fc451">Más...</a><br /></td></tr>
- <tr class="separator:a346d88820371b5a4710eed8a638fc451"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0e23ee7edc154bd73fefab4d88cae150"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">getX0</a> ()</td></tr>
- <tr class="memdesc:a0e23ee7edc154bd73fefab4d88cae150"><td class="mdescLeft"> </td><td class="mdescRight">Devuelve la coordenada inicial x. <a href="#a0e23ee7edc154bd73fefab4d88cae150">Más...</a><br /></td></tr>
- <tr class="separator:a0e23ee7edc154bd73fefab4d88cae150"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a971146fd8bbf711123f03e45daf923c9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a971146fd8bbf711123f03e45daf923c9">getY0</a> ()</td></tr>
- <tr class="memdesc:a971146fd8bbf711123f03e45daf923c9"><td class="mdescLeft"> </td><td class="mdescRight">Devuelve la coordenada inicial y. <a href="#a971146fd8bbf711123f03e45daf923c9">Más...</a><br /></td></tr>
- <tr class="separator:a971146fd8bbf711123f03e45daf923c9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1f51d8df03219f5f63d656bc0e9b2830"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">getX1</a> ()</td></tr>
- <tr class="memdesc:a1f51d8df03219f5f63d656bc0e9b2830"><td class="mdescLeft"> </td><td class="mdescRight">Devuelve la coordenada final x. <a href="#a1f51d8df03219f5f63d656bc0e9b2830">Más...</a><br /></td></tr>
- <tr class="separator:a1f51d8df03219f5f63d656bc0e9b2830"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">getY1</a> ()</td></tr>
- <tr class="memdesc:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="mdescLeft"> </td><td class="mdescRight">Devuelve la coordenada final y. <a href="#a9cc398fdcf93212a3e4db28ac26a88a9">Más...</a><br /></td></tr>
- <tr class="separator:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Métodos protegidos</h2></td></tr>
- <tr class="memitem:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e1f30fa9d7375fd67a2b4cf5a1b6a76"></a>
- void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">paintEvent</a> (QPaintEvent *)</td></tr>
- <tr class="memdesc:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="mdescLeft"> </td><td class="mdescRight">La funcion para el evento de pintar es invocada automaticamente cada ves que evento de repintar ocurre. <br /></td></tr>
- <tr class="separator:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
- Atributos privados</h2></td></tr>
- <tr class="memitem:a647f6f5c0e2b197e3671f8bdb9ff64a2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">x0</a></td></tr>
- <tr class="separator:a647f6f5c0e2b197e3671f8bdb9ff64a2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8e276229892969c7d82f56581e0c168b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a8e276229892969c7d82f56581e0c168b">y0</a></td></tr>
- <tr class="separator:a8e276229892969c7d82f56581e0c168b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1c37aeef714f6c96454c2a9a2dadb69a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">x1</a></td></tr>
- <tr class="separator:a1c37aeef714f6c96454c2a9a2dadb69a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a850c96af61bd595a68b5e867540204f1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a850c96af61bd595a68b5e867540204f1">y1</a></td></tr>
- <tr class="separator:a850c96af61bd595a68b5e867540204f1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4fc1d856f822dd0b88676e6c22a65f14"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">penWidth</a></td></tr>
- <tr class="separator:a4fc1d856f822dd0b88676e6c22a65f14"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8778d952d4d2867bd2f31e5857c368b4"><td class="memItemLeft" align="right" valign="top">QColor </td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">penColor</a></td></tr>
- <tr class="separator:a8778d952d4d2867bd2f31e5857c368b4"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
- <div class="textblock"><p>Una clase para describir lineas </p>
- </div><h2 class="groupheader">Documentación del constructor y destructor</h2>
- <a class="anchor" id="a4d475f9d634f50933ca84e25d7cf32f9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">Line::Line </td>
- <td>(</td>
- <td class="paramtype">QWidget * </td>
- <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Constructor. </p>
- <p>Constructor que ajusta las coordenadas a 0, el color y el ancho del boligrafo a negro y 1 respectivamente. </p>
-
- </div>
- </div>
- <a class="anchor" id="a37f70dab8d5cc7560e6362093a3aa1b9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">Line::Line </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>fromX</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>fromY</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>toX</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>toY</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>w</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QColor </td>
- <td class="paramname"><em>c</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QWidget * </td>
- <td class="paramname"><em>parent</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Constructor para una linea especificando el (fromX,fromY) and (toX,toY) </p>
- <p>Constructor de una linea, especificando las coordenadas (fromX,fromY) y (toX,toY)</p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
- <tr><td class="paramname">fromY</td><td>coordenada y inicial </td></tr>
- <tr><td class="paramname">toX</td><td>coordenada x final </td></tr>
- <tr><td class="paramname">toY</td><td>coordenada y final </td></tr>
- <tr><td class="paramname">w</td><td>ancho de la pluma </td></tr>
- <tr><td class="paramname">c</td><td>color de la linea </td></tr>
- <tr><td class="paramname">parent</td><td>padre de esta linea</td></tr>
- <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
- <tr><td class="paramname">fromY</td><td>coordenada y inicial </td></tr>
- <tr><td class="paramname">toX</td><td>coordenada x final </td></tr>
- <tr><td class="paramname">toY</td><td>end coordenada y final </td></tr>
- <tr><td class="paramname">w</td><td>ancho del boligrafo </td></tr>
- <tr><td class="paramname">c</td><td>color de la linea. </td></tr>
- <tr><td class="paramname">parent</td><td>parent of this line </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <a class="anchor" id="a742b2aea487313953635d1e504c6b866"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">Line::Line </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>fromX</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>fromY</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>length</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>angle</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>w</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QColor </td>
- <td class="paramname"><em>c</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QWidget * </td>
- <td class="paramname"><em>parent</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Constructor para una linea especificando el (fromX,fromY) and (toX,toY) </p>
- <p>Constructor de una linea, especificando la coordenada (fromX, fromY) and el largo (length) y el angulo (angle).</p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
- <tr><td class="paramname">fromY</td><td>coordenada y inicial </td></tr>
- <tr><td class="paramname">length</td><td>largo de la linea </td></tr>
- <tr><td class="paramname">angle</td><td>angulo de la linea </td></tr>
- <tr><td class="paramname">w</td><td>ancho de la pluma </td></tr>
- <tr><td class="paramname">c</td><td>color de la linea </td></tr>
- <tr><td class="paramname">parent</td><td>padre de esta linea</td></tr>
- <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
- <tr><td class="paramname">fromY</td><td>coordenada y inicia </td></tr>
- <tr><td class="paramname">length</td><td>largo de la linea </td></tr>
- <tr><td class="paramname">angle</td><td>angulo de la linea </td></tr>
- <tr><td class="paramname">w</td><td>ancho de la linea </td></tr>
- <tr><td class="paramname">c</td><td>color de la linea </td></tr>
- <tr><td class="paramname">parent</td><td>padre de esta linea </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <h2 class="groupheader">Documentación de las funciones miembro</h2>
- <a class="anchor" id="a0e23ee7edc154bd73fefab4d88cae150"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int Line::getX0 </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Devuelve la coordenada inicial x. </p>
- <dl class="section return"><dt>Devuelve</dt><dd>coordenada inicial x </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a1f51d8df03219f5f63d656bc0e9b2830"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int Line::getX1 </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Devuelve la coordenada final x. </p>
- <dl class="section return"><dt>Devuelve</dt><dd>coordenada final x. </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a971146fd8bbf711123f03e45daf923c9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int Line::getY0 </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Devuelve la coordenada inicial y. </p>
- <dl class="section return"><dt>Devuelve</dt><dd>coordenada inicial y </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a9cc398fdcf93212a3e4db28ac26a88a9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int Line::getY1 </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Devuelve la coordenada final y. </p>
- <dl class="section return"><dt>Devuelve</dt><dd>coordenada final y </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="ac1475ffee823a7c05b2ac91bfe61596d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void Line::setCoords </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>fromX</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>fromY</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>toX</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>toY</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Ajustador de las coordenadas de la linea. </p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
- <tr><td class="paramname">fromY</td><td>coordenada y inicial </td></tr>
- <tr><td class="paramname">toX</td><td>coordenada x final </td></tr>
- <tr><td class="paramname">toY</td><td>end coordenada y final </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <a class="anchor" id="ac5b6d8e786cf3820fa36b8bda7130823"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void Line::setpenColor </td>
- <td>(</td>
- <td class="paramtype">QColor </td>
- <td class="paramname"><em>c</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Ajustador del color del boligrafo. </p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">c</td><td>color de la linea </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <a class="anchor" id="a346d88820371b5a4710eed8a638fc451"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void Line::setPenWidth </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>w</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Ajustador del ancho del boligrafo. </p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">w</td><td>ancho de la linea </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <h2 class="groupheader">Documentación de los datos miembro</h2>
- <a class="anchor" id="a8778d952d4d2867bd2f31e5857c368b4"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QColor Line::penColor</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>pen color / color del boligrafo </p>
-
- </div>
- </div>
- <a class="anchor" id="a4fc1d856f822dd0b88676e6c22a65f14"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int Line::penWidth</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>pen width / ancho del boligrafo </p>
-
- </div>
- </div>
- <a class="anchor" id="a647f6f5c0e2b197e3671f8bdb9ff64a2"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int Line::x0</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>initial coord x / coordenada inicial x </p>
-
- </div>
- </div>
- <a class="anchor" id="a1c37aeef714f6c96454c2a9a2dadb69a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int Line::x1</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>ending coord x / coordenada final x </p>
-
- </div>
- </div>
- <a class="anchor" id="a8e276229892969c7d82f56581e0c168b"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int Line::y0</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>initial coord y / coordenada inicial y </p>
-
- </div>
- </div>
- <a class="anchor" id="a850c96af61bd595a68b5e867540204f1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int Line::y1</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>ending coord y / coordenada final y </p>
-
- </div>
- </div>
- <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
- <li><a class="el" href="line_8h_source.html">line.h</a></li>
- <li>line.cpp</li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generado el Lunes, 22 de Junio de 2015 15:30:54 para My Project por  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.9.1
- </small></address>
- </body>
- </html>
|