Searched refs:stroke (Results 1 - 25 of 127) sorted by relevance

123456

/external/ImageMagick/PerlMagick/demo/
H A 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
[all...]
H A Dshapes.pl19 $image->Draw(stroke=>'red',primitive=>'Ellipse',stroke=>'black',fill=>'red',
21 $image->Draw(primitive=>'Polygon',fill=>'none',stroke=>'black',strokewidth=>5,
H A Dtree.pl21 stroke=>'dark green', strokewidth=>1 );
H A 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');
H A Dsettings.pl17 stroke => 'black',
H A Dshadow-text.pl12 $image->Annotate(font=>'Generic.ttf',fill=>'red',stroke=>'blue',pointsize=>60,
H A Dcomposite.pl23 $thumbnail->Draw(primitive=>'line',points=>"300,100 300,500",stroke=>'#600');
24 $thumbnail->Draw(primitive=>'line',points=>"100,300 500,300",stroke=>'#600');
26 fill=>'none',stroke=>'#600');
/external/chromium-trace/catapult/tracing/tracing/ui/base/
H A Dline_chart.css8 stroke-width: 1.5px;
H A Dpie_chart.css15 stroke: black;
/external/skia/src/gpu/
H A DGrOvalRenderer.h28 const SkStrokeRec& stroke,
33 const SkStrokeRec& stroke,
42 const SkStrokeRec& stroke);
46 const SkStrokeRec& stroke);
50 const SkStrokeRec& stroke);
H A DGrPath.h20 * Initialize to a path with a fixed stroke. Stroke must not be hairline.
22 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStrokeInfo& stroke) argument
28 , fStroke(stroke)
33 static void ComputeKey(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key,
40 bool isEqualTo(const SkPath& path, const GrStrokeInfo& stroke) const;
H A DGrPath.cpp15 inline static bool compute_key_for_line_path(const SkPath& path, const GrStrokeInfo& stroke, argument
25 int strokeDataCnt = stroke.computeUniqueKeyFragmentData32Cnt();
31 stroke.asUniqueKeyFragment(&builder[kBaseData32Cnt]);
36 inline static bool compute_key_for_oval_path(const SkPath& path, const GrStrokeInfo& stroke, argument
40 if (stroke.isDashed() || !path.isOval(&rect)) {
47 int strokeDataCnt = stroke.computeUniqueKeyFragmentData32Cnt();
53 stroke.asUniqueKeyFragment(&builder[kBaseData32Cnt]);
61 inline static bool compute_key_for_simple_path(const SkPath& path, const GrStrokeInfo& stroke, argument
109 // 2) stroke data (varying size)
112 const int strokeDataCnt = stroke
162 compute_key_for_general_path(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key) argument
177 ComputeKey(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key, bool* outIsVolatile) argument
[all...]
H A DGrPathRenderer.h64 * @param stroke the stroke information (width, join, cap).
66 StencilSupport getStencilSupport(const SkPath& path, const GrStrokeInfo& stroke) const {
68 return this->onGetStencilSupport(path, stroke);
77 * fStroke The stroke information (width, join, cap)
121 * fStroke the stroke information (width, join, cap)
177 * fStroke The stroke information (width, join, cap)
210 // Helper for determining if we can treat a thin stroke as a hairline w/ coverage.
212 static bool IsStrokeHairlineOrEquivalent(const GrStrokeInfo& stroke, const SkMatrix& matrix, argument
214 if (stroke
[all...]
H A DGrPathRendering.cpp55 const GrStrokeInfo& stroke) {
63 return this->createPathRange(generator, stroke);
71 // Don't bake stroke information into the glyphs, we'll let the GPU do the stroking.
81 return this->createPathRange(generator, stroke);
53 createGlyphs(const SkTypeface* typeface, const SkDescriptor* desc, const GrStrokeInfo& stroke) argument
/external/ImageMagick/MagickCore/
H A Ddraw-private.h48 const ssize_t y,PixelInfo *stroke,ExceptionInfo *exception)
52 *stroke=draw_info->stroke;
61 pattern->tile_offset.x,y+pattern->tile_offset.y,stroke,exception);
47 GetStrokeColor(const DrawInfo *draw_info,const ssize_t x, const ssize_t y,PixelInfo *stroke,ExceptionInfo *exception) argument
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_state.c54 state->stroke.line_width.f = 1.0f;
55 state->stroke.line_width.i = 1;
56 state->stroke.cap_style = VG_CAP_BUTT;
57 state->stroke.join_style = VG_JOIN_MITER;
58 state->stroke.miter_limit.f = 4.0f;
59 state->stroke.miter_limit.i = 4;
60 state->stroke.dash_pattern_num = 0;
61 state->stroke.dash_phase.f = 0.0f;
62 state->stroke.dash_phase.i = 0;
63 state->stroke
[all...]
H A Darc.h72 struct stroker *stroke,
76 struct stroker *stroke,
H A Dapi_params.c111 state->stroke.line_width.f = value;
112 state->stroke.line_width.i = float_to_int_floor(*((VGuint*)(&value)));
115 state->stroke.miter_limit.f = value;
116 state->stroke.miter_limit.i = float_to_int_floor(*((VGuint*)(&value)));
119 state->stroke.dash_phase.f = value;
120 state->stroke.dash_phase.i = float_to_int_floor(*((VGuint*)(&value)));
186 state->stroke.line_width.f = value;
187 state->stroke.line_width.i = value;
194 state->stroke.cap_style = value;
201 state->stroke
[all...]
/external/skia/src/gpu/gl/
H A DGrGLPathRange.cpp14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStrokeInfo& stroke) argument
16 fStroke(stroke),
27 const GrStrokeInfo& stroke)
29 fStroke(stroke),
38 // * dashing: NVPR stroke dashing is different to Skia.
73 const GrStrokeInfo* stroke = &fStroke; local
79 // Thus we must stroke the strokes here, so that all paths in the
82 if (!stroke->applyDashToPath(tmpPath.init(), &tmpStroke, *skPath)) {
86 stroke = &tmpStroke;
88 if (stroke
23 GrGLPathRange(GrGLGpu* gpu, GrGLuint basePathID, int numPaths, size_t gpuMemorySize, const GrStrokeInfo& stroke) argument
[all...]
H A DGrGLPath.cpp244 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke) { argument
245 SkASSERT(stroke.needToApply());
246 SkASSERT(!stroke.isDashed());
247 SkASSERT(!stroke.isHairlineStyle());
249 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth())));
251 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter())));
252 GrGLenum join = join_to_gl_join(stroke.getJoin());
254 GrGLenum cap = cap_to_gl_cap(stroke.getCap());
274 const GrStrokeInfo* stroke = &origStroke; local
277 if (stroke
[all...]
H A DGrGLPath.h31 static void InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke);
36 GrGLPath(GrGLGpu* gpu, const SkPath& path, const GrStrokeInfo& stroke);
/external/skia/src/gpu/batches/
H A DGrAAStrokeRectBatch.h33 const SkStrokeRec& stroke);
39 const SkStrokeRec& stroke);
H A DGrTessellatingPathRenderer.cpp68 // This path renderer can draw all fill styles, all stroke styles except hairlines, but does
81 const GrStrokeInfo& stroke,
84 return new TessellatingPathBatch(color, path, stroke, viewMatrix, clipBounds);
111 GrStrokeInfo stroke(fStroke);
112 if (stroke.isDashed()) {
113 if (!stroke.applyDashToPath(&path, &stroke, fPath)) {
119 if (!stroke.isFillStyle()) {
120 stroke.setResScale(SkScalarAbs(fViewMatrix.getMaxScale()));
121 if (!stroke
79 Create(const GrColor& color, const SkPath& path, const GrStrokeInfo& stroke, const SkMatrix& viewMatrix, SkRect clipBounds) argument
207 TessellatingPathBatch(const GrColor& color, const SkPath& path, const GrStrokeInfo& stroke, const SkMatrix& viewMatrix, const SkRect& clipBounds) argument
[all...]
H A DGrAADistanceFieldPathRenderer.h44 Key(uint32_t genID, uint32_t dim, const SkStrokeRec& stroke) argument
47 , fStroke(stroke) {}
/external/skia/experimental/c-api-example/
H A Dskia-c-example.c48 sk_paint_t* stroke = sk_paint_new(); local
49 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00));
50 sk_paint_set_antialias(stroke, true);
51 sk_paint_set_stroke(stroke, true);
52 sk_paint_set_stroke_width(stroke, 5.0f);
59 sk_canvas_draw_path(canvas, path, stroke);
70 sk_paint_delete(stroke);

Completed in 1262 milliseconds

123456