Branch libreoffice-5-0-4
[LibreOffice.git] / canvas / source / opengl / ogl_canvastools.hxx
blob2cd727c6735c75d69a249249ccf43b453f691e2e
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_CANVAS_SOURCE_OPENGL_OGL_CANVASTOOLS_HXX
11 #define INCLUDED_CANVAS_SOURCE_OPENGL_OGL_CANVASTOOLS_HXX
13 #include <sal/config.h>
14 #include <vector>
16 namespace com { namespace sun { namespace star { namespace rendering {
17 struct ARGBColor;
18 }}}}
19 namespace basegfx {
20 class B2DPolyPolygon;
21 class B2DHomMatrix;
24 namespace oglcanvas
26 void renderComplexPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPoly );
27 void renderPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPoly );
28 void setupState( const ::basegfx::B2DHomMatrix& rTransform,
29 unsigned int eSrcBlend,
30 unsigned int eDstBlend,
31 const ::com::sun::star::rendering::ARGBColor& rColor );
33 void renderOSD( const std::vector<double>& rNumbers, double scale );
36 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */