|
Pebble Foundation Classes
0.2.0
C++ for Pebble
|
#include <pebble_graphics_types.hpp>


Public Member Functions | |
| GPoint () | |
| Constructs a new GPoint. | |
| GPoint (const ::GPoint &point) | |
| Converts from a Pebble GPoint. | |
| GPoint (int16_t x, int16_t y) | |
| operator const ::GPoint * () const | |
| Implicitly converts this instance to Pebble GPoint*. | |
| operator::GPoint * () | |
| bool | operator== (const ::GPoint &point) const |
| bool | operator!= (const ::GPoint &point) const |
Additional Inherited Members | |
Public Attributes inherited from GPoint | |
| int16_t | x |
| The x-coordinate. | |
| int16_t | y |
| The y-coordinate. | |
Represents a point in a 2-dimensional coordinate system.
|
inline |
Constructs a GPoint from X and Y coordinates
| x | The X coordinate |
| y | The Y coordinate |
|
inline |
Tests whether 2 points are not equal.
| point | The second point |
true if both points are not equal, false if not.
|
inline |
Tests whether 2 points are equal.
| point | The second point |
true if both points are equal, false if not.