Lines Matching defs:style

12 #include "display/nr-style.h"
13 #include "style.h"
95 void NRStyle::set(SPStyle *style, SPStyle *context_style)
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->stroke_opacity.value);
186 stroke_width = style->stroke_width.computed;
187 switch (style->stroke_linecap.computed) {
200 switch (style->stroke_linejoin.computed) {
213 miter_limit = style->stroke_miterlimit.value;
219 n_dash = style->stroke_dasharray.values.size();
221 dash_offset = style->stroke_dashoffset.value;
224 dash[i] = style->stroke_dasharray.values[i];
233 switch (style->paint_order.layer[i]) {
250 if(style->text_decoration_line.inherit ){ text_decoration_line |= TEXT_DECORATION_LINE_INHERIT; }
251 if(style->text_decoration_line.underline ){ text_decoration_line |= TEXT_DECORATION_LINE_UNDERLINE + TEXT_DECORATION_LINE_SET; }
252 if(style->text_decoration_line.overline ){ text_decoration_line |= TEXT_DECORATION_LINE_OVERLINE + TEXT_DECORATION_LINE_SET; }
253 if(style->text_decoration_line.line_through){ text_decoration_line |= TEXT_DECORATION_LINE_LINETHROUGH + TEXT_DECORATION_LINE_SET; }
254 if(style->text_decoration_line.blink ){ text_decoration_line |= TEXT_DECORATION_LINE_BLINK + TEXT_DECORATION_LINE_SET; }
257 if(style->text_decoration_style.inherit ){ text_decoration_style |= TEXT_DECORATION_STYLE_INHERIT; }
258 if(style->text_decoration_style.solid ){ text_decoration_style |= TEXT_DECORATION_STYLE_SOLID + TEXT_DECORATION_STYLE_SET; }
259 if(style->text_decoration_style.isdouble ){ text_decoration_style |= TEXT_DECORATION_STYLE_ISDOUBLE + TEXT_DECORATION_STYLE_SET; }
260 if(style->text_decoration_style.dotted ){ text_decoration_style |= TEXT_DECORATION_STYLE_DOTTED + TEXT_DECORATION_STYLE_SET; }
261 if(style->text_decoration_style.dashed ){ text_decoration_style |= TEXT_DECORATION_STYLE_DASHED + TEXT_DECORATION_STYLE_SET; }
262 if(style->text_decoration_style.wavy ){ text_decoration_style |= TEXT_DECORATION_STYLE_WAVY + TEXT_DECORATION_STYLE_SET; }
277 SPStyle* style_td = style;
278 if ( style->text_decoration.style_td ) style_td = style->text_decoration.style_td;
282 if( style->text_decoration_color.set ||
283 style->text_decoration_color.inherit ||
284 style->text_decoration_color.currentcolor ) {
286 if(style->fill.isPaintserver() || style->fill.isColor()) {
288 text_decoration_fill.set(style->text_decoration_color.value.color);
294 if(style->stroke.isPaintserver() || style->stroke.isColor()) {
296 text_decoration_stroke.set(style->text_decoration_color.value.color);
326 phase_length = style->text_decoration_data.phase_length;
327 tspan_line_start = style->text_decoration_data.tspan_line_start;
328 tspan_line_end = style->text_decoration_data.tspan_line_end;
329 tspan_width = style->text_decoration_data.tspan_width;
330 ascender = style->text_decoration_data.ascender;
331 descender = style->text_decoration_data.descender;
332 underline_thickness = style->text_decoration_data.underline_thickness;
333 underline_position = style->text_decoration_data.underline_position;
334 line_through_thickness = style->text_decoration_data.line_through_thickness;
335 line_through_position = style->text_decoration_data.line_through_position;
336 font_size = style->font_size.computed;
339 text_direction = style->direction.computed;
494 c-file-style:"stroustrup"