From 397843cda9e4161d3e92d8797f8012f478ce64f0 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 26 Oct 2021 16:07:53 +0800 Subject: ... --- include/cru/osx/graphics/quartz/Painter.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/cru/osx/graphics') diff --git a/include/cru/osx/graphics/quartz/Painter.hpp b/include/cru/osx/graphics/quartz/Painter.hpp index e9b3365d..0889d413 100644 --- a/include/cru/osx/graphics/quartz/Painter.hpp +++ b/include/cru/osx/graphics/quartz/Painter.hpp @@ -38,6 +38,10 @@ class QuartzCGContextPainter : public OsxQuartzResource, void StrokeRectangle(const Rect& rectangle, IBrush* brush, float width) override; void FillRectangle(const Rect& rectangle, IBrush* brush) override; + void StrokeEllipse(const Rect& outline_rect, IBrush* brush, + float width) override; + void FillEllipse(const Rect& outline_rect, IBrush* brush, + float width) override; void StrokeGeometry(IGeometry* geometry, IBrush* brush, float width) override; void FillGeometry(IGeometry* geometry, IBrush* brush) override; @@ -56,6 +60,8 @@ class QuartzCGContextPainter : public OsxQuartzResource, void PopState() override; private: + void SetLineWidth(float width); + void DoEndDraw(); void Validate(); -- cgit v1.2.3