OpenCPN Partial API docs
Loading...
Searching...
No Matches
printout_chart.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Copyright (C) 2010 by David S. Register *
3
* Copyright (C) 2025 by NoCodeHummel *
4
* *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
* *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
14
* *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; if not, see <https://www.gnu.org/licenses/>. *
17
**************************************************************************/
18
24
25
#ifndef PRINTOUT_CHART_H
26
#define PRINTOUT_CHART_H
27
28
#include "
printout_base.h
"
29
30
class
ChartPrintout :
public
BasePrintout {
31
public
:
32
ChartPrintout() : BasePrintout(_(
"Chart Print"
).ToStdString()) {};
33
39
void
GenerateGLbmp
();
40
41
private
:
42
wxBitmap m_gl_bmp;
43
44
void
DrawPage(wxDC* dc,
int
page)
override
;
45
};
46
47
#endif
// PRINTOUT_CHART_H
ChartPrintout::GenerateGLbmp
void GenerateGLbmp()
In OpenGL mode, make the bitmap capture of the screen before the print method starts as to be sure th...
Definition
printout_chart.cpp:98
printout_base.h
Print support abstract base class.
gui
include
gui
printout_chart.h
Generated on
for OpenCPN Partial API docs by
1.15.0