summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-01 12:38:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-02 14:57:52 +0000
commit5a8ec16bf5b51af826ed98644021cd2290747f6f (patch)
tree0f5ee5859c77824cca9beea225683b0112d3e38d /vcl/inc
parent1a1ee2f6e5b8215ad5f7bcdcb13f5fdce5784b2e (diff)
move getCairoContext from X11CairoTextRender to X11SalGraphics
and simplify a little bit Change-Id: I5a2faeb7e22ee5a0eaa4f05bc73fd92cbe2f5083
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/salgdi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h
index d2cee20f7028..697a7cace3af 100644
--- a/vcl/inc/unx/salgdi.h
+++ b/vcl/inc/unx/salgdi.h
@@ -283,6 +283,10 @@ public:
*/
void YieldGraphicsExpose();
+ cairo_t* getCairoContext();
+ void releaseCairoContext(cairo_t* cr);
+
+
// do XCopyArea or XGet/PutImage depending on screen numbers
// signature is like XCopyArea with screen numbers added
static void CopyScreenArea(