KHTML
Go to the documentation of this file.
31 #include <wtf/Platform.h>
34 typedef struct CGPoint CGPoint;
38 #ifdef NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES
39 typedef struct CGPoint NSPoint;
41 typedef struct _NSPoint NSPoint;
58 class AffineTransform;
69 float x()
const {
return m_x; }
70 float y()
const {
return m_y; }
74 void move(
float dx,
float dy) { m_x += dx; m_y += dy; }
78 operator CGPoint()
const;
81 #if PLATFORM(MAC) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES)
83 operator NSPoint()
const;
88 operator QPointF()
const;
92 operator TPoint()
const;
132 return a.
x() == b.
x() && a.
y() == b.
y();
137 return a.
x() != b.
x() || a.
y() != b.
y();
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Sep 25 2014 04:21:33 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.