Ipelib
|
Classes | |
struct | ipe::Tiling |
struct | ipe::Gradient |
struct | ipe::Layout |
struct | ipe::TextPadding |
class | ipe::Color |
class | ipe::Effect |
class | ipe::Repository |
class | ipe::Attribute |
class | ipe::AllAttributes |
class | ipe::Symbol |
Typedefs | |
typedef std::vector< Attribute > | ipe::AttributeSeq |
Variables | |
const char *const | ipe::kind_names [] |
const char *const | ipe::property_names [] |
Attributes for Ipe objects.
Ipe objects have attributes such as color, line width, dash pattern, etc. Most attributes can be symbolic (the need to be looked up in a style sheet before rendering) or absolute.
The Color class represents absolute values of colors. The class Attribute encapsulates all attributes that can be either symbolic or absolute.
The Lua bindings for attributes are described here.
A sequence of attribute values.
enum ipe::Kind |
The different kinds of attributes.
The same symbolic attribute (say "normal") has a different value in the StyleSheet depending on the Kind of attribute. The main use for Kind is as an argument to StyleSheet::find.
ESymbol, EGradient, ETiling, and EEffect have their own lookup methods in the StyleSheet. The values are still useful as an argument to allNames(), has(), and findDefinition().
Enumerator | |
---|---|
EPen | |
ESymbolSize | |
EArrowSize | |
EColor | |
EDashStyle | |
ETextSize | |
ETextStretch | |
ETextStyle | |
ELabelStyle | |
EGridSize | |
EAngleSize | |
EOpacity | |
ETiling | |
ESymbol | |
EGradient | |
EEffect |
enum ipe::Property |
A Property identifies an attribute that an object can have.
The Property identifies a unique attribute of an object, while different Property values can be of the same ipe::Kind. For instance, both EPropStrokeColor and EPropFillColor identify an Attribute of Kind EColor.
enum ipe::TPathMode |
Path mode (stroked, filled, or both).
Enumerator | |
---|---|
EStrokedOnly | |
EStrokedAndFilled | |
EFilledOnly |
enum ipe::TSplineType |
enum ipe::TLineJoin |
Line join style.
The EDefaultJoin means to use the setting from the style sheet.
Enumerator | |
---|---|
EDefaultJoin | |
EMiterJoin | |
ERoundJoin | |
EBevelJoin |
enum ipe::TLineCap |
Line cap style.
The EDefaultCap means to use the setting from the style sheet.
Enumerator | |
---|---|
EDefaultCap | |
EButtCap | |
ERoundCap | |
ESquareCap |
enum ipe::TFillRule |
enum ipe::TPinned |
enum ipe::TSelect |
const char *const ipe::kind_names |
Referenced by ipe::AttributeMap::saveAsXml(), and ipe::StyleSheet::saveAsXml().
const char *const ipe::property_names |