diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-11-01 13:55:41 +0100 |
---|---|---|
committer | Filipe Coelho <falktx@falktx.com> | 2019-01-06 19:10:11 +0100 |
commit | d80c799b8cba2765c78ac6cee867f5c4fce869ac (patch) | |
tree | aa9201ce5504d1be5fd10aeb4833f2c934f70753 /dgl/Widget.hpp | |
parent | aeea76d93f9ed2397c9c86e9db72afedfa779f29 (diff) |
software rendering with Cairo
Diffstat (limited to 'dgl/Widget.hpp')
-rw-r--r-- | dgl/Widget.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dgl/Widget.hpp b/dgl/Widget.hpp index 73d2d6e9..bebe5ed7 100644 --- a/dgl/Widget.hpp +++ b/dgl/Widget.hpp @@ -312,6 +312,10 @@ public: */ Window& getParentWindow() const noexcept; +#if defined(HAVE_DCAIRO) + cairo_t* getGraphics() const noexcept; +#endif + /** Check if this widget contains the point defined by @a x and @a y. */ |