diff options
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/platform_canvas_linux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/ext/platform_canvas_linux.h b/skia/ext/platform_canvas_linux.h index 63ffd62..818b70c 100644 --- a/skia/ext/platform_canvas_linux.h +++ b/skia/ext/platform_canvas_linux.h @@ -108,6 +108,10 @@ class CanvasPaintT : public T { return rectangle_.width == 0 || rectangle_.height == 0; } + const GdkRectangle& rectangle() const { + return rectangle_; + } + private: void init(bool opaque) { gdk_window_begin_paint_rect(window_, &rectangle_); |