5 #ifndef __gdiplusgraphicspath__ 6 #define __gdiplusgraphicspath__ 8 #include "../../cgraphicspath.h" 14 class LinearGradientBrush;
21 class GdiplusGraphicsPath :
public CGraphicsPath
24 GdiplusGraphicsPath ();
25 GdiplusGraphicsPath (
const GdiPlusFont* font, UTF8StringPtr text);
26 ~GdiplusGraphicsPath () noexcept;
28 Gdiplus::GraphicsPath* getGraphicsPath ();
30 CGradient* createGradient (
double color1Start,
double color2Start, const CColor& color1, const CColor& color2) override;
31 void dirty () override;
32 bool hitTest (const CPoint& p,
bool evenOddFilled = false, CGraphicsTransform* transform =
nullptr) override;
33 CPoint getCurrentPosition () override;
34 CRect getBoundingBox () override;
36 Gdiplus::GraphicsPath* platformPath;
43 #endif // __gdiplusgraphicspath__ Definition: customcontrols.cpp:8