CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Attributes | |
double | iPenWidth = 1 |
TLineCap | iLineCap = TLineCap::Round |
TLineJoin | iLineJoin = TLineJoin::Round |
double | iMiterLimit = 2 |
std::shared_ptr< CDashArray > | iDashArray |
A circular pen used for stroking a path.
A line drawn using a circular pen can have various types of end caps and corners.
std::shared_ptr<CDashArray> CartoType::TCircularPen::iDashArray |
If non-null, a pointer to an array giving the pattern of dashed and gaps used to draw strokes; not owned. The elements are the dash and gap lengths in pixels. They are used repeatedly, alternating between dashes and gaps; the first element is a dash.
TLineCap CartoType::TCircularPen::iLineCap = TLineCap::Round |
The line cap type.
TLineJoin CartoType::TCircularPen::iLineJoin = TLineJoin::Round |
The line join type.
double CartoType::TCircularPen::iMiterLimit = 2 |
If the corners are mitered, they are cut off by a straight line if they extend more than this fraction of half the pen width from the center of the line.
double CartoType::TCircularPen::iPenWidth = 1 |
The width of the pen in pixels.