diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-01 13:06:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-02 18:02:36 +0200 |
commit | f9de5f7ea0130a9bad889f9702ac311d6be3deb6 (patch) | |
tree | 06e8d7e0f662d2ef932ec36945321aa0ee8d279c /vcl/inc/headless/svpgdi.hxx | |
parent | 40b7062ffa972ae0a8f51da0b257becfab749d53 (diff) |
share the cairo clipping code
Change-Id: I2dc8f55fd2612b5fc4440b46ee3184341fd56859
Reviewed-on: https://gerrit.libreoffice.org/55180
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/headless/svpgdi.hxx')
-rw-r--r-- | vcl/inc/headless/svpgdi.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx index 37ae2822bf53..c5a0639498ca 100644 --- a/vcl/inc/headless/svpgdi.hxx +++ b/vcl/inc/headless/svpgdi.hxx @@ -96,6 +96,7 @@ public: cairo_surface_t* getSurface() const { return m_pSurface; } static cairo_user_data_key_t* getDamageKey(); + static void clipRegion(cairo_t* cr, const vcl::Region& rClipRegion); static basegfx::B2DRange drawPolyLine( cairo_t* cr, const Color& rLineColor, |