![]() |
Mapper
0.9.0
API documentation
|
MapPrinterOptions control how the map is rendered. More...
#include <map_printer.h>
Public Types | |
| enum | MapPrinterMode { Vector, Raster, Separations } |
| Basic modes of printing. More... | |
| enum | ColorMode { DefaultColorMode, DeviceCmyk } |
| Color modes. More... | |
Public Member Functions | |
| MapPrinterOptions (unsigned int scale, int resolution=600, MapPrinterMode mode=Vector) | |
| Constructs new printer options. More... | |
Public Attributes | |
| unsigned int | scale |
| The scale to be used for printing. More... | |
| int | resolution |
| The nominal resolution to be used. More... | |
| MapPrinterMode | mode |
| The mode of printing. More... | |
| ColorMode | color_mode |
| The color mode. More... | |
| bool | show_templates |
| Controls if templates get printed. More... | |
| bool | show_grid |
| Controls if the configured grid is printed. More... | |
| bool | simulate_overprinting |
| Controls if the desktop printing is to simulate spot color printing. More... | |
MapPrinterOptions control how the map is rendered.
| OpenOrienteering::MapPrinterOptions::MapPrinterOptions | ( | unsigned int | scale, |
| int | resolution = 600, |
||
| MapPrinterMode | mode = Vector |
||
| ) |
Constructs new printer options.
The scale, the mode and the resolution are initialized to the given values, all boolean properties are initialized to false.
| ColorMode OpenOrienteering::MapPrinterOptions::color_mode |
The color mode.
| MapPrinterMode OpenOrienteering::MapPrinterOptions::mode |
The mode of printing.
Note that other printing options may be available only in particular modes.
| int OpenOrienteering::MapPrinterOptions::resolution |
The nominal resolution to be used.
| unsigned int OpenOrienteering::MapPrinterOptions::scale |
The scale to be used for printing.
| bool OpenOrienteering::MapPrinterOptions::show_grid |
Controls if the configured grid is printed.
Not available in MapPrinterOptions::Separations mode.
| bool OpenOrienteering::MapPrinterOptions::show_templates |
Controls if templates get printed.
Not available in MapPrinterOptions::Separations mode.
| bool OpenOrienteering::MapPrinterOptions::simulate_overprinting |
Controls if the desktop printing is to simulate spot color printing.
Only available in MapPrinterOptions::Raster mode.
1.8.13