/inkscape/src/libgdl/ |
H A D | gdl-dock-item-button-image.c | 38 GtkStyle *style; local 50 style = gtk_widget_get_style (widget); 51 g_return_val_if_fail (style != NULL, 0); 52 color = &style->fg[GTK_STATE_NORMAL];
|
/inkscape/src/display/ |
H A D | nr-style.cpp | 12 #include "display/nr-style.h" 13 #include "style.h" 95 void NRStyle::set(SPStyle *style, SPStyle *context_style) argument 98 const SPIPaint *style_fill = &(style->fill); 115 SPPaintServer* server = style->getFillPaintServer(); 136 fill.opacity = SP_SCALE24_TO_FLOAT(style->fill_opacity.value); 138 switch (style->fill_rule.computed) { 149 const SPIPaint *style_stroke = &(style->stroke); 165 SPPaintServer* server = style->getStrokePaintServer(); 185 stroke.opacity = SP_SCALE24_TO_FLOAT(style [all...] |
H A D | nr-filter-primitive.cpp | 23 #include "style.h" 175 void FilterPrimitive::setStyle(SPStyle *style) argument 177 if( style != _style ) { 178 if (style) sp_style_ref(style); 180 _style = style; 191 c-file-style:"stroustrup"
|
H A D | drawing-shape.cpp | 29 #include "style.h" 65 DrawingShape::setStyle(SPStyle *style, SPStyle *context_style) argument 67 DrawingItem::setStyle(style, context_style); // Must be first 323 // this overrides display mode and stroke style considerations 407 c-file-style:"stroustrup"
|
/inkscape/src/ |
H A D | sp-line.cpp | 15 #include "style.h" 75 SPStyle const *style = this->style; local 79 double const em = style->font_size.computed; 165 c-file-style:"stroustrup"
|
H A D | print.cpp | 50 sp_print_fill(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, argument 53 return ctx->module->fill(pathv, ctm, style, pbox, dbox, bbox); 57 sp_print_stroke(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, argument 60 return ctx->module->stroke(pathv, ctm, style, pbox, dbox, bbox); 66 Geom::Affine const &transform, SPStyle const *style) 68 return ctx->module->image(px, w, h, rs, transform, style); 72 SPStyle const *style) 74 return ctx->module->text(text, p, style); 131 c-file-style:"stroustrup" 64 sp_print_image_R8G8B8A8_N(SPPrintContext *ctx, guchar *px, unsigned int w, unsigned int h, unsigned int rs, Geom::Affine const &transform, SPStyle const *style) argument 71 sp_print_text(SPPrintContext *ctx, char const *text, Geom::Point p, SPStyle const *style) argument
|
H A D | sp-font-face.cpp | 263 std::vector<FontFaceStyleType> style; local 264 style.push_back(SP_FONTFACE_STYLE_ALL); 265 this->font_style = style; 321 this->readAttr( "font-style" ); 379 std::vector<FontFaceStyleType> style; local 394 style = sp_read_fontFaceStyleType(value); 396 if (this->font_style.size() != style.size()){ 397 this->font_style = style; 400 for (unsigned int i=0;i<style.size();i++){ 401 if (style[ [all...] |
H A D | filter-chemistry.cpp | 20 #include "style.h" 22 #include "desktop-style.h" 46 SPStyle *style = o->style; local 47 if (style 48 && style->filter.set 49 && style->getFilter() == filter) 109 sp_repr_css_change(repr, css, "style"); 219 sp_repr_css_change(repr, css, "style"); 280 sp_repr_css_change(repr, css, "style"); [all...] |
H A D | id-clash.cpp | 24 #include "style.h" 104 SPCSSAttr *css = sp_repr_css_attr(repr_elem, "style"); 134 SPStyle *style = elem->style; local 139 const SPIPaint *paint = &(style->*prop); 151 const SPIFilter *filter = &(style->filter); 164 const gchar *value = style->marker_ptrs[i]->value; 283 SPCSSAttr *style = sp_repr_css_attr(it->elem->getRepr(), "style"); local 285 sp_repr_css_set_property(style, i 351 SPCSSAttr *style = sp_repr_css_attr(it->elem->getRepr(), "style"); local [all...] |
H A D | path-chemistry.cpp | 32 #include "style.h" 89 // remember the position, id, transform and style of the topmost path, they will be assigned to the combined one 93 char const *style = NULL; local 124 // FIXME: merge styles of combined objects instead of using the first one's style 125 style = first->getRepr()->attribute("style"); 151 // restore id, transform, path effect, and style 156 repr->setAttribute("style", style); 227 gchar *style local [all...] |
H A D | sp-flowregion.cpp | 14 #include "style.h" 388 SPStyle* style = u_child->style; local 389 if ( style && style->fill_rule.computed == SP_WIND_RULE_EVENODD ) { 407 c-file-style:"stroustrup"
|
H A D | svg-view-widget.cpp | 108 GtkStyle *style = gtk_style_copy (gtk_widget_get_style (vw->canvas)); local 109 style->bg[GTK_STATE_NORMAL] = style->white; 110 gtk_widget_set_style (vw->canvas, style); 269 c-file-style:"stroustrup"
|
/inkscape/src/extension/ |
H A D | print.cpp | 79 Print::fill (Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, argument 82 return imp->fill (this, pathv, ctm, style, pbox, dbox, bbox); 86 Print::stroke (Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, argument 89 return imp->stroke (this, pathv, ctm, style, pbox, dbox, bbox); 94 const Geom::Affine &transform, const SPStyle *style) 96 return imp->image (this, px, w, h, rs, transform, style); 100 Print::text (char const *text, Geom::Point const &p, SPStyle const *style) argument 102 return imp->text (this, text, p, style); 123 c-file-style:"stroustrup" 93 image(unsigned char *px, unsigned int w, unsigned int h, unsigned int rs, const Geom::Affine &transform, const SPStyle *style) argument
|
/inkscape/src/trace/ |
H A D | trace.h | 52 style(theStyle), 75 { return style; } 93 style = other.style; 98 std::string style; member in class:Inkscape::Trace::TracingEngineResult 132 * return a style attribute and the path data that is
|
/inkscape/src/ui/widget/ |
H A D | object-composite-settings.cpp | 21 #include "desktop-style.h" 27 #include "style.h" 35 #include "ui/widget/style-subject.h" 135 SPStyle *style = item->style; local 136 g_assert(style != NULL); 145 if (radius == 0 && item->style->filter.set 146 && filter_is_single_gaussian_blur(SP_FILTER(item->style->getFilter()))) { 288 c-file-style:"stroustrup"
|
/inkscape/src/extension/internal/ |
H A D | latex-pstricks.cpp | 31 #include "style.h" 181 Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style, 188 if (style->fill.isColor()) { 195 fill_opacity=SP_SCALE24_TO_FLOAT(style->fill_opacity.value); 196 sp_color_get_rgb_floatv(&style->fill.value.color, rgb); 216 Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style, 223 if (style->stroke.isColor()) { 231 stroke_opacity=SP_SCALE24_TO_FLOAT(style->stroke_opacity.value); 232 sp_color_get_rgb_floatv(&style->stroke.value.color, rgb); 235 os << "\\pscustom[linewidth=" << style 180 fill(Inkscape::Extension::Print * , Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style, Geom::OptRect const & , Geom::OptRect const & , Geom::OptRect const & ) argument 215 stroke(Inkscape::Extension::Print * , Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style, Geom::OptRect const & , Geom::OptRect const & , Geom::OptRect const & ) argument [all...] |
H A D | odf.h | 173 style = other.style; 189 style = "none"; 210 style != other.style || 237 Glib::ustring style; member in class:Inkscape::Extension::Internal::GradientInfo 287 Uses a two-stage lookup to avoid style duplication. 292 //element id -> style entry name 294 //style entry name -> style inf [all...] |
/inkscape/src/extension/internal/pdfinput/ |
H A D | svg-builder.h | 61 * emit only the differences in style settings from the parent state. 81 bool style_changed; // Set to true if style has to be reset 82 SPCSSAttr *style; member in struct:Inkscape::Extension::Internal::SvgGlyph 204 SPCSSAttr *_font_style; // Current font style 243 c-file-style:"stroustrup"
|
/inkscape/src/libnrtype/ |
H A D | Layout-TNG-Input.cpp | 22 #include "style.h" 43 void Layout::appendText(Glib::ustring const &text, SPStyle *style, void *source_cookie, OptionalTextTagAttrs const *optional_attributes, unsigned optional_attributes_offset, Glib::ustring::const_iterator text_begin, Glib::ustring::const_iterator text_end) argument 45 if (style == NULL) return; 53 new_source->style = style; 54 sp_style_ref(style); 131 switch( style->writing_mode.computed ) { 151 return ((SPCSSTextOrientation)style->text_orientation.computed); 156 return ((SPCSSBaseline)style->dominant_baseline.computed); 172 return text_anchor_to_alignment(style [all...] |
/inkscape/src/ui/dialog/ |
H A D | font-substitution.cpp | 41 #include "style.h" 143 * a. Build up a list of the objects with fonts defined in the style attribute 159 SPStyle *style = item->style; local 193 if (style) { 195 if (style->font_family.set) 196 style_font = style->font_family.value; 197 else if (style->font_specification.set) 198 style_font = style->font_specification.value; 199 else if (style [all...] |
/inkscape/src/widgets/ |
H A D | button.cpp | 143 GtkStyle *style = gtk_widget_get_style(widget); local 152 requisition->width += 2 + 2 * MAX(2, style->xthickness); 153 requisition->height += 2 + 2 * MAX(2, style->ythickness); 200 // The Inkscape style is no-relief buttons 303 c-file-style:"stroustrup"
|
H A D | dash-selector.cpp | 27 #include "style.h" 121 SPStyle style; local 125 style.readFromPrefs( *i ); 127 if (!style.stroke_dasharray.values.empty()) { 128 dashes[pos] = g_new (double, style.stroke_dasharray.values.size() + 1); 131 for (; i < style.stroke_dasharray.values.size(); i++) { 132 d[i] = style.stroke_dasharray.values[i]; 303 c-file-style:"stroustrup"
|
H A D | mesh-toolbar.cpp | 35 #include "style.h" 63 #include "desktop-style.h" 95 SPStyle *style = item->style; local 97 if (style && (style->fill.isPaintserver())) { 98 SPPaintServer *server = item->style->getFillPaintServer(); 122 if (style && (style->stroke.isPaintserver())) { 123 SPPaintServer *server = item->style 222 SPStyle *style = item->style; local [all...] |
H A D | paint-selector.h | 73 GtkWidget *style; member in struct:SPPaintSelector 94 static Mode getModeForStyle(SPStyle const & style, FillOrStroke kind); 159 c-file-style:"stroustrup"
|
/inkscape/share/extensions/ |
H A D | dxf_input.py | 40 attribs = {'x': '%f' % x, 'y': '%f' % y, 'style': 'font-size: %.1fpx; fill: %s; font-family: %s' % (size, color, options.font)} 79 attribs = {'d': path, 'style': style} 111 attribs = {'d': path, 'style': style} 115 attribs = {'d': path, 'style': style} 119 attribs = {'d': path, 'style': style} 144 attribs = {'d': path, 'style' 494 style = simplestyle.formatStyle({'stroke': '%s' % color, 'fill': 'none'}) variable 501 style = simplestyle.formatStyle({'stroke': '%s' % color, 'fill': 'none', 'stroke-width': '%.1f' % w}) variable [all...] |