Inkscape
Vector Graphics Editor
|
SPStyle internal: classes that are internal to SPStyle. More...
Go to the source code of this file.
Classes | |
class | SPIBase |
Virtual base class for all SPStyle internal classes. More... | |
class | TypedSPI< Id, Base > |
Decorator which overrides SPIBase::id() More... | |
class | SPIFloat |
Float type internal to SPStyle. (Only 'stroke-miterlimit') More... | |
class | SPIScale24 |
24 bit data type internal to SPStyle. More... | |
class | SPILength |
Length type internal to SPStyle. More... | |
class | SPILengthOrNormal |
Extended length type internal to SPStyle. More... | |
class | SPIFontVariationSettings |
Extended length type internal to SPStyle. More... | |
class | SPIEnum< T > |
Enum type internal to SPStyle. More... | |
class | SPIEnumBits |
SPIEnum w/ bits, allows values with multiple key words. More... | |
class | SPILigatures |
class | SPINumeric |
class | SPIEastAsian |
class | SPIString |
String type internal to SPStyle. More... | |
class | SPIShapes |
Shapes type internal to SPStyle. More... | |
class | SPIColor |
class | SPIPaint |
Paint type internal to SPStyle. More... | |
class | SPIPaintOrder |
Paint order type internal to SPStyle. More... | |
class | SPIDashArray |
Filter type internal to SPStyle. More... | |
class | SPIFilter |
Filter type internal to SPStyle. More... | |
class | SPIFontSize |
Fontsize type internal to SPStyle (also used by libnrtype/Layout-TNG-Input.cpp). More... | |
class | SPIFont |
Font type internal to SPStyle ('font' shorthand) More... | |
class | SPIBaselineShift |
Baseline shift type internal to SPStyle. (This is actually just like SPIFontSize) More... | |
class | SPITextDecorationLine |
Text decoration line type internal to SPStyle. THIS SHOULD BE A GENERIC CLASS. More... | |
class | SPITextDecorationStyle |
Text decoration style type internal to SPStyle. THIS SHOULD JUST BE SPIEnum! More... | |
class | SPITextDecoration |
Text decoration type internal to SPStyle. More... | |
struct | SPITextDecorationData |
class | SPIVectorEffect |
Vector Effects. THIS SHOULD BE A GENERIC CLASS. More... | |
class | SPIStrokeExtensions |
Custom stroke properties. Only used for -inkscape-stroke: hairline. More... | |
Namespaces | |
namespace | Inkscape |
Helper class to stream background task notifications as a series of messages. | |
namespace | Inkscape::Colors |
A set of useful color modifying functions which do not fit as generic methods on the color class itself but which are used in various places. | |
Typedefs | |
using | _SPCSSFontVariantLigatures_int = typename std::underlying_type< SPCSSFontVariantLigatures >::type |
SPIEnum w/ extra bits. | |
using | _SPCSSFontVariantNumeric_int = typename std::underlying_type< SPCSSFontVariantNumeric >::type |
SPIEnum w/ extra bits. | |
using | _SPCSSFontVariantEastAsian_int = typename std::underlying_type< SPCSSFontVariantEastAsian >::type |
SPIEnum w/ extra bits. | |
Enumerations | |
enum class | SPStyleSrc : unsigned char { UNSET , ATTRIBUTE , STYLE_PROP , STYLE_SHEET } |
enum | SPCSSUnit { SP_CSS_UNIT_NONE , SP_CSS_UNIT_PX , SP_CSS_UNIT_PT , SP_CSS_UNIT_PC , SP_CSS_UNIT_MM , SP_CSS_UNIT_CM , SP_CSS_UNIT_IN , SP_CSS_UNIT_EM , SP_CSS_UNIT_EX , SP_CSS_UNIT_PERCENT } |
enum | SPPaintOrigin { SP_CSS_PAINT_ORIGIN_NORMAL , SP_CSS_PAINT_ORIGIN_CURRENT_COLOR , SP_CSS_PAINT_ORIGIN_CONTEXT_FILL , SP_CSS_PAINT_ORIGIN_CONTEXT_STROKE } |
enum | SPPaintOrderLayer { SP_CSS_PAINT_ORDER_NORMAL , SP_CSS_PAINT_ORDER_FILL , SP_CSS_PAINT_ORDER_STROKE , SP_CSS_PAINT_ORDER_MARKER } |
enum | { SP_FONT_SIZE_LITERAL , SP_FONT_SIZE_LENGTH , SP_FONT_SIZE_PERCENTAGE } |
enum | { SP_BASELINE_SHIFT_LITERAL , SP_BASELINE_SHIFT_LENGTH , SP_BASELINE_SHIFT_PERCENTAGE } |
Functions | |
static const unsigned | SP_STYLE_FLAG_ALWAYS (1<< 2) |
static const unsigned | SP_STYLE_FLAG_IFSET (1<< 0) |
static const unsigned | SP_STYLE_FLAG_IFDIFF (1<< 1) |
static const unsigned | SP_STYLE_FLAG_IFSRC (1<< 3) |
Variables | |
static const unsigned | SP_SCALE24_MAX = 0xff0000 |
constexpr size_t | PAINT_ORDER_LAYERS = 3 |
SPStyle internal: classes that are internal to SPStyle.
Definition in file style-internal.h.
using _SPCSSFontVariantEastAsian_int = typename std::underlying_type<SPCSSFontVariantEastAsian>::type |
SPIEnum w/ extra bits.
The 'font-variants-east-asian' property is a complete mess that needs special handling. Multiple key words can be specified, some exclusive of others.
Definition at line 595 of file style-internal.h.
using _SPCSSFontVariantLigatures_int = typename std::underlying_type<SPCSSFontVariantLigatures>::type |
SPIEnum w/ extra bits.
The 'font-variants-ligatures' property is a complete mess that needs special handling. For OpenType fonts the values 'common-ligatures', 'contextual', 'no-discretionary-ligatures', and 'no-historical-ligatures' are not useful but we still must be able to parse them.
Definition at line 557 of file style-internal.h.
using _SPCSSFontVariantNumeric_int = typename std::underlying_type<SPCSSFontVariantNumeric>::type |
SPIEnum w/ extra bits.
The 'font-variants-numeric' property is a complete mess that needs special handling. Multiple key words can be specified, some exclusive of others.
Definition at line 576 of file style-internal.h.
anonymous enum |
Enumerator | |
---|---|
SP_FONT_SIZE_LITERAL | |
SP_FONT_SIZE_LENGTH | |
SP_FONT_SIZE_PERCENTAGE |
Definition at line 942 of file style-internal.h.
anonymous enum |
Enumerator | |
---|---|
SP_BASELINE_SHIFT_LITERAL | |
SP_BASELINE_SHIFT_LENGTH | |
SP_BASELINE_SHIFT_PERCENTAGE |
Definition at line 1020 of file style-internal.h.
enum SPCSSUnit |
Enumerator | |
---|---|
SP_CSS_UNIT_NONE | |
SP_CSS_UNIT_PX | |
SP_CSS_UNIT_PT | |
SP_CSS_UNIT_PC | |
SP_CSS_UNIT_MM | |
SP_CSS_UNIT_CM | |
SP_CSS_UNIT_IN | |
SP_CSS_UNIT_EM | |
SP_CSS_UNIT_EX | |
SP_CSS_UNIT_PERCENT |
Definition at line 341 of file style-internal.h.
enum SPPaintOrderLayer |
Enumerator | |
---|---|
SP_CSS_PAINT_ORDER_NORMAL | |
SP_CSS_PAINT_ORDER_FILL | |
SP_CSS_PAINT_ORDER_STROKE | |
SP_CSS_PAINT_ORDER_MARKER |
Definition at line 805 of file style-internal.h.
enum SPPaintOrigin |
Enumerator | |
---|---|
SP_CSS_PAINT_ORIGIN_NORMAL | |
SP_CSS_PAINT_ORIGIN_CURRENT_COLOR | |
SP_CSS_PAINT_ORIGIN_CONTEXT_FILL | |
SP_CSS_PAINT_ORIGIN_CONTEXT_STROKE |
Definition at line 715 of file style-internal.h.
|
strong |
Enumerator | |
---|---|
UNSET | |
ATTRIBUTE | |
STYLE_PROP | |
STYLE_SHEET |
Definition at line 56 of file style-internal.h.
|
static |
|
static |
Referenced by SPStyle::writeIfDiff().
|
static |
Referenced by Inkscape::UI::Dialog::TextEdit::apply_changes(), SPText::hide_shape_inside(), Inkscape::UI::Toolbar::TextToolbar::lineheight_unit_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_value_changed(), sp_css_attr_from_object(), sp_css_attr_from_style(), take_style_from_item(), SPObject::write(), and SPStyle::write().
|
static |
Referenced by SPIBase::shall_write(), SPObject::write(), and SPStyle::write().
|
inlineconstexpr |
Definition at line 817 of file style-internal.h.
Referenced by SPIPaintOrder::cascade(), SPIPaintOrder::clear(), SPIPaintOrder::equals(), SPIPaintOrder::get_order(), SPIPaintOrder::get_value(), Inkscape::NRStyleData::NRStyleData(), SPIPaintOrder::operator=(), and SPIPaintOrder::read().
|
static |
Definition at line 291 of file style-internal.h.
Referenced by SPIScale24::get_default(), SPItem::invoke_print(), SPIScale24::merge(), and Inkscape::DrawingShape::setStyle().