CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Attributes | List of all members
CartoType::TGraphicsParam Class Reference

#include <cartotype_graphics_context.h>

Public Attributes

TRect iClip
TPaint iPaint
TCircularPen iPen
TColor iTextureMask = KTransparentBlack

Detailed Description

Parameters used by a graphics context.

Member Data Documentation

◆ iClip

TRect CartoType::TGraphicsParam::iClip

The clipping rectangle, in pixels.

◆ iPaint

TPaint CartoType::TGraphicsParam::iPaint

The paint.

◆ iPen

TCircularPen CartoType::TGraphicsParam::iPen

The circular pen used by DrawStroke.

◆ iTextureMask

TColor CartoType::TGraphicsParam::iTextureMask = 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: