CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Member Functions | |
Paint (uint32_t aValue) | |
Paint (CartoTypeCore::Color aColor) | |
Paint (std::shared_ptr< CartoTypeCore::PaintServer > aPaintServer, int32_t aAlpha=255) | |
bool | IsNull () const |
void | SetBlendColor (const CartoTypeCore::Color &aBlendColor) |
Public Attributes | |
CartoTypeCore::Color | Color |
std::shared_ptr< CartoTypeCore::PaintServer > | PaintServer |
A paint source containing a color and an optional pointer to a paint server.
|
inline |
Creates a Paint object with a specified color.
|
inline |
Creates a Paint object with a specified color.
|
inline |
Creates a Paint object with a specified paint server and alpha (opacity) value.
|
inline |
Return true if this paint source is null, defined as having a null paint server and a completely transparent color.
|
inline |
Converts the color to night mode or other color blend.
CartoTypeCore::Color CartoTypeCore::Paint::Color |
The paint color.
std::shared_ptr<CartoTypeCore::PaintServer> CartoTypeCore::Paint::PaintServer |
If non-null, the paint server.