Inkscape
Vector Graphics Editor
|
An SVG style object. More...
#include <style.h>
Public Member Functions | |
SPStyle (SPDocument *document=nullptr, SPObject *object=nullptr) | |
~SPStyle () | |
const std::vector< SPIBase * > | properties () |
void | clear () |
void | clear (SPAttr id) |
void | read (SPObject *object, Inkscape::XML::Node *repr) |
void | readFromObject (SPObject *object) |
Read style properties from object's repr. | |
void | readFromPrefs (Glib::ustring const &path) |
Read style properties from preferences. | |
bool | isSet (SPAttr id) |
void | readIfUnset (SPAttr id, char const *val, SPStyleSrc const &source=SPStyleSrc::STYLE_PROP) |
Glib::ustring | write (unsigned flags=SP_STYLE_FLAG_IFSET) const |
Glib::ustring | write (SPStyleSrc style_src_req) const |
Get CSS string for set properties from the requested source. | |
Glib::ustring | writeIfDiff (SPStyle const *base) const |
Get CSS string for set properties which are different from the given base style. | |
void | cascade (SPStyle const *parent) |
Sets computed values in style, which may involve inheriting from (or in some other way calculating from) corresponding computed values of parent. | |
void | merge (SPStyle const *parent) |
Combine style and parent style specifications into a single style specification that preserves (as much as possible) the effect of the existing style being a child of parent. | |
void | mergeString (char const *p) |
Parses a style="..." string and merges it with an existing SPStyle. | |
void | mergeCSS (SPCSSAttr *css) |
void | mergeStatement (CRStatement *statement) |
Append an existing css statement into this style, used in css editing always appends declarations as STYLE_SHEET properties. | |
bool | operator== (SPStyle const &rhs) const |
SPFilter * | getFilter () |
SPFilter const * | getFilter () const |
Inkscape::URI const * | getFilterURI () const |
SPPaintServer * | getFillPaintServer () |
SPPaintServer const * | getFillPaintServer () const |
Inkscape::URI const * | getFillURI () const |
SPPaintServer * | getStrokePaintServer () |
SPPaintServer const * | getStrokePaintServer () const |
Inkscape::URI const * | getStrokeURI () const |
std::string | getFontFeatureString () |
Return a font feature string useful for Pango. | |
SPIPaint * | getFillOrStroke (bool fill_) |
Get either the fill or the stroke property. | |
SPIPaint const * | getFillOrStroke (bool fill_) const |
Private Types | |
template<SPAttr Id, class Base > | |
using | T = TypedSPI< Id, Base > |
Private Member Functions | |
Glib::ustring | write (unsigned flags, SPStyleSrc style_src_req, SPStyle const *base=nullptr) const |
void | _mergeString (char const *p) |
void | _mergeDeclList (CRDeclaration const *decl_list, SPStyleSrc const &source) |
void | _mergeDecl (CRDeclaration const *decl, SPStyleSrc const &source) |
void | _mergeProps (CRPropList *props) |
void | _mergeObjectStylesheet (SPObject const *object) |
void | _mergeObjectStylesheet (SPObject const *object, SPDocument *document) |
Private Attributes | |
std::vector< SPIBase * > | _properties |
Pointers to all the properties (for looping through them) | |
|
private |
SPStyle::SPStyle | ( | SPDocument * | document = nullptr , |
SPObject * | object = nullptr |
||
) |
Definition at line 251 of file style.cpp.
References _prop_helper, _properties, baseline_shift, cloned, color, document, fill, filter, font, inline_size, letter_spacing, line_height, marker, marker_end, marker_mid, marker_ptrs, marker_start, release_connection, shape_inside, shape_margin, shape_padding, shape_subtract, solid_color, SP_MARKER_LOC, SP_MARKER_LOC_END, SP_MARKER_LOC_MID, SP_MARKER_LOC_START, sp_style_object_release(), stop_color, stroke, stroke_dashoffset, stroke_width, text_decoration, text_decoration_color, text_indent, and word_spacing.
SPStyle::~SPStyle | ( | ) |
Definition at line 467 of file style.cpp.
References fill, fill_ps_changed_connection, fill_ps_modified_connection, filter, filter_changed_connection, filter_modified_connection, release_connection, stroke, stroke_ps_changed_connection, and stroke_ps_modified_connection.
|
private |
Definition at line 929 of file style.cpp.
References cr_term_to_string(), extended_properties, _CRDeclaration::important, INVALID, isSet(), key, readIfUnset(), sp_attribute_lookup(), Inkscape::CSSOStringStream::str(), and _CRDeclaration::value.
Referenced by _mergeDeclList(), and _mergeProps().
|
private |
Definition at line 915 of file style.cpp.
References _mergeDecl(), _mergeDeclList(), and _CRDeclaration::next.
Referenced by _mergeDeclList(), _mergeString(), and mergeStatement().
|
private |
Definition at line 983 of file style.cpp.
References _mergeObjectStylesheet(), SPObject::document, and object.
Referenced by _mergeObjectStylesheet(), _mergeObjectStylesheet(), and read().
|
private |
Definition at line 991 of file style.cpp.
References _mergeObjectStylesheet(), _mergeProps(), CR_OK, cr_prop_list_destroy(), cr_sel_eng_get_matched_properties_from_cascade(), document, SPDocument::get_reference_document(), SPDocument::getParent(), SPObject::getRepr(), SPDocument::getStyleCascade(), object, parent, props, and sp_repr_sel_eng().
|
private |
Definition at line 969 of file style.cpp.
References _mergeDecl(), _mergeProps(), cr_prop_list_get_decl(), cr_prop_list_get_next(), props, and STYLE_SHEET.
Referenced by _mergeObjectStylesheet(), and _mergeProps().
|
private |
Definition at line 903 of file style.cpp.
References _mergeDeclList(), cr_declaration_destroy(), cr_declaration_parse_list_from_buf(), CR_UTF_8, and STYLE_PROP.
Referenced by mergeCSS(), mergeString(), and read().
void SPStyle::cascade | ( | SPStyle const * | parent | ) |
Sets computed values in style, which may involve inheriting from (or in some other way calculating from) corresponding computed values of parent.
References: http://www.w3.org/TR/SVG11/propidx.html shows what properties inherit by default. http://www.w3.org/TR/SVG11/styling.html#Inheritance gives general rules as to what it means to inherit a value. http://www.w3.org/TR/REC-CSS2/cascade.html#computed-value is more precise about what the computed value is (not obvious for lengths).
Definition at line 819 of file style.cpp.
References _properties, and parent.
Referenced by read(), sp_tref_convert_to_tspan(), SPUse::unlink(), and SPObject::updateDisplay().
void SPStyle::clear | ( | ) |
Definition at line 507 of file style.cpp.
References _properties, cloned, document, fill, fill_ps_changed_connection, fill_ps_modified_connection, filter, filter_changed_connection, filter_modified_connection, release_connection, sp_style_fill_paint_server_ref_changed(), sp_style_filter_ref_changed(), sp_style_stroke_paint_server_ref_changed(), stroke, stroke_ps_changed_connection, and stroke_ps_modified_connection.
Referenced by read(), SPClipPath::set(), SPSolidColor::set(), SPHatchPath::set(), SPHatch::set(), and Inkscape::UI::Widget::FillNStroke::updateFromPaint().
void SPStyle::clear | ( | SPAttr | id | ) |
Definition at line 497 of file style.cpp.
References _prop_helper, and SPIBase::clear().
|
inline |
Get either the fill or the stroke property.
Definition at line 355 of file style.h.
Referenced by Inkscape::UI::Widget::PaintSelector::getModeForStyle(), objects_query_fillstroke(), Inkscape::UI::Widget::FillNStroke::performUpdate(), sp_get_same_fill_or_stroke_color(), sp_gradient_vector_for_object(), sp_item_get_gradient(), sp_style_set_to_uri(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), and Inkscape::UI::Widget::StrokeStyle::updateLine().
|
inline |
|
inline |
Definition at line 339 of file style.h.
References fill.
Referenced by HatchKnotHolderEntity::_hatch(), PatternKnotHolderEntity::_pattern(), Inkscape::Extension::Internal::CairoRenderContext::_setFillStyle(), KnotHolder::add_hatch_knotholder(), KnotHolder::add_pattern_knotholder(), SPItem::adjust_gradient(), SPItem::adjust_hatch(), SPItem::adjust_pattern(), convert_fill_server(), Inkscape::UI::create_knot_holder(), default_color(), Inkscape::UI::Tools::MeshTool::fit_mesh_in_bbox(), getGradient(), Inkscape::UI::Widget::PaintSelector::getModeForStyle(), GrDraggable::getServer(), KnotHolder::install_modification_watch(), SPItem::invoke_hide(), SPItem::invoke_show(), objects_query_fillstroke(), Inkscape::UI::Widget::FillNStroke::performUpdate(), GrDrag::refreshDraggers(), revert_stroke_server(), sp_get_same_fill_or_stroke_color(), sp_gradient_vector_for_object(), sp_item_get_gradient(), sp_style_paint_server_ref_modified(), Inkscape::ObjectSet::untile(), SPItem::update(), GrDrag::updateDraggers(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), and GrDrag::updateLines().
|
inline |
|
inline |
|
inline |
Definition at line 335 of file style.h.
References filter, and SPFilter::href.
Referenced by Inkscape::UI::Widget::ObjectCompositeSettings::_blendBlurValueChanged(), BlurKnotHolderEntity::_blur(), SnapManager::_findCandidates(), Inkscape::LivePathEffect::LPEBool::add_filter(), KnotHolder::add_filter_knotholder(), count_filter_hrefs(), SPItem::doWriteTransform(), filter_get_legacy_blend(), has_hidder_filter(), SPItem::invoke_hide(), SPItem::invoke_show(), FilterKnotHolderEntity::knot_get(), FilterKnotHolderEntity::knot_set(), KnotHolder::knot_ungrabbed_handler(), SPShape::modified(), modify_filter_gaussian_blur_from_item(), objects_query_blend(), objects_query_blur(), Inkscape::LivePathEffect::LPEBool::remove_filter(), remove_filter_gaussian_blur(), remove_filter_legacy_blend(), remove_hidder_filter(), set_blend_mode(), sp_style_filter_ref_modified(), Inkscape::UI::Tools::sp_tweak_color_recursive(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::update_selection(), and SPItem::visualBounds().
|
inline |
Definition at line 336 of file style.h.
References filter, and SPFilter::href.
|
inline |
std::string SPStyle::getFontFeatureString | ( | ) |
Return a font feature string useful for Pango.
Definition at line 1019 of file style.cpp.
References font_feature_settings, font_variant_caps, font_variant_east_asian, font_variant_ligatures, font_variant_numeric, font_variant_position, SP_CSS_FONT_VARIANT_CAPS_ALL_PETITE, SP_CSS_FONT_VARIANT_CAPS_ALL_SMALL, SP_CSS_FONT_VARIANT_CAPS_PETITE, SP_CSS_FONT_VARIANT_CAPS_SMALL, SP_CSS_FONT_VARIANT_CAPS_TITLING, SP_CSS_FONT_VARIANT_CAPS_UNICASE, SP_CSS_FONT_VARIANT_EAST_ASIAN_FULL_WIDTH, SP_CSS_FONT_VARIANT_EAST_ASIAN_JIS04, SP_CSS_FONT_VARIANT_EAST_ASIAN_JIS78, SP_CSS_FONT_VARIANT_EAST_ASIAN_JIS83, SP_CSS_FONT_VARIANT_EAST_ASIAN_JIS90, SP_CSS_FONT_VARIANT_EAST_ASIAN_PROPORTIONAL_WIDTH, SP_CSS_FONT_VARIANT_EAST_ASIAN_RUBY, SP_CSS_FONT_VARIANT_EAST_ASIAN_SIMPLIFIED, SP_CSS_FONT_VARIANT_EAST_ASIAN_TRADITIONAL, SP_CSS_FONT_VARIANT_LIGATURES_COMMON, SP_CSS_FONT_VARIANT_LIGATURES_CONTEXTUAL, SP_CSS_FONT_VARIANT_LIGATURES_DISCRETIONARY, SP_CSS_FONT_VARIANT_LIGATURES_HISTORICAL, SP_CSS_FONT_VARIANT_NUMERIC_DIAGONAL_FRACTIONS, SP_CSS_FONT_VARIANT_NUMERIC_LINING_NUMS, SP_CSS_FONT_VARIANT_NUMERIC_OLDSTYLE_NUMS, SP_CSS_FONT_VARIANT_NUMERIC_ORDINAL, SP_CSS_FONT_VARIANT_NUMERIC_PROPORTIONAL_NUMS, SP_CSS_FONT_VARIANT_NUMERIC_SLASHED_ZERO, SP_CSS_FONT_VARIANT_NUMERIC_STACKED_FRACTIONS, SP_CSS_FONT_VARIANT_NUMERIC_TABULAR_NUMS, SP_CSS_FONT_VARIANT_POSITION_SUB, and SP_CSS_FONT_VARIANT_POSITION_SUPER.
|
inline |
Definition at line 343 of file style.h.
References stroke.
Referenced by HatchKnotHolderEntity::_hatch(), PatternKnotHolderEntity::_pattern(), Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), KnotHolder::add_hatch_knotholder(), KnotHolder::add_pattern_knotholder(), SPItem::adjust_gradient(), SPItem::adjust_hatch(), SPItem::adjust_pattern(), convert_stroke_server(), Inkscape::UI::create_knot_holder(), Inkscape::UI::Tools::MeshTool::fit_mesh_in_bbox(), getGradient(), Inkscape::UI::Widget::PaintSelector::getModeForStyle(), GrDraggable::getServer(), KnotHolder::install_modification_watch(), SPItem::invoke_hide(), SPItem::invoke_show(), objects_query_fillstroke(), Inkscape::UI::Widget::FillNStroke::performUpdate(), GrDrag::refreshDraggers(), sp_get_same_fill_or_stroke_color(), sp_gradient_vector_for_object(), sp_item_get_gradient(), sp_style_paint_server_ref_modified(), Inkscape::UI::Tools::spdc_apply_style(), SPItem::update(), GrDrag::updateDraggers(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), and GrDrag::updateLines().
|
inline |
|
inline |
Definition at line 345 of file style.h.
References stroke.
Referenced by objects_query_fillstroke().
bool SPStyle::isSet | ( | SPAttr | id | ) |
Definition at line 708 of file style.cpp.
References _prop_helper, CLIP_PATH, COLOR_INTERPOLATION, color_interpolation, FILTER, filter, MASK, and set.
Referenced by _mergeDecl().
void SPStyle::merge | ( | SPStyle const * | parent | ) |
Combine style and parent style specifications into a single style specification that preserves (as much as possible) the effect of the existing style being a child of parent.
Called when the parent repr is to be removed (e.g. the parent is a <use> element that is being unlinked), in which case we copy/adapt property values that are explicitly set in parent, trying to retain the same visual appearance once the parent is removed. Interesting cases are when there is unusual interaction with the parent's value (opacity, display) or when the value can be specified as relative to the parent computed value (font-size, font-weight etc.).
Doesn't update computed values of style. For correctness, you should subsequently call sp_style_merge_from_parent against the new parent (presumably parent's parent) even if style was previously up-to-date wrt parent.
Definition at line 845 of file style.cpp.
References _properties, and parent.
Referenced by SPShape::print(), sp_selected_item_to_curved_repr(), sp_tref_convert_to_tspan(), and text_to_glyphs().
void SPStyle::mergeCSS | ( | SPCSSAttr * | css | ) |
Definition at line 861 of file style.cpp.
References _mergeString(), css, and sp_repr_css_write_string().
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), and Inkscape::FontLister::selection_update().
void SPStyle::mergeStatement | ( | CRStatement * | statement | ) |
Append an existing css statement into this style, used in css editing always appends declarations as STYLE_SHEET properties.
Definition at line 872 of file style.cpp.
References _mergeDeclList(), cr_statement_ruleset_get_declarations(), RULESET_STMT, STYLE_SHEET, and _CRStatement::type.
void SPStyle::mergeString | ( | char const * | p | ) |
Parses a style="..." string and merges it with an existing SPStyle.
Definition at line 856 of file style.cpp.
References _mergeString().
Referenced by objects_have_equal_style(), overwrite_style_with_string(), Inkscape::UI::Widget::StyleSwatch::setStyle(), sp_desktop_get_font_size_tool(), and Inkscape::UI::Tools::spdc_create_single_dot().
bool SPStyle::operator== | ( | SPStyle const & | rhs | ) | const |
const std::vector< SPIBase * > SPStyle::properties | ( | ) |
Definition at line 494 of file style.cpp.
References _properties.
Referenced by Inkscape::UI::Dialog::StyleDialog::_writeStyleElement(), Inkscape::UI::Dialog::StyleDialog::readStyleElement(), and SPObject::write().
void SPStyle::read | ( | SPObject * | object, |
Inkscape::XML::Node * | repr | ||
) |
Definition at line 541 of file style.cpp.
References _mergeObjectStylesheet(), _mergeString(), _properties, Inkscape::XML::Node::attribute(), cascade(), clear(), SPObject::cloned, cloned, document, FONT, SPObject::getRepr(), MARKER, object, parent, SPObject::parent, Inkscape::XML::Node::parent(), and SPObject::style.
Referenced by readFromObject(), and readFromPrefs().
void SPStyle::readFromObject | ( | SPObject * | object | ) |
Read style properties from object's repr.
Definition at line 610 of file style.cpp.
References read().
Referenced by Inkscape::UI::Dialog::SelectorsDialog::_removeFromSelector(), Inkscape::UI::Dialog::StyleDialog::readStyleElement(), SPItem::set(), SPSolidColor::update(), SPObject::updateDisplay(), and SPObject::write().
void SPStyle::readFromPrefs | ( | Glib::ustring const & | path | ) |
Read style properties from preferences.
path | Preferences directory from which the style should be read |
Definition at line 627 of file style.cpp.
References Inkscape::XML::SimpleDocument::createElement(), Inkscape::Preferences::get(), Inkscape::Preferences::getAllEntries(), read(), Inkscape::GC::release(), and Inkscape::XML::Node::setAttribute().
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::UI::Dialog::TextEdit::onReadSelection(), and Inkscape::FontLister::selection_update().
void SPStyle::readIfUnset | ( | SPAttr | id, |
char const * | val, | ||
SPStyleSrc const & | source = SPStyleSrc::STYLE_PROP |
||
) |
Definition at line 652 of file style.cpp.
References _prop_helper, CLIP_PATH, COLOR_INTERPOLATION, color_interpolation, FILTER, filter, MASK, and SP_CSS_COLOR_INTERPOLATION_SRGB.
Referenced by _mergeDecl().
Glib::ustring SPStyle::write | ( | SPStyleSrc | style_src_req | ) | const |
Get CSS string for set properties from the requested source.
Definition at line 792 of file style.cpp.
References SP_STYLE_FLAG_IFSET(), SP_STYLE_FLAG_IFSRC(), UNSET, and write().
|
private |
Glib::ustring SPStyle::write | ( | unsigned | flags = SP_STYLE_FLAG_IFSET | ) | const |
References operator==().
Glib::ustring SPStyle::writeIfDiff | ( | SPStyle const * | base | ) | const |
Get CSS string for set properties which are different from the given base style.
If base is NULL, all set flags are considered different.
Definition at line 801 of file style.cpp.
References SP_STYLE_FLAG_IFDIFF(), UNSET, and write().
Referenced by SPFlowtext::getAsText(), sp_selected_item_to_curved_repr(), and text_to_glyphs().
|
private |
Pointers to all the properties (for looping through them)
Definition at line 90 of file style.h.
Referenced by cascade(), clear(), merge(), operator==(), properties(), read(), and SPStyle().
T<SPAttr::BASELINE_SHIFT, SPIBaselineShift> SPStyle::baseline_shift |
Baseline shift (svg1.1 10.9.2)
Definition at line 169 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::Extension::Internal::Wmf::delete_object(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), objects_query_baselines(), Inkscape::Extension::Internal::Wmf::open(), Inkscape::UI::Toolbar::TextToolbar::script_changed(), Inkscape::Extension::Internal::Emf::select_font(), Inkscape::Extension::Internal::Wmf::select_font(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), and SPStyle().
bool SPStyle::block_filter_bbox_updates = false |
(hack) Temporarily set to true to block filter changes from updating the object's bbox in situations where this update is undesirable.
Definition at line 303 of file style.h.
Referenced by sp_style_filter_ref_modified(), and SPObject::updateDisplay().
T<SPAttr::CLIP_RULE, SPIEnum<SPWindRule> > SPStyle::clip_rule |
clip-rule: 0 nonzero, 1 evenodd
Definition at line 204 of file style.h.
Referenced by Inkscape::DrawingShape::setStyle(), and Inkscape::DrawingText::setStyle().
bool SPStyle::cloned |
T<SPAttr::COLOR, SPIColor> SPStyle::color |
color
Definition at line 225 of file style.h.
Referenced by SPIPaint::cascade(), SPStop::getColor(), SPIColor::read(), SPIPaint::read(), and SPStyle().
T<SPAttr::COLOR_INTERPOLATION, SPIEnum<SPColorInterpolation> > SPStyle::color_interpolation |
color-interpolation
Definition at line 227 of file style.h.
Referenced by isSet(), and readIfUnset().
T<SPAttr::COLOR_INTERPOLATION_FILTERS, SPIEnum<SPColorInterpolation> > SPStyle::color_interpolation_filters |
color-interpolation-filters
Definition at line 229 of file style.h.
Referenced by Inkscape::Filters::FilterPrimitive::setStyle().
T<SPAttr::COLOR_RENDERING, SPIEnum<SPColorRendering> > SPStyle::color_rendering |
T<SPAttr::DIRECTION, SPIEnum<SPCSSDirection> > SPStyle::direction |
text direction (svg1.1)
Definition at line 161 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), SPText::get_frame(), Inkscape::NRStyleData::NRStyleData(), and objects_query_writing_modes().
T<SPAttr::DISPLAY, SPIEnum<SPCSSDisplay> > SPStyle::display |
display
Definition at line 207 of file style.h.
Referenced by SPText::_buildLayoutInput(), SPItem::isExplicitlyHidden(), SPItem::isHidden(), SPItem::setExplicitlyHidden(), and SPItem::setHidden().
SPDocument* SPStyle::document |
Document we are associated with.
Definition at line 86 of file style.h.
Referenced by _mergeObjectStylesheet(), SPIColor::canHaveCMS(), SPIPaint::canHaveCMS(), clear(), SPIColor::getCMS(), SPIPaint::getCMS(), SPIFilter::merge(), read(), sp_style_set_ipaint_to_uri(), sp_style_set_ipaint_to_uri_string(), sp_style_set_to_uri(), and SPStyle().
T<SPAttr::DOMINANT_BASELINE, SPIEnum<SPCSSBaseline> > SPStyle::dominant_baseline |
T<SPAttr::ENABLE_BACKGROUND, SPIEnum<SPEnableBackground> > SPStyle::enable_background |
enable-background, used for defining where filter effects get their background image
Definition at line 281 of file style.h.
Referenced by Inkscape::DrawingItem::setStyle().
std::map<std::string, std::string> SPStyle::extended_properties |
Definition at line 359 of file style.h.
Referenced by _mergeDecl().
T<SPAttr::FILL, SPIPaint> SPStyle::fill |
fill
Definition at line 240 of file style.h.
Referenced by SPHatch::_countHrefs(), SPPattern::_countHrefs(), Inkscape::Extension::Internal::CairoRenderContext::_setFillStyle(), SPHatchPath::_updateView(), KnotHolder::add_hatch_knotholder(), SPItem::adjust_gradient(), SPItem::adjust_hatch(), SPItem::adjust_pattern(), SPHatchPath::build(), clear(), convert_fill_color(), count_gradient_hrefs(), Inkscape::Extension::Internal::PrintEmf::create_brush(), Inkscape::Extension::Internal::PrintWmf::create_brush(), Inkscape::UI::create_knot_holder(), default_color(), Inkscape::Extension::Internal::PovOutput::doCurve(), Inkscape::Extension::Internal::PrintLatex::fill(), Inkscape::UI::Tools::MeshTool::fit_mesh_in_bbox(), getFillOrStroke(), getFillOrStroke(), getFillPaintServer(), getFillPaintServer(), getFillURI(), getGradient(), gr_drag_style_query(), has_fill(), item_to_paths(), Inkscape::LivePathEffect::lpe_shape_convert_stroke_and_fill(), Inkscape::LivePathEffect::lpe_shape_revert_stroke_and_fill(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), SPShape::print(), Inkscape::Text::Layout::print(), Inkscape::Extension::Internal::OdfOutput::processGradient(), Inkscape::Extension::Internal::OdfOutput::processStyle(), SPIPaint::read(), GrDrag::refreshDraggers(), SPObject::release(), Inkscape::Extension::Internal::CairoRenderContext::renderGlyphtext(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), revert_stroke_color(), Inkscape::Extension::Internal::Emf::select_brush(), Inkscape::Extension::Internal::Wmf::select_brush(), Inkscape::Extension::Internal::CairoRenderContext::setStateForStyle(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), sp_item_set_gradient(), sp_style_paint_server_ref_modified(), sp_style_set_ipaint_to_uri(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::UI::Tools::sp_tweak_color_recursive(), SPStyle(), Inkscape::ObjectSet::swapFillStroke(), Inkscape::Extension::Internal::PrintEmf::text(), Inkscape::Extension::Internal::PrintWmf::text(), Inkscape::ObjectSet::untile(), Inkscape::UI::Widget::SelectedStyle::update(), GrDrag::updateDraggers(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), GrDrag::updateLines(), and ~SPStyle().
T<SPAttr::FILL_OPACITY, SPIScale24> SPStyle::fill_opacity |
fill-opacity
Definition at line 242 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setFillStyle(), convert_fill_color(), Inkscape::Extension::Internal::PrintEmf::create_brush(), Inkscape::Extension::Internal::PovOutput::doCurve(), Inkscape::Extension::Internal::PrintLatex::fill(), gr_drag_style_query(), Inkscape::NRStyleData::NRStyleData(), objects_query_fillstroke(), Inkscape::UI::Widget::FillNStroke::performUpdate(), Inkscape::Extension::Internal::OdfOutput::processStyle(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), revert_stroke_color(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), sp_gradient_vector_for_object(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::ObjectSet::swapFillStroke(), and Inkscape::UI::Widget::SelectedStyle::update().
sigc::connection SPStyle::fill_ps_changed_connection |
Definition at line 312 of file style.h.
Referenced by clear(), SPIPaint::read(), sp_style_set_ipaint_to_uri(), and ~SPStyle().
sigc::connection SPStyle::fill_ps_modified_connection |
Definition at line 308 of file style.h.
Referenced by clear(), sp_style_fill_paint_server_ref_changed(), and ~SPStyle().
T<SPAttr::FILL_RULE, SPIEnum<SPWindRule> > SPStyle::fill_rule |
fill-rule: 0 nonzero, 1 evenodd
Definition at line 244 of file style.h.
Referenced by Inkscape::ObjectSet::_pathBoolOp(), Inkscape::Extension::Internal::PrintEmf::create_brush(), Inkscape::Extension::Internal::PrintWmf::create_brush(), Inkscape::LivePathEffect::LPETiling::doEffect_path(), Inkscape::LivePathEffect::LPECopyRotate::doEffect_path(), extract_shape(), Inkscape::Extension::Internal::PrintEmf::fill(), Inkscape::Extension::Internal::PrintWmf::fill(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), objects_query_fillstroke(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), Inkscape::UI::Widget::FillNStroke::performUpdate(), Inkscape::Extension::Internal::CairoRenderContext::renderGlyphtext(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), and Inkscape::DrawingShape::setStyle().
T<SPAttr::FILTER, SPIFilter> SPStyle::filter |
Filter effect.
Definition at line 275 of file style.h.
Referenced by Inkscape::UI::Widget::ObjectCompositeSettings::_blendBlurValueChanged(), clear(), count_filter_hrefs(), SPItem::detailedDescription(), filter_get_legacy_blend(), find_references(), getFilter(), getFilter(), getFilterURI(), SPItem::isFiltered(), isSet(), SPShape::modified(), modify_filter_gaussian_blur_from_item(), objects_query_blend(), objects_query_blur(), readIfUnset(), SPObject::release(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::remove_filter(), remove_filter_gaussian_blur(), remove_filter_legacy_blend(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::select_filter_elements(), set_blend_mode(), Inkscape::Extension::Internal::CairoRenderContext::setStateForStyle(), Inkscape::UI::Tools::sp_tweak_color_recursive(), SPStyle(), SPItem::update(), Inkscape::UI::Dialog::FilterEffectsDialog::FilterModifier::update_selection(), and ~SPStyle().
sigc::connection SPStyle::filter_changed_connection |
Definition at line 311 of file style.h.
Referenced by clear(), SPIFilter::read(), and ~SPStyle().
T<SPAttr::INVALID, SPILength> SPStyle::filter_gaussianBlur_deviation |
normally not used, but duplicates the Gaussian blur deviation (if any) from the attached filter when the style is used for querying
Definition at line 279 of file style.h.
Referenced by Inkscape::UI::Widget::ObjectCompositeSettings::_subjectChanged(), and objects_query_blur().
sigc::connection SPStyle::filter_modified_connection |
Definition at line 307 of file style.h.
Referenced by clear(), sp_style_filter_ref_changed(), and ~SPStyle().
T<SPAttr::FONT, SPIFont> SPStyle::font |
T<SPAttr::FONT_FAMILY, SPIString> SPStyle::font_family |
Font family.
Definition at line 120 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), SPText::description(), fix_font_name(), ink_font_description_from_style(), objects_query_fontfamily(), SPIFont::read(), Inkscape::Extension::Internal::PrintEmf::text(), and Inkscape::Extension::Internal::PrintWmf::text().
T<SPAttr::FONT_FEATURE_SETTINGS, SPIString> SPStyle::font_feature_settings |
Font feature settings (Low level access to TrueType tables)
Definition at line 140 of file style.h.
Referenced by getFontFeatureString(), objects_query_fontfeaturesettings(), and Inkscape::UI::Widget::FontVariants::update().
T<SPAttr::FONT_SIZE, SPIFontSize> SPStyle::font_size |
Size of the font.
Definition at line 116 of file style.h.
Referenced by SPText::_adjustFontsizeRecursive(), SPText::_buildLayoutInit(), SPFlowtext::_buildLayoutInput(), Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), SPILength::cascade(), Inkscape::Extension::Internal::Wmf::delete_object(), SPText::description(), fix_blank_line(), fix_font_size(), Inkscape::UI::Toolbar::TextToolbar::lineheight_unit_changed(), SPILength::merge(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), objects_query_fontnumbers(), objects_query_fontstyle(), Inkscape::UI::Dialog::TextEdit::onReadSelection(), Inkscape::Extension::Internal::Wmf::open(), SPILength::read(), SPIFont::read(), TextTagAttributes::readSingleAttribute(), Inkscape::Extension::Internal::Emf::select_font(), Inkscape::Extension::Internal::Wmf::select_font(), SPGenericEllipse::set(), SPRect::set(), sp_desktop_get_font_size_tool(), sp_te_adjust_rotation_screen(), sp_te_adjust_tspan_letterspacing_screen(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::Extension::Internal::PrintEmf::text(), Inkscape::Extension::Internal::PrintWmf::text(), SPLinearGradient::update(), SPGenericEllipse::update(), SPLine::update(), SPRadialGradient::update(), SPRect::update(), SPShape::update(), SPText::update(), SPTextPath::update(), and SPTSpan::update().
T<SPAttr::INKSCAPE_FONT_SPEC, SPIString> SPStyle::font_specification |
Full font name, as FontFactory::ConstructFontSpecification would give, for internal use.
Definition at line 124 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), FontFactory::FaceFromStyle(), objects_query_fontspecification(), and Inkscape::FontLister::selection_update().
T<SPAttr::FONT_STRETCH, SPIEnum<SPCSSFontStretch> > SPStyle::font_stretch |
Stretch of the font.
Definition at line 114 of file style.h.
Referenced by ink_font_description_from_style(), objects_query_fontstyle(), and SPIFont::read().
T<SPAttr::FONT_STYLE, SPIEnum<SPCSSFontStyle> > SPStyle::font_style |
Font style.
Definition at line 108 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::Extension::Internal::Wmf::delete_object(), ink_font_description_from_style(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), objects_query_fontstyle(), Inkscape::Extension::Internal::Wmf::open(), SPIFont::read(), Inkscape::Extension::Internal::Emf::select_font(), Inkscape::Extension::Internal::Wmf::select_font(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::Extension::Internal::PrintEmf::text(), and Inkscape::Extension::Internal::PrintWmf::text().
T<SPAttr::FONT_VARIANT, SPIEnum<SPCSSFontVariant> > SPStyle::font_variant |
Which substyle of the font (CSS 2.
CSS 3 redefines as shorthand)
Definition at line 110 of file style.h.
Referenced by ink_font_description_from_style(), objects_query_fontstyle(), and SPIFont::read().
T<SPAttr::FONT_VARIANT_ALTERNATES, SPIEnum<SPCSSFontVariantAlternates> > SPStyle::font_variant_alternates |
T<SPAttr::FONT_VARIANT_CAPS, SPIEnum<SPCSSFontVariantCaps> > SPStyle::font_variant_caps |
Font variant caps (small caps)
Definition at line 132 of file style.h.
Referenced by getFontFeatureString(), objects_query_fontvariants(), and Inkscape::UI::Widget::FontVariants::update().
T<SPAttr::FONT_VARIANT_EAST_ASIAN, SPIEastAsian> SPStyle::font_variant_east_asian |
Font variant East Asian.
Definition at line 138 of file style.h.
Referenced by getFontFeatureString(), objects_query_fontvariants(), and Inkscape::UI::Widget::FontVariants::update().
T<SPAttr::FONT_VARIANT_LIGATURES, SPILigatures> SPStyle::font_variant_ligatures |
Font variant ligatures.
Definition at line 128 of file style.h.
Referenced by getFontFeatureString(), objects_query_fontvariants(), and Inkscape::UI::Widget::FontVariants::update().
T<SPAttr::FONT_VARIANT_NUMERIC, SPINumeric> SPStyle::font_variant_numeric |
Font variant numeric (numerical formatting)
Definition at line 134 of file style.h.
Referenced by getFontFeatureString(), objects_query_fontvariants(), and Inkscape::UI::Widget::FontVariants::update().
T<SPAttr::FONT_VARIANT_POSITION, SPIEnum<SPCSSFontVariantPosition> > SPStyle::font_variant_position |
Font variant position (subscript/superscript)
Definition at line 130 of file style.h.
Referenced by getFontFeatureString(), objects_query_fontvariants(), and Inkscape::UI::Widget::FontVariants::update().
T<SPAttr::FONT_VARIATION_SETTINGS, SPIFontVariationSettings> SPStyle::font_variation_settings |
Font variation settings (Low level access to OpenType variable font design-coordinate values)
Definition at line 143 of file style.h.
Referenced by ink_font_description_from_style(), and objects_query_fontstyle().
T<SPAttr::FONT_WEIGHT, SPIEnum<SPCSSFontWeight> > SPStyle::font_weight |
Weight of the font.
Definition at line 112 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::Extension::Internal::Wmf::delete_object(), ink_font_description_from_style(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), objects_query_fontstyle(), Inkscape::Extension::Internal::Wmf::open(), SPIFont::read(), Inkscape::Extension::Internal::Emf::select_font(), Inkscape::Extension::Internal::Wmf::select_font(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::Extension::Internal::PrintEmf::text(), and Inkscape::Extension::Internal::PrintWmf::text().
T<SPAttr::IMAGE_RENDERING, SPIEnum<SPImageRendering> > SPStyle::image_rendering |
Definition at line 292 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::renderImage(), and Inkscape::DrawingImage::setStyle().
T<SPAttr::INLINE_SIZE, SPILength> SPStyle::inline_size |
Definition at line 183 of file style.h.
Referenced by Inkscape::UI::Dialog::TextEdit::apply_changes(), SPText::get_frame(), SPText::has_inline_size(), SPText::remove_newlines(), SPText::set_transform(), SPStyle(), and SPText::update().
T<SPAttr::ISOLATION, SPIEnum<SPIsolation> > SPStyle::isolation |
mix-blend-mode: CSS Compositing and Blending Level 1
Definition at line 219 of file style.h.
Referenced by Inkscape::UI::Widget::ObjectCompositeSettings::_isolationValueChanged(), Inkscape::UI::Widget::ObjectCompositeSettings::_subjectChanged(), SPItem::invoke_show(), objects_query_isolation(), set_blend_mode(), and SPItem::update().
T<SPAttr::LETTER_SPACING, SPILengthOrNormal> SPStyle::letter_spacing |
letter spacing (css2 16.4)
Definition at line 153 of file style.h.
Referenced by SPText::_adjustFontsizeRecursive(), Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), objects_query_fontnumbers(), Inkscape::Text::Layout::simulateLayoutUsingKerning(), sp_te_adjust_tspan_letterspacing_screen(), and SPStyle().
T<SPAttr::LINE_HEIGHT, SPILengthOrNormal> SPStyle::line_height |
Line height (css2 10.8.1)
Definition at line 118 of file style.h.
Referenced by SPText::_adjustFontsizeRecursive(), SPText::_buildLayoutInit(), SPFlowtext::_buildLayoutInput(), Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), fix_blank_line(), fix_line_spacing(), Inkscape::UI::Toolbar::TextToolbar::lineheight_unit_changed(), Inkscape::UI::Toolbar::TextToolbar::lineheight_value_changed(), objects_query_fontnumbers(), SPIFont::read(), SPText::set(), sp_te_adjust_line_height(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), and SPStyle().
T<SPAttr::MARKER, SPIString> SPStyle::marker |
Marker list.
Definition at line 266 of file style.h.
Referenced by sp_get_same_style(), and SPStyle().
T<SPAttr::MARKER_END, SPIString> SPStyle::marker_end |
T<SPAttr::MARKER_MID, SPIString> SPStyle::marker_mid |
SPIString* SPStyle::marker_ptrs[SP_MARKER_LOC_QTY] |
Definition at line 270 of file style.h.
Referenced by SPShape::build(), find_references(), SPShape::show(), sp_get_same_style(), SPStyle(), SPShape::update(), and Inkscape::UI::Widget::StrokeStyle::updateAllMarkers().
T<SPAttr::MARKER_START, SPIString> SPStyle::marker_start |
T<SPAttr::MIX_BLEND_MODE, SPIEnum<SPBlendMode> > SPStyle::mix_blend_mode |
Definition at line 220 of file style.h.
Referenced by Inkscape::UI::Widget::ObjectCompositeSettings::_isolationValueChanged(), Inkscape::UI::Widget::ObjectCompositeSettings::_subjectChanged(), Inkscape::UI::Dialog::ObjectsPanel::blendModePopup(), SPItem::invoke_show(), objects_query_blend(), Inkscape::Extension::Internal::CairoRenderContext::renderGlyphtext(), Inkscape::Extension::Internal::CairoRenderContext::renderImage(), Inkscape::Extension::Internal::CairoRenderer::renderItem(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), set_blend_mode(), and SPItem::update().
SPObject* SPStyle::object |
Object we are attached to.
Definition at line 84 of file style.h.
Referenced by _mergeObjectStylesheet(), _mergeObjectStylesheet(), Inkscape::Text::Layout::appendText(), Inkscape::Extension::Internal::PrintEmf::do_clip_if_present(), SPIFilter::merge(), SPIShapes::read(), SPIPaint::read(), SPIFilter::read(), read(), sp_style_filter_ref_modified(), sp_style_object_release(), sp_style_paint_server_ref_modified(), sp_style_set_ipaint_to_uri(), and Inkscape::Text::Layout::InputStreamTextSource::styleGetAlignment().
T<SPAttr::OPACITY, SPIScale24> SPStyle::opacity |
opacity
Definition at line 216 of file style.h.
Referenced by Inkscape::UI::Widget::ObjectCompositeSettings::_subjectChanged(), Inkscape::UI::Dialog::ObjectsPanel::blendModePopup(), gr_drag_style_query(), Inkscape::UI::Tools::InteractiveBooleansTool::hide_selected_objects(), SPItem::invoke_print(), SPItem::invoke_show(), objects_query_opacity(), Inkscape::Display::TranslucencyGroup::setSolidItem(), Inkscape::Extension::Internal::CairoRenderContext::setStateForStyle(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::DrawingShape::setStyle(), Inkscape::Text::Layout::showGlyphs(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), Inkscape::UI::Tools::SelectTool::sp_select_context_reset_opacities(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::UI::Tools::sp_tweak_color_recursive(), Inkscape::UI::Widget::SelectedStyle::update(), and SPItem::update().
T<SPAttr::OVERFLOW_, SPIEnum<SPOverflow> > SPStyle::overflow |
overflow
Definition at line 210 of file style.h.
Referenced by SPHatch::_calculateRenderInfo(), Inkscape::Extension::Internal::CairoRenderContext::_createHatchPainter(), and Inkscape::Extension::Internal::CairoRenderContext::setStateForStyle().
T<SPAttr::PAINT_ORDER, SPIPaintOrder> SPStyle::paint_order |
sigc::connection SPStyle::release_connection |
Definition at line 305 of file style.h.
Referenced by clear(), SPStyle(), and ~SPStyle().
T<SPAttr::SHAPE_INSIDE, SPIShapes> SPStyle::shape_inside |
SVG2 Text Wrapping.
Definition at line 179 of file style.h.
Referenced by SPText::_buildLayoutInit(), Inkscape::UI::Tools::TextTool::_updateCursor(), SPText::get_all_shape_dependencies(), SPText::get_first_rectangle(), Inkscape::ObjectSet::getSiblingState(), SPText::has_shape_inside(), SPText::hide_shape_inside(), SPText::makeEffectiveShapes(), SPObject::release(), SPText::remove_newlines(), SPText::set_transform(), SPStyle(), and text_flow_into_shape().
T<SPAttr::SHAPE_MARGIN, SPILength> SPStyle::shape_margin |
T<SPAttr::SHAPE_PADDING, SPILength> SPStyle::shape_padding |
Definition at line 181 of file style.h.
Referenced by Inkscape::UI::Tools::TextTool::_updateCursor(), SPText::getInclusionShape(), and SPStyle().
T<SPAttr::SHAPE_RENDERING, SPIEnum<SPShapeRendering> > SPStyle::shape_rendering |
Definition at line 293 of file style.h.
Referenced by SPShape::show(), and SPItem::update().
T<SPAttr::SHAPE_SUBTRACT, SPIShapes> SPStyle::shape_subtract |
Definition at line 180 of file style.h.
Referenced by Inkscape::UI::Tools::TextTool::_updateCursor(), SPText::getExclusionShape(), SPText::makeEffectiveShapes(), SPObject::release(), SPStyle(), and text_flow_shape_subtract().
Emitted when the fill paint server changes, meaning it starts pointing to a different object.
Note that this is different from the fill_ps_modified signal, which happens when some of its attributes or children have changed.
Definition at line 322 of file style.h.
Referenced by sp_style_fill_paint_server_ref_changed(), and SPItem::SPItem().
Emitted when the filter changes, meaning it starts pointing to a different object.
Definition at line 333 of file style.h.
Referenced by BlurKnotHolderEntity::on_created(), sp_style_filter_ref_changed(), and SPItem::SPItem().
Emitted when the stroke paint server changes, meaning it starts pointing to a different object.
Definition at line 328 of file style.h.
Referenced by sp_style_stroke_paint_server_ref_changed(), and SPItem::SPItem().
T<SPAttr::SOLID_COLOR, SPIColor> SPStyle::solid_color |
solid-color
Definition at line 232 of file style.h.
Referenced by SPSolidColor::create_drawing_paintserver(), and SPStyle().
T<SPAttr::SOLID_OPACITY, SPIScale24> SPStyle::solid_opacity |
solid-opacity
Definition at line 234 of file style.h.
Referenced by SPSolidColor::create_drawing_paintserver().
T<SPAttr::STOP_COLOR, SPIColor> SPStyle::stop_color |
gradient-stop
Definition at line 284 of file style.h.
Referenced by SPStop::getColor(), and SPStyle().
T<SPAttr::STOP_OPACITY, SPIScale24> SPStyle::stop_opacity |
Definition at line 285 of file style.h.
Referenced by SPStop::getColor().
T<SPAttr::STROKE, SPIPaint> SPStyle::stroke |
stroke
Definition at line 247 of file style.h.
Referenced by SPHatch::_countHrefs(), SPPattern::_countHrefs(), Inkscape::UI::PathManipulator::_getStrokeTolerance(), Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), KnotHolder::add_hatch_knotholder(), SPItem::adjust_gradient(), SPItem::adjust_hatch(), SPItem::adjust_pattern(), clear(), convert_stroke_color(), count_gradient_hrefs(), Inkscape::UI::create_knot_holder(), Inkscape::Extension::Internal::PrintEmf::create_pen(), Inkscape::Extension::Internal::PrintWmf::create_pen(), Inkscape::Extension::Internal::Wmf::delete_object(), SPShape::either_bbox(), Inkscape::Extension::Internal::PrintEmf::fill(), Inkscape::Extension::Internal::PrintWmf::fill(), Inkscape::UI::Tools::MeshTool::fit_mesh_in_bbox(), getFillOrStroke(), getFillOrStroke(), getGradient(), getStrokePaintServer(), getStrokePaintServer(), getStrokeURI(), gr_drag_style_query(), has_stroke(), item_find_paths(), item_to_paths(), Inkscape::LivePathEffect::lpe_shape_convert_stroke_and_fill(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), objects_query_miterlimit(), objects_query_paintorder(), objects_query_strokecap(), objects_query_strokejoin(), objects_query_strokewidth(), Inkscape::Extension::Internal::Wmf::open(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), SPShape::print(), Inkscape::Text::Layout::print(), Inkscape::Extension::Internal::OdfOutput::processGradient(), Inkscape::Extension::Internal::OdfOutput::processStyle(), GrDrag::refreshDraggers(), SPObject::release(), Inkscape::Extension::Internal::CairoRenderContext::renderGlyphtext(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), Inkscape::Extension::Internal::Emf::select_extpen(), Inkscape::Extension::Internal::Emf::select_pen(), Inkscape::Extension::Internal::Wmf::select_pen(), Inkscape::Extension::Internal::CairoRenderContext::setStateForStyle(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), sp_item_set_gradient(), sp_style_paint_server_ref_modified(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::UI::Tools::sp_tweak_color_recursive(), Inkscape::UI::Tools::spdc_apply_style(), SPStyle(), Inkscape::Extension::Internal::PrintLatex::stroke(), stroke_average_width(), Inkscape::ObjectSet::swapFillStroke(), Inkscape::UI::Widget::SelectedStyle::update(), GrDrag::updateDraggers(), Inkscape::UI::Widget::FillNStroke::updateFromPaint(), GrDrag::updateLines(), and ~SPStyle().
T<SPAttr::STROKE_DASHARRAY, SPIDashArray> SPStyle::stroke_dasharray |
stroke-dasharray
Definition at line 257 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), SPItem::adjust_stroke(), Inkscape::Extension::Internal::PrintEmf::create_pen(), Inkscape::Extension::Internal::PrintWmf::create_pen(), Path::DashPolylineFromStyle(), Inkscape::Extension::Internal::Wmf::delete_object(), Inkscape::Extension::Internal::PrintEmf::fill(), Inkscape::Extension::Internal::PrintWmf::fill(), Inkscape::UI::Widget::StrokeStyle::getDashFromStyle(), item_find_paths(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), Inkscape::Extension::Internal::Emf::open(), Inkscape::Extension::Internal::Wmf::open(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), Inkscape::Extension::Internal::Emf::select_extpen(), Inkscape::Extension::Internal::Emf::select_pen(), Inkscape::Extension::Internal::Wmf::select_pen(), sp_get_same_style(), Inkscape::Extension::Internal::PrintEmf::stroke(), Inkscape::Extension::Internal::PrintLatex::stroke(), Inkscape::Extension::Internal::PrintWmf::stroke(), and SPShape::update().
T<SPAttr::STROKE_DASHOFFSET, SPILength> SPStyle::stroke_dashoffset |
stroke-dashoffset
Definition at line 259 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), SPItem::adjust_stroke(), Path::DashPolylineFromStyle(), Inkscape::UI::Widget::StrokeStyle::getDashFromStyle(), Inkscape::NRStyleData::NRStyleData(), SPStyle(), and SPShape::update().
T<SPAttr::STROKE_EXTENSIONS, SPIStrokeExtensions> SPStyle::stroke_extensions |
-inkscape-stroke
Definition at line 263 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), SPItem::adjust_stroke(), Inkscape::NRStyleData::NRStyleData(), objects_query_strokewidth(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::DrawingShape::setStyle(), Inkscape::DrawingText::setStyle(), Inkscape::UI::Widget::SelectedStyle::update(), and Inkscape::UI::Widget::StrokeStyle::updateLine().
T<SPAttr::STROKE_LINECAP, SPIEnum<SPStrokeCapType> > SPStyle::stroke_linecap |
stroke-linecap
Definition at line 251 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), Inkscape::Extension::Internal::PrintEmf::create_pen(), Inkscape::Extension::Internal::PrintWmf::create_pen(), Inkscape::Extension::Internal::Wmf::delete_object(), item_find_paths(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), objects_query_strokecap(), Inkscape::Extension::Internal::Wmf::open(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), Inkscape::Extension::Internal::Emf::select_extpen(), Inkscape::Extension::Internal::Emf::select_pen(), Inkscape::Extension::Internal::Wmf::select_pen(), and Inkscape::UI::Widget::StrokeStyle::updateLine().
T<SPAttr::STROKE_LINEJOIN, SPIEnum<SPStrokeJoinType> > SPStyle::stroke_linejoin |
stroke-linejoin
Definition at line 253 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), Inkscape::Extension::Internal::PrintEmf::create_pen(), Inkscape::Extension::Internal::PrintWmf::create_pen(), Inkscape::Extension::Internal::Wmf::delete_object(), item_find_paths(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), objects_query_strokejoin(), Inkscape::Extension::Internal::Wmf::open(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), Inkscape::Extension::Internal::Emf::select_extpen(), Inkscape::Extension::Internal::Emf::select_pen(), Inkscape::Extension::Internal::Wmf::select_pen(), sp_selected_path_do_offset(), and Inkscape::UI::Widget::StrokeStyle::updateLine().
T<SPAttr::STROKE_MITERLIMIT, SPIFloat> SPStyle::stroke_miterlimit |
stroke-miterlimit
Definition at line 255 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), Inkscape::Extension::Internal::PrintEmf::create_pen(), Inkscape::Extension::Internal::PrintWmf::create_pen(), item_find_paths(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), objects_query_miterlimit(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), sp_selected_path_do_offset(), and Inkscape::UI::Widget::StrokeStyle::updateLine().
T<SPAttr::STROKE_OPACITY, SPIScale24> SPStyle::stroke_opacity |
stroke-opacity
Definition at line 261 of file style.h.
Referenced by Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), convert_stroke_color(), gr_drag_style_query(), Inkscape::NRStyleData::NRStyleData(), objects_query_fillstroke(), Inkscape::UI::Widget::FillNStroke::performUpdate(), Inkscape::Extension::Internal::OdfOutput::processStyle(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), Inkscape::UI::Widget::StyleSwatch::setStyle(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_flowtext_render(), sp_gradient_vector_for_object(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::UI::Tools::spdc_apply_style(), Inkscape::Extension::Internal::PrintLatex::stroke(), Inkscape::ObjectSet::swapFillStroke(), and Inkscape::UI::Widget::SelectedStyle::update().
sigc::connection SPStyle::stroke_ps_changed_connection |
Definition at line 313 of file style.h.
Referenced by clear(), SPIPaint::read(), sp_style_set_ipaint_to_uri(), and ~SPStyle().
sigc::connection SPStyle::stroke_ps_modified_connection |
Definition at line 309 of file style.h.
Referenced by clear(), sp_style_stroke_paint_server_ref_changed(), and ~SPStyle().
T<SPAttr::STROKE_WIDTH, SPILength> SPStyle::stroke_width |
stroke-width
Definition at line 249 of file style.h.
Referenced by Inkscape::UI::PathManipulator::_getStrokeTolerance(), Inkscape::Extension::Internal::CairoRenderContext::_setStrokeStyle(), SPItem::adjust_stroke(), SPHatchPath::bounds(), Inkscape::UI::Widget::calcScaleLineWidth(), Inkscape::LivePathEffect::collectPathsAndWidths(), Inkscape::Extension::Internal::PrintEmf::create_pen(), Inkscape::Extension::Internal::PrintWmf::create_pen(), Inkscape::Extension::Internal::Wmf::delete_object(), Inkscape::LivePathEffect::LPEShowHandles::doBeforeEffect(), Inkscape::LivePathEffect::LPEJoinType::doOnApply(), Inkscape::LivePathEffect::LPEPowerStroke::doOnApply(), Inkscape::LivePathEffect::LPETaperStroke::doOnApply(), Inkscape::Extension::Internal::PrintEmf::fill(), Inkscape::Extension::Internal::PrintWmf::fill(), Inkscape::UI::Tools::MarkerTool::get_marker_transform(), SPShape::get_markers(), Inkscape::UI::Widget::StrokeStyle::getDashFromStyle(), item_find_paths(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), objects_query_strokewidth(), Inkscape::Extension::Internal::Wmf::open(), Inkscape::Extension::Internal::Emf::output_style(), Inkscape::Extension::Internal::Wmf::output_style(), SPShape::print(), Inkscape::Extension::Internal::OdfOutput::processStyle(), Inkscape::Extension::Internal::CairoRenderContext::renderPathVector(), Inkscape::Extension::Internal::Emf::select_extpen(), Inkscape::Extension::Internal::Emf::select_pen(), Inkscape::Extension::Internal::Wmf::select_pen(), Inkscape::UI::Widget::StrokeStyle::setStrokeDash(), Inkscape::UI::Widget::StyleSwatch::setStyle(), sp_get_same_style(), Inkscape::Extension::Internal::sp_shape_render(), sp_shape_update_marker_view(), Inkscape::UI::Tools::spdc_create_single_dot(), SPStyle(), Inkscape::Extension::Internal::PrintLatex::stroke(), stroke_average_width(), Inkscape::UI::Widget::SelectedStyle::update(), SPHatchPath::update(), SPShape::update(), and Inkscape::UI::Widget::StrokeStyle::updateLine().
T<SPAttr::TEXT_ALIGN, SPIEnum<SPCSSTextAlign> > SPStyle::text_align |
text alignment (css2 16.2) (not to be confused with text-anchor)
Definition at line 150 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::UI::Toolbar::TextToolbar::align_mode_changed(), objects_query_fontstyle(), SPFlowtext::set(), and Inkscape::Text::Layout::InputStreamTextSource::styleGetAlignment().
T<SPAttr::TEXT_ANCHOR, SPIEnum<SPTextAnchor> > SPStyle::text_anchor |
Anchor of the text (svg1.1 10.9.1)
Definition at line 173 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), SPText::get_frame(), insert_text_fallback(), objects_query_fontnumbers(), Inkscape::Extension::Internal::LaTeXTextRenderer::sp_text_render(), Inkscape::Text::Layout::InputStreamTextSource::styleGetAlignment(), and text_to_glyphs().
T<SPAttr::TEXT_DECORATION, SPITextDecoration> SPStyle::text_decoration |
text decoration (css2 16.3.1)
Definition at line 188 of file style.h.
Referenced by Inkscape::NRStyleData::NRStyleData(), and SPStyle().
T<SPAttr::TEXT_DECORATION_COLOR, SPIColor> SPStyle::text_decoration_color |
Definition at line 193 of file style.h.
Referenced by Inkscape::NRStyleData::NRStyleData(), SPITextDecoration::read(), and SPStyle().
SPITextDecorationData SPStyle::text_decoration_data |
Definition at line 197 of file style.h.
Referenced by Inkscape::NRStyleData::NRStyleData(), and Inkscape::Text::Layout::show().
T<SPAttr::TEXT_DECORATION_FILL, SPIPaint> SPStyle::text_decoration_fill |
T<SPAttr::TEXT_DECORATION_LINE, SPITextDecorationLine> SPStyle::text_decoration_line |
CSS 3 2.1, 2.2, 2.3.
Not done yet, test_decoration3 = css3 2.4
Definition at line 191 of file style.h.
Referenced by Inkscape::Extension::Internal::Wmf::delete_object(), SPITextDecoration::equals(), SPITextDecoration::get_value(), Inkscape::Extension::Internal::Emf::myEnhMetaFileProc(), Inkscape::Extension::Internal::Wmf::myMetaFileProc(), Inkscape::NRStyleData::NRStyleData(), Inkscape::Extension::Internal::Wmf::open(), SPITextDecoration::read(), Inkscape::Extension::Internal::Emf::select_font(), Inkscape::Extension::Internal::Wmf::select_font(), Inkscape::Extension::Internal::PrintEmf::text(), Inkscape::Extension::Internal::PrintWmf::text(), and SPITextDecoration::write().
T<SPAttr::TEXT_DECORATION_STROKE, SPIPaint> SPStyle::text_decoration_stroke |
T<SPAttr::TEXT_DECORATION_STYLE, SPITextDecorationStyle> SPStyle::text_decoration_style |
Definition at line 192 of file style.h.
Referenced by Inkscape::NRStyleData::NRStyleData(), and SPITextDecoration::read().
T<SPAttr::TEXT_INDENT, SPILength> SPStyle::text_indent |
T<SPAttr::TEXT_ORIENTATION, SPIEnum<SPCSSTextOrientation> > SPStyle::text_orientation |
Text orientation (CSS Writing Modes 3)
Definition at line 165 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), and objects_query_writing_modes().
T<SPAttr::TEXT_RENDERING, SPIEnum<SPTextRendering> > SPStyle::text_rendering |
T<SPAttr::TEXT_TRANSFORM, SPIEnum<SPCSSTextTransform> > SPStyle::text_transform |
T<SPAttr::VECTOR_EFFECT, SPIVectorEffect> SPStyle::vector_effect |
vector effect
Definition at line 237 of file style.h.
Referenced by Inkscape::DrawingItem::setStyle(), Inkscape::DrawingShape::setStyle(), and Inkscape::DrawingText::setStyle().
T<SPAttr::VISIBILITY, SPIEnum<SPVisibility> > SPStyle::visibility |
T<SPAttr::WHITE_SPACE, SPIEnum<SPWhiteSpace> > SPStyle::white_space |
white space (svg2)
Definition at line 176 of file style.h.
Referenced by SPText::_buildLayoutInit(), SPString::read_content(), and text_flow_into_shape().
T<SPAttr::WORD_SPACING, SPILengthOrNormal> SPStyle::word_spacing |
word spacing (also css2 16.4)
Definition at line 155 of file style.h.
Referenced by SPText::_adjustFontsizeRecursive(), Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), objects_query_fontnumbers(), Inkscape::Text::Layout::simulateLayoutUsingKerning(), and SPStyle().
T<SPAttr::WRITING_MODE, SPIEnum<SPCSSWritingMode> > SPStyle::writing_mode |
Writing mode (svg1.1 10.7.2, CSS Writing Modes 3)
Definition at line 163 of file style.h.
Referenced by Inkscape::UI::Toolbar::TextToolbar::_selectionChanged(), Inkscape::UI::Toolbar::TextToolbar::align_mode_changed(), SPText::is_horizontal(), objects_query_writing_modes(), sp_te_get_average_linespacing(), and Inkscape::Text::Layout::InputStreamTextSource::styleGetBlockProgression().