CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_graphics_context.h>
Public Attributes | |
double | PenWidth = 1 |
CartoTypeCore::LineCap | LineCap = CartoTypeCore::LineCap::Round |
CartoTypeCore::LineJoin | LineJoin = CartoTypeCore::LineJoin::Round |
double | MiterLimit = 2 |
std::shared_ptr< CartoTypeCore::DashArray > | DashArray |
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<CartoTypeCore::DashArray> CartoTypeCore::CircularPen::DashArray |
If non-null, 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.
CartoTypeCore::LineCap CartoTypeCore::CircularPen::LineCap = CartoTypeCore::LineCap::Round |
The line cap type.
CartoTypeCore::LineJoin CartoTypeCore::CircularPen::LineJoin = CartoTypeCore::LineJoin::Round |
The line join type.
double CartoTypeCore::CircularPen::MiterLimit = 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 CartoTypeCore::CircularPen::PenWidth = 1 |
The width of the pen in pixels.