deds_rectatom.htm 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
  2. <html><head>
  3. <title>rectatom</title>
  4. </head><body>
  5. <p>[<a href="mxdoc.htm">mainpage</a>]
  6. [<a href="tags.htm">tags</a>]<br>
  7. <h1><a name="rectatom">module: rectatom</a></h1><p><b>Rectangles with reference counting.</b><p>
  8. This module contains code for MX_RECTATOM which is a MX_RECT with
  9. reference counting. The reference counting is done my deriving MX_RECTATOM
  10. from MX_ATOM. Additional macros exist for reading rectangle positioning and
  11. dimensions.
  12. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p>Part of the <a href="deds.htm">deds</a> library.<ul><li>
  13. <a name="MX_RECTATOM_DATA"><code>MX_RECTATOM_DATA</code></a>
  14. <p>
  15. <p><b>MX_RECT with reference counting </b><p>
  16. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  17. <li>
  18. <a name=" define MXRECT(b)"><code># define MXRECT(b)</code></a>
  19. <p>
  20. <p><b>Typesafe conversion between a class derived from MX_RECTATOM to a MX_RECT. </b><p>
  21. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  22. <li>
  23. <a name=" define mx_rectatom(r,d,s)"><code># define mx_rectatom(r,d,s)</code></a>
  24. <p>
  25. <p><b>Construct a MX_RECTATOM </b><p>
  26. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  27. <li>
  28. <a name=" define mx_rectatom_place(r, rect)"><code># define mx_rectatom_place(r, rect)</code></a>
  29. <p>
  30. <p><b>Place a MX_RECTAOM at some specific rectangle. </b><p>
  31. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  32. <li>
  33. <a name=" define mx_x1(r)"><code># define mx_x1(r)</code></a>
  34. <p>
  35. <p><b>MX_RECTATOM x1 value. </b><p>
  36. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  37. <li>
  38. <a name=" define mx_y1(r)"><code># define mx_y1(r)</code></a>
  39. <p>
  40. <p><b>MX_RECTATOM y1 value. </b><p>
  41. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  42. <li>
  43. <a name=" define mx_x2(r)"><code># define mx_x2(r)</code></a>
  44. <p>
  45. <p><b>MX_RECTATOM x2 value. </b><p>
  46. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  47. <li>
  48. <a name=" define mx_y2(r)"><code># define mx_y2(r)</code></a>
  49. <p>
  50. <p><b>MX_RECTATOM y2 value. </b><p>
  51. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  52. <li>
  53. <a name=" define mx_w(r)"><code># define mx_w(r)</code></a>
  54. <p>
  55. <p><b>MX_RECTATOM width. </b><p>
  56. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  57. <li>
  58. <a name=" define mx_h(r)"><code># define mx_h(r)</code></a>
  59. <p>
  60. <p><b>MX_RECTATOM height. </b><p>
  61. (<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<p></li>
  62. <li>
  63. <a name="void* mx__rectatom(MX_RECTATOM_DATA* rectatom, MX__ATOM_DESTRUCT destruct, size_t size)"><code>void* mx__rectatom(MX_RECTATOM_DATA* rectatom, MX__ATOM_DESTRUCT destruct, size_t size)</code></a>
  64. <p>
  65. <p><b>Construct a MX_RECTATOM. </b><p>
  66. (<a href="../include/deds/rectatom.c">../include/deds/rectatom.c</a>)<p></li>
  67. <li>
  68. <a name="void mx__rectatom_place(MX_RECTATOM_DATA* rectatom, const MX_RECT* rrect)"><code>void mx__rectatom_place(MX_RECTATOM_DATA* rectatom, const MX_RECT* rrect)</code></a>
  69. <p>
  70. <p><b>Place a MX_RECTATOM</b><p>
  71. This function places a MX_RECTATOM at a specified area.
  72. (<a href="../include/deds/rectatom.c">../include/deds/rectatom.c</a>)<p></li>
  73. </ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb 4 15:16:26 2007
  74. </body></html>