Nenhuma descrição

class_line.html 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: Referencia de la Clase Line</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generado por Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Página&#160;principal</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
  42. <li><a href="files.html"><span>Archivos</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Buscar" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
  64. <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
  65. <li><a href="hierarchy.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
  66. <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Métodos públicos</a> &#124;
  85. <a href="#pro-methods">Métodos protegidos</a> &#124;
  86. <a href="#pri-attribs">Atributos privados</a> &#124;
  87. <a href="class_line-members.html">Lista de todos los miembros</a> </div>
  88. <div class="headertitle">
  89. <div class="title">Referencia de la Clase Line</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p><code>#include &lt;<a class="el" href="line_8h_source.html">line.h</a>&gt;</code></p>
  93. <div class="dynheader">
  94. Diagrama de herencias de Line</div>
  95. <div class="dyncontent">
  96. <div class="center">
  97. <img src="class_line.png" usemap="#Line_map" alt=""/>
  98. <map id="Line_map" name="Line_map">
  99. </map>
  100. </div></div>
  101. <table class="memberdecls">
  102. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  103. Métodos públicos</h2></td></tr>
  104. <tr class="memitem:a4d475f9d634f50933ca84e25d7cf32f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d475f9d634f50933ca84e25d7cf32f9"></a>
  105. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a> (QWidget *parent=0)</td></tr>
  106. <tr class="memdesc:a4d475f9d634f50933ca84e25d7cf32f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor que ajusta las coordenadas a 0, el color y el ancho del boligrafo a negro y 1 respectivamente. <br /></td></tr>
  107. <tr class="separator:a4d475f9d634f50933ca84e25d7cf32f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  109. <tr class="memdesc:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor de una linea, especificando las coordenadas (fromX,fromY) y (toX,toY) <a href="#a37f70dab8d5cc7560e6362093a3aa1b9">Más...</a><br /></td></tr>
  110. <tr class="separator:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a742b2aea487313953635d1e504c6b866"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  112. <tr class="memdesc:a742b2aea487313953635d1e504c6b866"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor de una linea, especificando la coordenada (fromX, fromY) and el largo (length) y el angulo (angle). <a href="#a742b2aea487313953635d1e504c6b866">Más...</a><br /></td></tr>
  113. <tr class="separator:a742b2aea487313953635d1e504c6b866"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:ac1475ffee823a7c05b2ac91bfe61596d"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  115. <tr class="memdesc:ac1475ffee823a7c05b2ac91bfe61596d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajustador de las coordenadas de la linea. <a href="#ac1475ffee823a7c05b2ac91bfe61596d">Más...</a><br /></td></tr>
  116. <tr class="separator:ac1475ffee823a7c05b2ac91bfe61596d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:ac5b6d8e786cf3820fa36b8bda7130823"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">setpenColor</a> (QColor c)</td></tr>
  118. <tr class="memdesc:ac5b6d8e786cf3820fa36b8bda7130823"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajustador del color del boligrafo. <a href="#ac5b6d8e786cf3820fa36b8bda7130823">Más...</a><br /></td></tr>
  119. <tr class="separator:ac5b6d8e786cf3820fa36b8bda7130823"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a346d88820371b5a4710eed8a638fc451"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a346d88820371b5a4710eed8a638fc451">setPenWidth</a> (int w)</td></tr>
  121. <tr class="memdesc:a346d88820371b5a4710eed8a638fc451"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajustador del ancho del boligrafo. <a href="#a346d88820371b5a4710eed8a638fc451">Más...</a><br /></td></tr>
  122. <tr class="separator:a346d88820371b5a4710eed8a638fc451"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a0e23ee7edc154bd73fefab4d88cae150"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">getX0</a> ()</td></tr>
  124. <tr class="memdesc:a0e23ee7edc154bd73fefab4d88cae150"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la coordenada inicial x. <a href="#a0e23ee7edc154bd73fefab4d88cae150">Más...</a><br /></td></tr>
  125. <tr class="separator:a0e23ee7edc154bd73fefab4d88cae150"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a971146fd8bbf711123f03e45daf923c9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a971146fd8bbf711123f03e45daf923c9">getY0</a> ()</td></tr>
  127. <tr class="memdesc:a971146fd8bbf711123f03e45daf923c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la coordenada inicial y. <a href="#a971146fd8bbf711123f03e45daf923c9">Más...</a><br /></td></tr>
  128. <tr class="separator:a971146fd8bbf711123f03e45daf923c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a1f51d8df03219f5f63d656bc0e9b2830"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">getX1</a> ()</td></tr>
  130. <tr class="memdesc:a1f51d8df03219f5f63d656bc0e9b2830"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la coordenada final x. <a href="#a1f51d8df03219f5f63d656bc0e9b2830">Más...</a><br /></td></tr>
  131. <tr class="separator:a1f51d8df03219f5f63d656bc0e9b2830"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">getY1</a> ()</td></tr>
  133. <tr class="memdesc:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la coordenada final y. <a href="#a9cc398fdcf93212a3e4db28ac26a88a9">Más...</a><br /></td></tr>
  134. <tr class="separator:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. </table><table class="memberdecls">
  136. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  137. Métodos protegidos</h2></td></tr>
  138. <tr class="memitem:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e1f30fa9d7375fd67a2b4cf5a1b6a76"></a>
  139. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">paintEvent</a> (QPaintEvent *)</td></tr>
  140. <tr class="memdesc:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="mdescLeft">&#160;</td><td class="mdescRight">La funcion para el evento de pintar es invocada automaticamente cada ves que evento de repintar ocurre. <br /></td></tr>
  141. <tr class="separator:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. </table><table class="memberdecls">
  143. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  144. Atributos privados</h2></td></tr>
  145. <tr class="memitem:a647f6f5c0e2b197e3671f8bdb9ff64a2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">x0</a></td></tr>
  146. <tr class="separator:a647f6f5c0e2b197e3671f8bdb9ff64a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a8e276229892969c7d82f56581e0c168b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a8e276229892969c7d82f56581e0c168b">y0</a></td></tr>
  148. <tr class="separator:a8e276229892969c7d82f56581e0c168b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a1c37aeef714f6c96454c2a9a2dadb69a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">x1</a></td></tr>
  150. <tr class="separator:a1c37aeef714f6c96454c2a9a2dadb69a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a850c96af61bd595a68b5e867540204f1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a850c96af61bd595a68b5e867540204f1">y1</a></td></tr>
  152. <tr class="separator:a850c96af61bd595a68b5e867540204f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:a4fc1d856f822dd0b88676e6c22a65f14"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">penWidth</a></td></tr>
  154. <tr class="separator:a4fc1d856f822dd0b88676e6c22a65f14"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:a8778d952d4d2867bd2f31e5857c368b4"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">penColor</a></td></tr>
  156. <tr class="separator:a8778d952d4d2867bd2f31e5857c368b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. </table>
  158. <a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
  159. <div class="textblock"><p>Una clase para describir lineas </p>
  160. </div><h2 class="groupheader">Documentación del constructor y destructor</h2>
  161. <a class="anchor" id="a37f70dab8d5cc7560e6362093a3aa1b9"></a>
  162. <div class="memitem">
  163. <div class="memproto">
  164. <table class="memname">
  165. <tr>
  166. <td class="memname">Line::Line </td>
  167. <td>(</td>
  168. <td class="paramtype">int&#160;</td>
  169. <td class="paramname"><em>fromX</em>, </td>
  170. </tr>
  171. <tr>
  172. <td class="paramkey"></td>
  173. <td></td>
  174. <td class="paramtype">int&#160;</td>
  175. <td class="paramname"><em>fromY</em>, </td>
  176. </tr>
  177. <tr>
  178. <td class="paramkey"></td>
  179. <td></td>
  180. <td class="paramtype">int&#160;</td>
  181. <td class="paramname"><em>toX</em>, </td>
  182. </tr>
  183. <tr>
  184. <td class="paramkey"></td>
  185. <td></td>
  186. <td class="paramtype">int&#160;</td>
  187. <td class="paramname"><em>toY</em>, </td>
  188. </tr>
  189. <tr>
  190. <td class="paramkey"></td>
  191. <td></td>
  192. <td class="paramtype">int&#160;</td>
  193. <td class="paramname"><em>w</em>, </td>
  194. </tr>
  195. <tr>
  196. <td class="paramkey"></td>
  197. <td></td>
  198. <td class="paramtype">QColor&#160;</td>
  199. <td class="paramname"><em>c</em>, </td>
  200. </tr>
  201. <tr>
  202. <td class="paramkey"></td>
  203. <td></td>
  204. <td class="paramtype">QWidget *&#160;</td>
  205. <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
  206. </tr>
  207. <tr>
  208. <td></td>
  209. <td>)</td>
  210. <td></td><td></td>
  211. </tr>
  212. </table>
  213. </div><div class="memdoc">
  214. <p>Constructor de una linea, especificando las coordenadas (fromX,fromY) y (toX,toY) </p>
  215. <dl class="params"><dt>Parámetros</dt><dd>
  216. <table class="params">
  217. <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
  218. <tr><td class="paramname">fromY</td><td>coordenada y inicial </td></tr>
  219. <tr><td class="paramname">toX</td><td>coordenada x final </td></tr>
  220. <tr><td class="paramname">toY</td><td>end coordenada y final </td></tr>
  221. <tr><td class="paramname">w</td><td>ancho del boligrafo </td></tr>
  222. <tr><td class="paramname">c</td><td>color de la linea. </td></tr>
  223. <tr><td class="paramname">parent</td><td>parent of this line </td></tr>
  224. </table>
  225. </dd>
  226. </dl>
  227. </div>
  228. </div>
  229. <a class="anchor" id="a742b2aea487313953635d1e504c6b866"></a>
  230. <div class="memitem">
  231. <div class="memproto">
  232. <table class="memname">
  233. <tr>
  234. <td class="memname">Line::Line </td>
  235. <td>(</td>
  236. <td class="paramtype">int&#160;</td>
  237. <td class="paramname"><em>fromX</em>, </td>
  238. </tr>
  239. <tr>
  240. <td class="paramkey"></td>
  241. <td></td>
  242. <td class="paramtype">int&#160;</td>
  243. <td class="paramname"><em>fromY</em>, </td>
  244. </tr>
  245. <tr>
  246. <td class="paramkey"></td>
  247. <td></td>
  248. <td class="paramtype">int&#160;</td>
  249. <td class="paramname"><em>length</em>, </td>
  250. </tr>
  251. <tr>
  252. <td class="paramkey"></td>
  253. <td></td>
  254. <td class="paramtype">double&#160;</td>
  255. <td class="paramname"><em>angle</em>, </td>
  256. </tr>
  257. <tr>
  258. <td class="paramkey"></td>
  259. <td></td>
  260. <td class="paramtype">int&#160;</td>
  261. <td class="paramname"><em>w</em>, </td>
  262. </tr>
  263. <tr>
  264. <td class="paramkey"></td>
  265. <td></td>
  266. <td class="paramtype">QColor&#160;</td>
  267. <td class="paramname"><em>c</em>, </td>
  268. </tr>
  269. <tr>
  270. <td class="paramkey"></td>
  271. <td></td>
  272. <td class="paramtype">QWidget *&#160;</td>
  273. <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
  274. </tr>
  275. <tr>
  276. <td></td>
  277. <td>)</td>
  278. <td></td><td></td>
  279. </tr>
  280. </table>
  281. </div><div class="memdoc">
  282. <p>Constructor de una linea, especificando la coordenada (fromX, fromY) and el largo (length) y el angulo (angle). </p>
  283. <dl class="params"><dt>Parámetros</dt><dd>
  284. <table class="params">
  285. <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
  286. <tr><td class="paramname">fromY</td><td>coordenada y inicia </td></tr>
  287. <tr><td class="paramname">length</td><td>largo de la linea </td></tr>
  288. <tr><td class="paramname">angle</td><td>angulo de la linea </td></tr>
  289. <tr><td class="paramname">w</td><td>ancho de la linea </td></tr>
  290. <tr><td class="paramname">c</td><td>color de la linea </td></tr>
  291. <tr><td class="paramname">parent</td><td>padre de esta linea </td></tr>
  292. </table>
  293. </dd>
  294. </dl>
  295. </div>
  296. </div>
  297. <h2 class="groupheader">Documentación de las funciones miembro</h2>
  298. <a class="anchor" id="a0e23ee7edc154bd73fefab4d88cae150"></a>
  299. <div class="memitem">
  300. <div class="memproto">
  301. <table class="memname">
  302. <tr>
  303. <td class="memname">int Line::getX0 </td>
  304. <td>(</td>
  305. <td class="paramname"></td><td>)</td>
  306. <td></td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <p>Devuelve la coordenada inicial x. </p>
  311. <dl class="section return"><dt>Devuelve</dt><dd>coordenada inicial x </dd></dl>
  312. </div>
  313. </div>
  314. <a class="anchor" id="a1f51d8df03219f5f63d656bc0e9b2830"></a>
  315. <div class="memitem">
  316. <div class="memproto">
  317. <table class="memname">
  318. <tr>
  319. <td class="memname">int Line::getX1 </td>
  320. <td>(</td>
  321. <td class="paramname"></td><td>)</td>
  322. <td></td>
  323. </tr>
  324. </table>
  325. </div><div class="memdoc">
  326. <p>Devuelve la coordenada final x. </p>
  327. <dl class="section return"><dt>Devuelve</dt><dd>coordenada final x. </dd></dl>
  328. </div>
  329. </div>
  330. <a class="anchor" id="a971146fd8bbf711123f03e45daf923c9"></a>
  331. <div class="memitem">
  332. <div class="memproto">
  333. <table class="memname">
  334. <tr>
  335. <td class="memname">int Line::getY0 </td>
  336. <td>(</td>
  337. <td class="paramname"></td><td>)</td>
  338. <td></td>
  339. </tr>
  340. </table>
  341. </div><div class="memdoc">
  342. <p>Devuelve la coordenada inicial y. </p>
  343. <dl class="section return"><dt>Devuelve</dt><dd>coordenada inicial y </dd></dl>
  344. </div>
  345. </div>
  346. <a class="anchor" id="a9cc398fdcf93212a3e4db28ac26a88a9"></a>
  347. <div class="memitem">
  348. <div class="memproto">
  349. <table class="memname">
  350. <tr>
  351. <td class="memname">int Line::getY1 </td>
  352. <td>(</td>
  353. <td class="paramname"></td><td>)</td>
  354. <td></td>
  355. </tr>
  356. </table>
  357. </div><div class="memdoc">
  358. <p>Devuelve la coordenada final y. </p>
  359. <dl class="section return"><dt>Devuelve</dt><dd>coordenada final y </dd></dl>
  360. </div>
  361. </div>
  362. <a class="anchor" id="ac1475ffee823a7c05b2ac91bfe61596d"></a>
  363. <div class="memitem">
  364. <div class="memproto">
  365. <table class="memname">
  366. <tr>
  367. <td class="memname">void Line::setCoords </td>
  368. <td>(</td>
  369. <td class="paramtype">int&#160;</td>
  370. <td class="paramname"><em>fromX</em>, </td>
  371. </tr>
  372. <tr>
  373. <td class="paramkey"></td>
  374. <td></td>
  375. <td class="paramtype">int&#160;</td>
  376. <td class="paramname"><em>fromY</em>, </td>
  377. </tr>
  378. <tr>
  379. <td class="paramkey"></td>
  380. <td></td>
  381. <td class="paramtype">int&#160;</td>
  382. <td class="paramname"><em>toX</em>, </td>
  383. </tr>
  384. <tr>
  385. <td class="paramkey"></td>
  386. <td></td>
  387. <td class="paramtype">int&#160;</td>
  388. <td class="paramname"><em>toY</em>&#160;</td>
  389. </tr>
  390. <tr>
  391. <td></td>
  392. <td>)</td>
  393. <td></td><td></td>
  394. </tr>
  395. </table>
  396. </div><div class="memdoc">
  397. <p>Ajustador de las coordenadas de la linea. </p>
  398. <dl class="params"><dt>Parámetros</dt><dd>
  399. <table class="params">
  400. <tr><td class="paramname">fromX</td><td>coordenada x inicial </td></tr>
  401. <tr><td class="paramname">fromY</td><td>coordenada y inicial </td></tr>
  402. <tr><td class="paramname">toX</td><td>coordenada x final </td></tr>
  403. <tr><td class="paramname">toY</td><td>end coordenada y final </td></tr>
  404. </table>
  405. </dd>
  406. </dl>
  407. </div>
  408. </div>
  409. <a class="anchor" id="ac5b6d8e786cf3820fa36b8bda7130823"></a>
  410. <div class="memitem">
  411. <div class="memproto">
  412. <table class="memname">
  413. <tr>
  414. <td class="memname">void Line::setpenColor </td>
  415. <td>(</td>
  416. <td class="paramtype">QColor&#160;</td>
  417. <td class="paramname"><em>c</em></td><td>)</td>
  418. <td></td>
  419. </tr>
  420. </table>
  421. </div><div class="memdoc">
  422. <p>Ajustador del color del boligrafo. </p>
  423. <dl class="params"><dt>Parámetros</dt><dd>
  424. <table class="params">
  425. <tr><td class="paramname">c</td><td>color de la linea </td></tr>
  426. </table>
  427. </dd>
  428. </dl>
  429. </div>
  430. </div>
  431. <a class="anchor" id="a346d88820371b5a4710eed8a638fc451"></a>
  432. <div class="memitem">
  433. <div class="memproto">
  434. <table class="memname">
  435. <tr>
  436. <td class="memname">void Line::setPenWidth </td>
  437. <td>(</td>
  438. <td class="paramtype">int&#160;</td>
  439. <td class="paramname"><em>w</em></td><td>)</td>
  440. <td></td>
  441. </tr>
  442. </table>
  443. </div><div class="memdoc">
  444. <p>Ajustador del ancho del boligrafo. </p>
  445. <dl class="params"><dt>Parámetros</dt><dd>
  446. <table class="params">
  447. <tr><td class="paramname">w</td><td>ancho de la linea </td></tr>
  448. </table>
  449. </dd>
  450. </dl>
  451. </div>
  452. </div>
  453. <h2 class="groupheader">Documentación de los datos miembro</h2>
  454. <a class="anchor" id="a8778d952d4d2867bd2f31e5857c368b4"></a>
  455. <div class="memitem">
  456. <div class="memproto">
  457. <table class="mlabels">
  458. <tr>
  459. <td class="mlabels-left">
  460. <table class="memname">
  461. <tr>
  462. <td class="memname">QColor Line::penColor</td>
  463. </tr>
  464. </table>
  465. </td>
  466. <td class="mlabels-right">
  467. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  468. </tr>
  469. </table>
  470. </div><div class="memdoc">
  471. <p>pen color / color del boligrafo </p>
  472. </div>
  473. </div>
  474. <a class="anchor" id="a4fc1d856f822dd0b88676e6c22a65f14"></a>
  475. <div class="memitem">
  476. <div class="memproto">
  477. <table class="mlabels">
  478. <tr>
  479. <td class="mlabels-left">
  480. <table class="memname">
  481. <tr>
  482. <td class="memname">int Line::penWidth</td>
  483. </tr>
  484. </table>
  485. </td>
  486. <td class="mlabels-right">
  487. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  488. </tr>
  489. </table>
  490. </div><div class="memdoc">
  491. <p>pen width / ancho del boligrafo </p>
  492. </div>
  493. </div>
  494. <a class="anchor" id="a647f6f5c0e2b197e3671f8bdb9ff64a2"></a>
  495. <div class="memitem">
  496. <div class="memproto">
  497. <table class="mlabels">
  498. <tr>
  499. <td class="mlabels-left">
  500. <table class="memname">
  501. <tr>
  502. <td class="memname">int Line::x0</td>
  503. </tr>
  504. </table>
  505. </td>
  506. <td class="mlabels-right">
  507. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  508. </tr>
  509. </table>
  510. </div><div class="memdoc">
  511. <p>initial coord x / coordenada inicial x </p>
  512. </div>
  513. </div>
  514. <a class="anchor" id="a1c37aeef714f6c96454c2a9a2dadb69a"></a>
  515. <div class="memitem">
  516. <div class="memproto">
  517. <table class="mlabels">
  518. <tr>
  519. <td class="mlabels-left">
  520. <table class="memname">
  521. <tr>
  522. <td class="memname">int Line::x1</td>
  523. </tr>
  524. </table>
  525. </td>
  526. <td class="mlabels-right">
  527. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  528. </tr>
  529. </table>
  530. </div><div class="memdoc">
  531. <p>ending coord x / coordenada final x </p>
  532. </div>
  533. </div>
  534. <a class="anchor" id="a8e276229892969c7d82f56581e0c168b"></a>
  535. <div class="memitem">
  536. <div class="memproto">
  537. <table class="mlabels">
  538. <tr>
  539. <td class="mlabels-left">
  540. <table class="memname">
  541. <tr>
  542. <td class="memname">int Line::y0</td>
  543. </tr>
  544. </table>
  545. </td>
  546. <td class="mlabels-right">
  547. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  548. </tr>
  549. </table>
  550. </div><div class="memdoc">
  551. <p>initial coord y / coordenada inicial y </p>
  552. </div>
  553. </div>
  554. <a class="anchor" id="a850c96af61bd595a68b5e867540204f1"></a>
  555. <div class="memitem">
  556. <div class="memproto">
  557. <table class="mlabels">
  558. <tr>
  559. <td class="mlabels-left">
  560. <table class="memname">
  561. <tr>
  562. <td class="memname">int Line::y1</td>
  563. </tr>
  564. </table>
  565. </td>
  566. <td class="mlabels-right">
  567. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  568. </tr>
  569. </table>
  570. </div><div class="memdoc">
  571. <p>ending coord y / coordenada final y </p>
  572. </div>
  573. </div>
  574. <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
  575. <li><a class="el" href="line_8h_source.html">line.h</a></li>
  576. <li>line.cpp</li>
  577. </ul>
  578. </div><!-- contents -->
  579. <!-- start footer part -->
  580. <hr class="footer"/><address class="footer"><small>
  581. Generado el Miércoles, 10 de Junio de 2015 09:57:57 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  582. <img class="footer" src="doxygen.png" alt="doxygen"/>
  583. </a> 1.8.9.1
  584. </small></address>
  585. </body>
  586. </html>