1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #include <headless/svpcairotextrender.hxx>
11 #include <headless/svpgdi.hxx>
14 SvpCairoTextRender::SvpCairoTextRender(SvpSalGraphics
& rParent
)
19 GlyphCache
& SvpCairoTextRender::getPlatformGlyphCache()
21 return SvpSalGraphics::getPlatformGlyphCache();
24 cairo_t
* SvpCairoTextRender::getCairoContext()
26 return mrParent
.getCairoContext(false);
29 void SvpCairoTextRender::getSurfaceOffset(double& nDX
, double& nDY
)
35 void SvpCairoTextRender::clipRegion(cairo_t
* cr
)
37 mrParent
.clipRegion(cr
);
40 void SvpCairoTextRender::releaseCairoContext(cairo_t
* cr
)
42 mrParent
.releaseCairoContext(cr
, false, basegfx::B2DRange());
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */