CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Attributes | List of all members
CartoTypeCore::GraphicsParam Class Reference

#include <cartotype_graphics_context.h>

Public Attributes

Rect Clip
 
CartoTypeCore::Paint Paint
 
CircularPen Pen
 
Color TextureMask = KTransparentBlack
 

Detailed Description

Parameters used by a graphics context.

Member Data Documentation

◆ Clip

Rect CartoTypeCore::GraphicsParam::Clip

The clipping rectangle, in pixels.

◆ Paint

CartoTypeCore::Paint CartoTypeCore::GraphicsParam::Paint

The paint.

◆ Pen

CircularPen CartoTypeCore::GraphicsParam::Pen

The circular pen used by DrawStroke.

◆ TextureMask

Color CartoTypeCore::GraphicsParam::TextureMask = KTransparentBlack

The color used to inhibit texture drawing. Textures are never drawn to pixels of this color. The purpose is to prevent terrain textures from being drawn in sea or lake areas. The texture mask is set to the map background color when a map is drawn.


The documentation for this class was generated from the following file: