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

#include <cartotype_color.h>

Public Member Functions

bool operator== (const TBlendStyle &aOther) const
 
bool operator!= (const TBlendStyle &aOther) const
 

Public Attributes

CString iStyles
 
TColor iMainColor = KTransparentBlack
 
TColor iBorderColor = KTransparentBlack
 
TColor iTextColor = KTransparentBlack
 
TColor iTextGlowColor = KTransparentBlack
 
TColor iIconColor = KTransparentBlack
 

Detailed Description

A rule to modify a certain style or styles. The colors are blended with colors in a style, using their alpha values as the blend fraction.

Member Function Documentation

◆ operator!=()

bool CartoType::TBlendStyle::operator!= ( const TBlendStyle aOther) const
inline

The inequality operator.

◆ operator==()

bool CartoType::TBlendStyle::operator== ( const TBlendStyle aOther) const
inline

The equality operator.

Member Data Documentation

◆ iBorderColor

TColor CartoType::TBlendStyle::iBorderColor = KTransparentBlack

If not null, the color to be blended with border colors.

◆ iIconColor

TColor CartoType::TBlendStyle::iIconColor = KTransparentBlack

If not null, the forced color for icons.

◆ iMainColor

TColor CartoType::TBlendStyle::iMainColor = KTransparentBlack

The color to be blended with the colors in the style.

◆ iStyles

CString CartoType::TBlendStyle::iStyles

A space or comma separated list of wild-card style names. The special name '[legend]' is used for the legend, scale, copyright notice and turn instructions.

◆ iTextColor

TColor CartoType::TBlendStyle::iTextColor = KTransparentBlack

If not null, the color to be blended with text colors.

◆ iTextGlowColor

TColor CartoType::TBlendStyle::iTextGlowColor = KTransparentBlack

If not null, the color to be blended with text glow colors.


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