diff options
Diffstat (limited to 'core/include/fxcrt')
-rw-r--r-- | core/include/fxcrt/fx_coordinates.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h index 053d637689..4bafb63099 100644 --- a/core/include/fxcrt/fx_coordinates.h +++ b/core/include/fxcrt/fx_coordinates.h @@ -415,6 +415,15 @@ struct FX_SMALL_RECT { int16_t Bottom; }; + +class CFX_FloatPoint { + public: + CFX_FloatPoint(FX_FLOAT xx, FX_FLOAT yy) : x(xx), y(xx) {} + + FX_FLOAT x; + FX_FLOAT y; +}; + class CFX_FloatRect { public: CFX_FloatRect() { left = right = bottom = top = 0; } |