File: classWt_1_1WPointF.html

package info (click to toggle)
witty 3.1.2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 45,512 kB
  • ctags: 35,832
  • sloc: cpp: 69,469; ansic: 66,945; xml: 4,383; sh: 594; perl: 108; makefile: 106
file content (87 lines) | stat: -rw-r--r-- 7,415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WPointF Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WPointF.html">WPointF</a>
  </div>
</div>
<div class="contents">
<h1>Wt::WPointF Class Reference<br>
<small>
[<a class="el" href="group__painting.html">Painting system</a>]</small>
</h1><!-- doxytag: class="Wt::WPointF" -->Utility class that defines a 2D point.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;Wt/WPointF&gt;</code>
<p>

<p>
<a href="classWt_1_1WPointF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cb4536b133ba1a6ec010a7d489ba9d52"></a><!-- doxytag: member="Wt::WPointF::WPointF" ref="cb4536b133ba1a6ec010a7d489ba9d52" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#cb4536b133ba1a6ec010a7d489ba9d52">WPointF</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates point (0, 0). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5287bb6bfa0fa598be6433aca25cbd5e"></a><!-- doxytag: member="Wt::WPointF::WPointF" ref="5287bb6bfa0fa598be6433aca25cbd5e" args="(double x, double y)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#5287bb6bfa0fa598be6433aca25cbd5e">WPointF</a> (double x, double y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a point (x, y). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ccedc0584f923309397c08691094ac26"></a><!-- doxytag: member="Wt::WPointF::WPointF" ref="ccedc0584f923309397c08691094ac26" args="(const WPointF &amp;other)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#ccedc0584f923309397c08691094ac26">WPointF</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;other)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45202fe46ac4cc4383dc2fd2ed184aa2"></a><!-- doxytag: member="Wt::WPointF::WPointF" ref="45202fe46ac4cc4383dc2fd2ed184aa2" args="(const WMouseEvent::Coordinates &amp;other)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#45202fe46ac4cc4383dc2fd2ed184aa2">WPointF</a> (const <a class="el" href="structWt_1_1WMouseEvent_1_1Coordinates.html">WMouseEvent::Coordinates</a> &amp;other)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a point from mouse coordinates. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07f37f26155b5b1d7c44cb4f7c572064"></a><!-- doxytag: member="Wt::WPointF::setX" ref="07f37f26155b5b1d7c44cb4f7c572064" args="(double x)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#07f37f26155b5b1d7c44cb4f7c572064">setX</a> (double x)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the X coordinate. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7910f613cfe0b89caed7b6991ae1e9c"></a><!-- doxytag: member="Wt::WPointF::setY" ref="a7910f613cfe0b89caed7b6991ae1e9c" args="(double y)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#a7910f613cfe0b89caed7b6991ae1e9c">setY</a> (double y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the Y coordinate. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27c5b399724d9e6575d14fa189039c7b"></a><!-- doxytag: member="Wt::WPointF::x" ref="27c5b399724d9e6575d14fa189039c7b" args="() const " -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#27c5b399724d9e6575d14fa189039c7b">x</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the X coordinate. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="707fac2acb24215c90783fb5d1781e80"></a><!-- doxytag: member="Wt::WPointF::y" ref="707fac2acb24215c90783fb5d1781e80" args="() const " -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#707fac2acb24215c90783fb5d1781e80">y</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the Y coordinate. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf34a0e5f35c76c61109fc5d4268fde8"></a><!-- doxytag: member="Wt::WPointF::operator==" ref="cf34a0e5f35c76c61109fc5d4268fde8" args="(const WPointF &amp;other) const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#cf34a0e5f35c76c61109fc5d4268fde8">operator==</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;other) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Comparison operator. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2469e492ddad621c6e8856f8ae9e4069"></a><!-- doxytag: member="Wt::WPointF::operator!=" ref="2469e492ddad621c6e8856f8ae9e4069" args="(const WPointF &amp;other) const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WPointF.html#2469e492ddad621c6e8856f8ae9e4069">operator!=</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &amp;other) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Comparison operator. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Utility class that defines a 2D point. </div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:07 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>