KHTML
Go to the documentation of this file.
30 #include <wtf/Platform.h>
33 typedef struct CGPoint CGPoint;
37 #ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
38 typedef struct CGPoint NSPoint;
40 typedef struct _NSPoint NSPoint;
45 typedef struct tagPOINT POINT;
46 typedef struct tagPOINTS POINTS;
52 typedef struct _GdkPoint GdkPoint;
69 int x()
const {
return m_x; }
70 int y()
const {
return m_y; }
75 void move(
int dx,
int dy) { m_x += dx; m_y += dy; }
79 operator CGPoint()
const;
82 #if PLATFORM(MAC) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES)
84 operator NSPoint()
const;
89 operator POINT()
const;
91 operator POINTS()
const;
97 operator GdkPoint()
const;
101 operator TPoint()
const;
106 operator wxPoint()
const;
142 return a.
x() == b.
x() && a.
y() == b.
y();
147 return a.
x() != b.
x() || a.
y() != b.
y();
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 22:07:26 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.