Index: core/include/fxcrt/fx_coordinates.h |
diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h |
index 053d6376894cdcb0e5768c2b5b964f985d8822fd..30770309a0aff60a4f06dee2ccbb0fa51373447f 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(yy) {} |
+ |
+ FX_FLOAT x; |
+ FX_FLOAT y; |
+}; |
+ |
class CFX_FloatRect { |
public: |
CFX_FloatRect() { left = right = bottom = top = 0; } |