diff options
author | crupest <crupest@outlook.com> | 2022-02-21 18:44:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-21 18:44:40 +0800 |
commit | ced1a63686e6c64cb574d74a34d1bbd07d0a668e (patch) | |
tree | 4082e4689e5e7cede8d59a0538d0f1ae37064acb /src/osx/graphics/quartz/Painter.cpp | |
parent | 6b00fca7c662301bf657a99cb1e89f21541a46bc (diff) | |
download | cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.tar.gz cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.tar.bz2 cru-ced1a63686e6c64cb574d74a34d1bbd07d0a668e.zip |
...
Diffstat (limited to 'src/osx/graphics/quartz/Painter.cpp')
-rw-r--r-- | src/osx/graphics/quartz/Painter.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/osx/graphics/quartz/Painter.cpp b/src/osx/graphics/quartz/Painter.cpp index d74e456b..a8c3715a 100644 --- a/src/osx/graphics/quartz/Painter.cpp +++ b/src/osx/graphics/quartz/Painter.cpp @@ -1,6 +1,5 @@ #include "cru/osx/graphics/quartz/Painter.h" -#include "cru/common/Logger.h" #include "cru/osx/graphics/quartz/Brush.h" #include "cru/osx/graphics/quartz/Convert.h" #include "cru/osx/graphics/quartz/Geometry.h" @@ -27,10 +26,6 @@ QuartzCGContextPainter::QuartzCGContextPainter( transform_ = Matrix::Scale(1, -1) * Matrix::Translation(0, size.height); CGContextConcatCTM(cg_context_, Convert(transform_)); - - // log::TagDebug(log_tag, - // u"Created with CGContext: {}, Auto Release: {}, Size: {}.", - // cg_context, auto_release, size_); } QuartzCGContextPainter::~QuartzCGContextPainter() { @@ -61,8 +56,6 @@ void QuartzCGContextPainter::Clear(const Color& color) { color.GetFloatGreen(), color.GetFloatBlue(), color.GetFloatAlpha()); CGContextFillRect(cg_context_, Convert(Rect{Point{}, size_})); - - // log::TagDebug(log_tag, u"Clear with color {}, size {}.", color, size_); } void QuartzCGContextPainter::DrawLine(const Point& start, const Point& end, @@ -225,7 +218,6 @@ void QuartzCGContextPainter::DoEndDraw() { if (cg_context_) { CGContextFlush(cg_context_); CGContextSynchronize(cg_context_); - // log::TagDebug(log_tag, u"End draw and flush."); on_end_draw_(this); } |