LibreOffice Module canvas (master)
1
canvas
source
opengl
ogl_tools.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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
*/
9
10
#pragma once
11
12
#include <
sal/config.h
>
13
#include <epoxy/gl.h>
14
15
namespace
oglcanvas
16
{
17
struct
TransformationPreserver
18
{
19
TransformationPreserver
()
20
{ glPushMatrix(); }
21
22
~TransformationPreserver
()
23
{ glPopMatrix(); }
24
};
25
}
26
27
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
config.h
oglcanvas
Definition:
ogl_bitmapcanvashelper.cxx:20
oglcanvas::TransformationPreserver
Definition:
ogl_tools.hxx:18
oglcanvas::TransformationPreserver::TransformationPreserver
TransformationPreserver()
Definition:
ogl_tools.hxx:19
oglcanvas::TransformationPreserver::~TransformationPreserver
~TransformationPreserver()
Definition:
ogl_tools.hxx:22
Generated on Sun Jul 30 2023 04:34:08 for LibreOffice Module canvas (master) by
1.9.3