OMC::DrawingVectorThickness Class Reference

Detailed Description

Represents a thickness binder for a vector stroke.

The thickness binder applies a thickness path to a stroke, from a defined start and stop position. The thickness path can be shared between strokes, but the thickness binder is unique for each stroke – and should be continuous for strokes that share a thickness path.

Public Member Functions

void share_thickness (OMC::DrawingVectorThicknessPath *sharedPath)
 Assign the thickness path to this thickness binder.
 
void share_thickness (OMC::DrawingVectorThickness *sharedBinder)
 Share the thickness path from the provided binder.
 

Public Attributes

double start_position
 The position on the thickness curve at which this thickness binder starts for a given stroke.
 
double start_tangent_left
 The left tangent's value at the property's position.
 
double start_tangent_right
 The right tangent's value at the property's position.
 
double stop_position
 The position on the thickness curve at which this thickness binder stops for a given stroke.
 
double stop_tangent_left
 The left tangent's value at the property's position.
 
double stop_tangent_right
 The right tangent's value at the property's position.
 
OMC::DrawingVectorThicknessPaththickness_path
 The thickness path bound to this thickness object. More...
 

Member Data Documentation

◆ thickness_path

OMC::DrawingVectorThickness::thickness_path

The thickness path bound to this thickness object.

This is the path that is applied when the thickness is bound to the stroke. This thickness is unique to this binder and is not shared.

Inheritance diagram for OMC::DrawingVectorThickness:
Collaboration diagram for OMC::DrawingVectorThickness: