wxRealPoint Class Reference
[Data Structures]

#include <wx/gdicmn.h>


Detailed Description

A wxRealPoint is a useful data structure for graphics operations.

It contains floating point x and y members. See wxPoint for an integer version.

Note that the coordinates stored inside a wxRealPoint object may be negative and that wxRealPoint functions do not perform any check against negative values.

Library:  wxCore
Category:  Data Structures
See also:
wxPoint

Public Member Functions

 wxRealPoint ()
 Initializes to zero the x and y members.
 wxRealPoint (double x, double y)
 Initializes the point with the given coordinates.

Public Attributes

double x
 X coordinate of this point.
double y
 Y coordinate of this point.

List of all members.


Constructor & Destructor Documentation

wxRealPoint::wxRealPoint (  ) 

Initializes to zero the x and y members.

wxRealPoint::wxRealPoint ( double  x,
double  y 
)

Initializes the point with the given coordinates.


Member Data Documentation

X coordinate of this point.

Y coordinate of this point.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



wxWidgets logo

[ top ]