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 | |
Pattern (std::shared_ptr< Bitmap > aBitmap, int32_t aXOffset, int32_t aYOffset) | |
CartoTypeCore::Color | Color (int32_t aX, int32_t aY) override |
const Bitmap * | Texture () override |
std::shared_ptr< PaintServer > | Blended (CartoTypeCore::Color) override |
Public Member Functions inherited from CartoTypeCore::PaintServer | |
virtual CartoTypeCore::Color | Color (int32_t aX, int32_t aY)=0 |
virtual const Bitmap * | Texture ()=0 |
virtual std::shared_ptr< PaintServer > | Blended (CartoTypeCore::Color aBlendColor)=0 |
virtual const CartoTypeCore::Color * | Ramp () const |
virtual const CartoTypeCore::HachureParam * | HachureParam () const |
Additional Inherited Members | |
Public Attributes inherited from CartoTypeCore::PaintServer | |
String | Name |
A paint server that draws a bitmap as a repeating pattern of rectangular tiles. Successive rows or columns can optionally be offset to give a less square appearance.
|
inline |
Creates a pattern referring to a certain bitmap. Does not take ownership of the bitmap.
|
inlineoverridevirtual |
Creates a new paint server with colors converted to night mode or other color effect by blending with the specified color.
Implements CartoTypeCore::PaintServer.
|
overridevirtual |
Supplies a color for the pixel at (aX,aY) in premultiplied RGBA format.
Implements CartoTypeCore::PaintServer.
|
overridevirtual |
Returns the texture: a bitmap which is the smallest possible repeating element. Returns null if that is not possible.
Implements CartoTypeCore::PaintServer.