Home
last modified time | relevance | path

Searched refs:stroke (Results 1 – 25 of 225) sorted by relevance

123456789

/external/ImageMagick/www/source/
Dpiechart.mvg7 stroke 'blue'
8 stroke-width 1
14 stroke-width 1
19 stroke 'black'
20 stroke-width 5
26 stroke-width 1
32 stroke-width 1
37 stroke 'black'
38 stroke-width 4
43 stroke 'black'
[all …]
/external/ImageMagick/PerlMagick/demo/
Dpiddle.pl16 $image->Draw(primitive=>'line',points=>"$i,0 $i,300",stroke=>"#ccf");
17 $image->Draw(primitive=>'line',points=>"0,$i 300,$i",stroke=>"#ccf");
22 $image->Draw(primitive=>'RoundRectangle',fill=>'blue',stroke=>'maroon',
28 fill=>'none',stroke=>'black',strokewidth=>4);
32 $image->Draw(primitive=>'line',points=>"10,200 20,190",stroke=>red);
36 $image->Draw(primitive=>'circle',stroke=>'none',fill=>'yellow',,
38 $image->Draw(primitive=>'Path',stroke=>'none',fill=>'blue',strokewidth=>4,
40 $image->Draw(primitive=>'circle',stroke=>'black',fill=>'none',strokewidth=>4,
46 points=>"160,120 130,190 210,145 110,145 190,190 160,120",stroke=>red,
51 $image->Draw(primitive=>'line',points=>'200,260 200,200',stroke=>yellow,
[all …]
Dshapes.pl19 $image->Draw(stroke=>'red',primitive=>'Ellipse',stroke=>'black',fill=>'red',
21 $image->Draw(primitive=>'Polygon',fill=>'none',stroke=>'black',strokewidth=>5,
Dannotate.pl19 $label->Draw(primitive=>'line',points=>"300,100 300,500",stroke=>'#600');
20 $label->Draw(primitive=>'line',points=>"100,300 500,300",stroke=>'#600');
22 stroke=>'#600');
/external/skia/src/gpu/
DGrPath.cpp15 inline static bool compute_key_for_line_path(const SkPath& path, const GrStrokeInfo& stroke, in compute_key_for_line_path() argument
25 int strokeDataCnt = stroke.computeUniqueKeyFragmentData32Cnt(); in compute_key_for_line_path()
31 stroke.asUniqueKeyFragment(&builder[kBaseData32Cnt]); in compute_key_for_line_path()
36 inline static bool compute_key_for_oval_path(const SkPath& path, const GrStrokeInfo& stroke, in compute_key_for_oval_path() argument
40 if (stroke.isDashed() || !path.isOval(&rect)) { in compute_key_for_oval_path()
47 int strokeDataCnt = stroke.computeUniqueKeyFragmentData32Cnt(); in compute_key_for_oval_path()
53 stroke.asUniqueKeyFragment(&builder[kBaseData32Cnt]); in compute_key_for_oval_path()
61 inline static bool compute_key_for_simple_path(const SkPath& path, const GrStrokeInfo& stroke, in compute_key_for_simple_path() argument
112 const int strokeDataCnt = stroke.computeUniqueKeyFragmentData32Cnt(); in compute_key_for_simple_path()
157 stroke.asUniqueKeyFragment(&builder[baseData32Cnt]); in compute_key_for_simple_path()
[all …]
DGrOvalRenderer.h28 const SkStrokeRec& stroke,
33 const SkStrokeRec& stroke,
42 const SkStrokeRec& stroke);
46 const SkStrokeRec& stroke);
50 const SkStrokeRec& stroke);
DGrPath.h22 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStrokeInfo& stroke) in GrPath() argument
28 , fStroke(stroke) in GrPath()
33 static void ComputeKey(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key,
40 bool isEqualTo(const SkPath& path, const GrStrokeInfo& stroke) const;
DGrOvalRenderer.cpp75 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix, in Create() argument
77 return new CircleEdgeEffect(color, stroke, localMatrix, usesLocalCoords); in Create()
175 CircleEdgeEffect(GrColor color, bool stroke, const SkMatrix& localMatrix, bool usesLocalCoords) in CircleEdgeEffect() argument
185 fStroke = stroke; in CircleEdgeEffect()
222 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix, in Create() argument
224 return new EllipseEdgeEffect(color, stroke, localMatrix, usesLocalCoords); in Create()
343 EllipseEdgeEffect(GrColor color, bool stroke, const SkMatrix& localMatrix, in EllipseEdgeEffect() argument
355 fStroke = stroke; in EllipseEdgeEffect()
585 const SkStrokeRec& stroke, in CreateOvalBatch() argument
589 return CreateCircleBatch(color, viewMatrix, oval, stroke); in CreateOvalBatch()
[all …]
DGrPathRenderer.h66 StencilSupport getStencilSupport(const SkPath& path, const GrStrokeInfo& stroke) const { in getStencilSupport() argument
68 return this->onGetStencilSupport(path, stroke); in getStencilSupport()
212 static bool IsStrokeHairlineOrEquivalent(const GrStrokeInfo& stroke, const SkMatrix& matrix, in IsStrokeHairlineOrEquivalent() argument
214 if (stroke.isDashed()) { in IsStrokeHairlineOrEquivalent()
217 if (stroke.isHairlineStyle()) { in IsStrokeHairlineOrEquivalent()
223 return stroke.getStyle() == SkStrokeRec::kStroke_Style && in IsStrokeHairlineOrEquivalent()
224 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage); in IsStrokeHairlineOrEquivalent()
DGrSWMaskHelper.cpp124 void GrSWMaskHelper::draw(const SkPath& path, const SkStrokeRec& stroke, SkRegion::Op op, in draw() argument
128 if (stroke.isHairlineStyle()) { in draw()
132 if (stroke.isFillStyle()) { in draw()
136 paint.setStrokeJoin(stroke.getJoin()); in draw()
137 paint.setStrokeCap(stroke.getCap()); in draw()
138 paint.setStrokeWidth(stroke.getWidth()); in draw()
316 const SkStrokeRec& stroke, in DrawPathMaskToTexture() argument
326 helper.draw(path, stroke, SkRegion::kReplace_Op, antiAlias, 0xFF); in DrawPathMaskToTexture()
/external/libxml2/test/
Dsvg32 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
5 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
8 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
11 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
14 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
17 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
20 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
23 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
26 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
29 <g style="fill: #ffffff; stroke:#000000; stroke-width:0.172">
[all …]
/external/skia/src/gpu/gl/
DGrGLPath.cpp244 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke) { in InitPathObjectStroke() argument
245 SkASSERT(stroke.needToApply()); in InitPathObjectStroke()
246 SkASSERT(!stroke.isDashed()); in InitPathObjectStroke()
247 SkASSERT(!stroke.isHairlineStyle()); in InitPathObjectStroke()
249 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); in InitPathObjectStroke()
251 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter()))); in InitPathObjectStroke()
252 GrGLenum join = join_to_gl_join(stroke.getJoin()); in InitPathObjectStroke()
254 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); in InitPathObjectStroke()
274 const GrStrokeInfo* stroke = &origStroke; in GrGLPath() local
277 if (stroke->isDashed()) { in GrGLPath()
[all …]
DGrGLPathRange.cpp14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStrokeInfo& stroke) in GrGLPathRange() argument
16 fStroke(stroke), in GrGLPathRange()
27 const GrStrokeInfo& stroke) in GrGLPathRange() argument
29 fStroke(stroke), in GrGLPathRange()
73 const GrStrokeInfo* stroke = &fStroke; in onInitPath() local
82 if (!stroke->applyDashToPath(tmpPath.init(), &tmpStroke, *skPath)) { in onInitPath()
86 stroke = &tmpStroke; in onInitPath()
88 if (stroke->needToApply()) { in onInitPath()
92 if (!stroke->applyToPath(tmpPath.get(), *tmpPath.get())) { in onInitPath()
/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_state.c54 state->stroke.line_width.f = 1.0f; in vg_init_state()
55 state->stroke.line_width.i = 1; in vg_init_state()
56 state->stroke.cap_style = VG_CAP_BUTT; in vg_init_state()
57 state->stroke.join_style = VG_JOIN_MITER; in vg_init_state()
58 state->stroke.miter_limit.f = 4.0f; in vg_init_state()
59 state->stroke.miter_limit.i = 4; in vg_init_state()
60 state->stroke.dash_pattern_num = 0; in vg_init_state()
61 state->stroke.dash_phase.f = 0.0f; in vg_init_state()
62 state->stroke.dash_phase.i = 0; in vg_init_state()
63 state->stroke.dash_phase_reset = VG_FALSE; in vg_init_state()
Dapi_params.c111 state->stroke.line_width.f = value; in vegaSetf()
112 state->stroke.line_width.i = float_to_int_floor(*((VGuint*)(&value))); in vegaSetf()
115 state->stroke.miter_limit.f = value; in vegaSetf()
116 state->stroke.miter_limit.i = float_to_int_floor(*((VGuint*)(&value))); in vegaSetf()
119 state->stroke.dash_phase.f = value; in vegaSetf()
120 state->stroke.dash_phase.i = float_to_int_floor(*((VGuint*)(&value))); in vegaSetf()
186 state->stroke.line_width.f = value; in vegaSeti()
187 state->stroke.line_width.i = value; in vegaSeti()
194 state->stroke.cap_style = value; in vegaSeti()
201 state->stroke.join_style = value; in vegaSeti()
[all …]
/external/skia/src/gpu/batches/
DGrTessellatingPathRenderer.cpp81 const GrStrokeInfo& stroke, in Create() argument
84 return new TessellatingPathBatch(color, path, stroke, viewMatrix, clipBounds); in Create()
111 GrStrokeInfo stroke(fStroke); in tessellate() local
112 if (stroke.isDashed()) { in tessellate()
113 if (!stroke.applyDashToPath(&path, &stroke, fPath)) { in tessellate()
119 if (!stroke.isFillStyle()) { in tessellate()
120 stroke.setResScale(SkScalarAbs(fViewMatrix.getMaxScale())); in tessellate()
121 if (!stroke.applyToPath(&path, path)) { in tessellate()
124 stroke.setFillStyle(); in tessellate()
209 const GrStrokeInfo& stroke, in TessellatingPathBatch() argument
[all …]
/external/libxml2/result/
Dsvg3.sax6 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
16 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
26 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
36 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
46 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
56 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
66 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
76 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
86 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
96 SAX.startElement(g, style='fill: #ffffff; stroke:#000000; stroke-width:0.172')
[all …]
Dsvg2.sax8 SAX.startElement(g, style='stroke: #000000')
22 SAX.startElement(g, style='stroke: #800040')
32 SAX.startElement(g, style='stroke: #000000')
38 SAX.startElement(g, style='stroke: #0000ff')
90 SAX.startElement(g, style='stroke: #000000')
101 SAX.startElement(g, style='stroke: #000000')
129 SAX.startElement(g, style='stroke: #008080')
140 SAX.startElement(g, style='stroke: #000000')
156 SAX.startElement(g, style='stroke: #000000')
/external/skia/experimental/c-api-example/
Dskia-c-example.c48 sk_paint_t* stroke = sk_paint_new(); in draw() local
49 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00)); in draw()
50 sk_paint_set_antialias(stroke, true); in draw()
51 sk_paint_set_stroke(stroke, true); in draw()
52 sk_paint_set_stroke_width(stroke, 5.0f); in draw()
59 sk_canvas_draw_path(canvas, path, stroke); in draw()
70 sk_paint_delete(stroke); in draw()
Dc.md69 sk_paint_t* stroke = sk_paint_new();
70 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00));
71 sk_paint_set_antialias(stroke, true);
72 sk_paint_set_stroke(stroke, true);
73 sk_paint_set_stroke_width(stroke, 5.0f);
80 sk_canvas_draw_path(canvas, path, stroke);
91 sk_paint_delete(stroke);
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/
DOutlineEffect.java37 private Stroke stroke; field in OutlineEffect
49 if (stroke != null) in draw()
50 g.setStroke(stroke); in draw()
80 if (stroke == null) return new BasicStroke(width, BasicStroke.CAP_SQUARE, join); in getStroke()
81 return stroke; in getStroke()
85 public void setStroke (Stroke stroke) { in setStroke() argument
86 this.stroke = stroke; in setStroke()
/external/ImageMagick/MagickCore/
Ddraw-private.h48 const ssize_t y,PixelInfo *stroke,ExceptionInfo *exception) in GetStrokeColor() argument
52 *stroke=draw_info->stroke; in GetStrokeColor()
61 pattern->tile_offset.x,y+pattern->tile_offset.y,stroke,exception); in GetStrokeColor()
/external/skia/gm/
Dskbug_257.cpp126 SkPaint stroke; variable
127 stroke.setStyle(SkPaint::kStroke_Style);
128 stroke.setStrokeWidth(5);
129 stroke.setColor(SK_ColorCYAN);
130 canvas->drawCircle(size / 2, size / 2, size / 2 - 10, stroke);
131 canvas->drawCircle(3 * size / 2, size / 2, size / 2 - 10, stroke);
132 canvas->drawCircle(size / 2, 384, size / 2 - 10, stroke);
Dmultipicturedraw.cpp53 SkPaint stroke; in make_hex_plane_picture() local
54 stroke.setStyle(SkPaint::kStroke_Style); in make_hex_plane_picture()
55 stroke.setStrokeWidth(3); in make_hex_plane_picture()
74 canvas->drawPath(hex, stroke); in make_hex_plane_picture()
103 SkPaint stroke; in make_single_layer_hex_plane_picture() local
104 stroke.setStyle(SkPaint::kStroke_Style); in make_single_layer_hex_plane_picture()
105 stroke.setStrokeWidth(3); in make_single_layer_hex_plane_picture()
128 canvas->drawPath(hex, stroke); in make_single_layer_hex_plane_picture()
159 SkPaint stroke; in make_tri_picture() local
160 stroke.setStyle(SkPaint::kStroke_Style); in make_tri_picture()
[all …]
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java53 private Stroke stroke; field in OverrideGraphics2D
66 this.stroke = graphics.getStroke(); in OverrideGraphics2D()
108 public void setOverrideStroke(Stroke stroke) in setOverrideStroke() argument
110 this.overrideStroke = stroke; in setOverrideStroke()
111 graphics.setStroke(stroke != null ? stroke : this.stroke); in setOverrideStroke()
162 public void setStroke(Stroke stroke) in setStroke() argument
164 this.stroke = stroke; in setStroke()
167 graphics.setStroke(stroke); in setStroke()
205 return overrideStroke != null ? stroke : graphics.getStroke(); in getStroke()

123456789