diff options
author | crupest <crupest@outlook.com> | 2022-06-08 16:45:30 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-06-08 16:45:30 +0800 |
commit | 0888ee514af093bcfa17de6efc4d3693a34de52d (patch) | |
tree | f97dbcde81b0c644f8a0ac77e173da2a77f6aea9 /include | |
parent | 1e5e914f40503d2a936d1b7db56fcff6d1f8514e (diff) | |
download | cru-0888ee514af093bcfa17de6efc4d3693a34de52d.tar.gz cru-0888ee514af093bcfa17de6efc4d3693a34de52d.tar.bz2 cru-0888ee514af093bcfa17de6efc4d3693a34de52d.zip |
...
Diffstat (limited to 'include')
-rw-r--r-- | include/cru/platform/graphics/cairo/CairoPainter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/cairo/CairoPainter.h b/include/cru/platform/graphics/cairo/CairoPainter.h index 3f6e6e24..95b09d2a 100644 --- a/include/cru/platform/graphics/cairo/CairoPainter.h +++ b/include/cru/platform/graphics/cairo/CairoPainter.h @@ -45,6 +45,10 @@ class CairoPainter : public CairoResource, public virtual IPainter { void EndDraw() override; private: + void CheckValidation(); + + bool valid_ = true; + cairo_t* cairo_; bool auto_release_; }; |