Searched refs:stroke (Results 1 - 12 of 12) sorted by relevance
/haiku/src/libs/glut/ |
H A D | glut_stroke.c | 20 const StrokeRec *stroke; local 36 for (i = ch->num_strokes, stroke = ch->stroke; 37 i > 0; i--, stroke++) { 39 for (j = stroke->num_coords, coord = stroke->coord;
|
H A D | glutstroke.h | 31 const StrokeRec *stroke; member in struct:__anon1828
|
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | DocumentBuilder.cpp | 105 if (shape->stroke.type != NSVG_PAINT_NONE) 209 StrokeTransformer* stroke = NULL; local 212 stroke = new (nothrow) StrokeTransformer(shape->VertexSource()); 213 paint = &svgShape->stroke; 215 if (stroke) { 216 stroke->width(svgShape->strokeWidth); 219 stroke->line_cap(agg::butt_cap); 222 stroke->line_cap(agg::round_cap); 225 stroke->line_cap(agg::square_cap); 231 stroke [all...] |
H A D | SVGExporter.cpp | 230 // the transformation to the points of the generated stroke 239 StrokeTransformer* stroke local 241 if (stroke) { 242 helper << "style=\"fill:none; stroke:" << color; 244 helper << "; stroke-opacity:"; 247 helper << "; stroke-width:"; 248 append_float(helper, stroke->width()); 250 if (stroke->line_cap() != agg::butt_cap) { 251 helper << "; stroke-linecap:"; 252 helper << convert_cap_mode_svg(stroke [all...] |
H A D | nanosvg.h | 142 NSVGpaint stroke; // Stroke paint member in struct:NSVGshape 997 // Set stroke 999 shape->stroke.type = NSVG_PAINT_NONE; 1001 shape->stroke.type = NSVG_PAINT_COLOR; 1002 shape->stroke.color = attr->strokeColor; 1003 shape->stroke.color |= (unsigned int)(attr->strokeOpacity*255) << 24; 1008 shape->stroke.gradient = nsvg__createGradient(p, attr->strokeGradient, localBounds, &shape->stroke.type); 1009 if (shape->stroke.gradient == NULL) 1010 shape->stroke [all...] |
/haiku/src/libs/icon/flat_icon/ |
H A D | FlatIconImporter.cpp | 502 StrokeTransformer* stroke local 508 if (!stroke 512 delete stroke; 515 stroke->width(width - 128.0); 517 stroke->line_join((agg::line_join_e)lineJoin); 519 stroke->line_cap((agg::line_cap_e)lineCap); 520 stroke->miter_limit(miterLimit); 521 return stroke;
|
/haiku/src/apps/icon-o-matic/import_export/flat_icon/ |
H A D | FlatIconExporter.cpp | 498 } else if (StrokeTransformer* stroke 500 // stroke 503 uint8 width = (uint8)((int8)stroke->width() + 128); 504 uint8 lineOptions = (uint8)stroke->line_join(); 505 lineOptions |= ((uint8)stroke->line_cap()) << 4; 506 uint8 miterLimit = (uint8)stroke->miter_limit();
|
/haiku/src/tools/html5_remote_desktop/ |
H A D | HaikuRemoteDesktop.js | 1417 context.stroke(); 1459 rect.applyAsEllipse(context, context.stroke); 1512 context.stroke(); 1529 context.stroke(); 1561 context.stroke(); 1606 context.stroke(); 1640 context.stroke();
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Painter.cpp | 11 rendering pipe-lines for stroke, fills, bitmap and text rendering. 1194 // align the stroke 1817 agg::conv_stroke<VertexSource> stroke(path); 1818 stroke.width(fPenSize); 1820 stroke.line_cap(agg_line_cap_mode_for(capMode)); 1821 stroke.line_join(agg_line_join_mode_for(fLineJoinMode)); 1822 stroke.miter_limit(fMiterLimit); 1825 return _RasterizePath(stroke); 1827 stroke.approximation_scale(fTransform.scale()); 1830 stroke, fTransfor [all...] |
/haiku/src/tests/kits/interface/picture/ |
H A D | SVGViewView.cpp | 889 if (HasAttribute(attributes, "stroke")) { 890 const char *stroke = GetStringAttribute(attributes, "stroke"); local 891 if (strcasecmp(stroke, "none") == 0) 893 else if (strcasecmp(stroke, "currentColor") == 0) { 898 fState.fStrokeColor = GetColorAttribute(attributes, "stroke", fState.fFillColor.alpha); 905 if (HasAttribute(attributes, "stroke-opacity")) { 906 fState.fStrokeColor.alpha = (uint8)(GetFloatAttribute(attributes, "stroke-opacity") * alpha); 930 if (HasAttribute(attributes, "stroke-width")) { 931 fState.fStrokeWidth = GetFloatAttribute(attributes, "stroke [all...] |
/haiku/src/tests/servers/app/painter/ |
H A D | Painter.cpp | 1382 agg::conv_stroke<VertexSource> stroke(path); 1383 stroke.width(width); 1385 fRasterizer->add_path(stroke);
|
/haiku/src/add-ons/control_look/BeControlLook/ |
H A D | BeControlLook.cpp | 752 rgb_color stroke = tint_color(base, 1.629); // 80 local 760 view->SetHighColor(stroke); 772 view->SetHighColor(stroke); 783 view->SetHighColor(stroke); 794 view->SetHighColor(stroke); 2667 // stroke frame to draw four corners, then write on top
|
Completed in 149 milliseconds