|
CartoType API
|
#include <cartotype_hachure.h>
Public Member Functions | |
| CT_IMPORT | CHachure (TColor aColor, TFixed aStrokeWidth, TFixed aInterval, TFixedSmall aAngle) |
| CT_IMPORT TColor | Color (int32 aX, int32 aY) |
A paint server that draws a hachure of color aColor using strokes of width aStrokeWidth, at intervals of aInterval. The hachure is rotated by aAngle.
| CT_EXPORT CHachure::CHachure | ( | TColor | aColor, |
| TFixed | aStrokeWidth, | ||
| TFixed | aInterval, | ||
| TFixedSmall | aAngle | ||
| ) |
Create a paint server to draw a hachure of color aColor using strokes of width aStrokeWidth, at intervals of aInterval. The hachure is rotated by aAngle.
| CT_EXPORT TColor CHachure::Color | ( | int32 | aX, |
| int32 | aY | ||
| ) | [virtual] |
Supply a color for the pixel at (aX,aY) in premultiplied RGBA format.
Implements CartoType::MPaintServer.
1.7.5.1