diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-18 13:38:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-18 17:24:03 +0000 |
commit | f59345721b1731c0fd5ed052f2dee99042bd7f4c (patch) | |
tree | 71feccd2b8828d9842086cdb3cb23837af5a12f2 /vcl/unx | |
parent | 8a5069cbaacf8a78ee66d6d8f2a46daefe1bec56 (diff) |
move the cairo resize hack into vcl
Change-Id: Ifd1817a28f4fb7ddcc85447fd3388fd0efd86476
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/gdi/salgdi.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx index 2a76110fe4fa..29366cabe76a 100644 --- a/vcl/unx/generic/gdi/salgdi.cxx +++ b/vcl/unx/generic/gdi/salgdi.cxx @@ -462,6 +462,11 @@ bool X11SalGraphics::SupportsCairo() const return XQueryExtension(pDisplay, "RENDER", &nDummy, &nDummy, &nDummy); } +bool X11SalGraphics::CanResizeCairoSurface() const +{ + return true; +} + // draw a poly-polygon bool X11SalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rOrigPolyPoly, double fTransparency ) { |