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

12345

/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/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
H A Dmontage.h57 stroke; member in struct:_MontageInfo
/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/pdfium/xfa/fxfa/parser/
H A Dcxfa_stroke.cpp88 bool CXFA_Stroke::SameStyles(CXFA_Stroke stroke, uint32_t dwFlags) const { argument
89 if (m_pNode == stroke.GetNode())
91 if (FXSYS_fabs(GetThickness() - stroke.GetThickness()) >= 0.01f)
94 IsVisible() != stroke.IsVisible()) {
97 if (GetStrokeType() != stroke.GetStrokeType())
99 if (GetColor() != stroke.GetColor())
102 FXSYS_fabs(GetRadius() - stroke.GetRadius()) >= 0.01f) {
H A Dcxfa_box.cpp51 CXFA_Stroke& stroke) {
55 stroke = strokes[0];
61 if (!stroke)
62 stroke = find;
63 else if (stroke.GetStrokeType() != find.GetStrokeType())
64 stroke = find;
67 int32_t iType = stroke.GetStrokeType();
157 CXFA_Stroke stroke(nullptr);
158 int32_t iType = Style3D(strokes, stroke);
160 bVisible = stroke
50 Style3D(const std::vector<CXFA_Stroke>& strokes, CXFA_Stroke& stroke) argument
[all...]
H A Dcxfa_stroke.h41 bool SameStyles(CXFA_Stroke stroke, uint32_t dwFlags = 0) const;
/external/skia/src/gpu/ops/
H A DGrShadowRRectOp.h23 const SkScalar blurRadius, const SkStrokeRec& stroke,
H A DGrOvalOpFactory.h30 const SkStrokeRec& stroke,
36 const SkStrokeRec& stroke,
H A DGrAAStrokeRectOp.h29 const SkStrokeRec& stroke);
H A DGrNonAAStrokeRectOp.cpp42 inline static bool allowed_stroke(const SkStrokeRec& stroke) { argument
43 SkASSERT(stroke.getStyle() == SkStrokeRec::kStroke_Style ||
44 stroke.getStyle() == SkStrokeRec::kHairline_Style);
45 return !stroke.getWidth() ||
46 (stroke.getJoin() == SkPaint::kMiter_Join && stroke.getMiter() > SK_ScalarSqrt2);
67 const SkRect& rect, const SkStrokeRec& stroke,
69 if (!allowed_stroke(stroke)) {
78 op->fStrokeWidth = stroke.getWidth();
170 // NonAA stroke rect
66 Make(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke, bool snapToPixelCenters) argument
189 Make(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke, bool snapToPixelCenters) argument
[all...]
H A DGrAALinearizingConvexPathRenderer.cpp29 // The thicker the stroke, the harder it is to produce high-quality results using tessellation. For
30 // the time being, we simply drop back to software rendering above this stroke width.
51 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); local
53 if (stroke.getStyle() == SkStrokeRec::kStroke_Style ||
54 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) {
58 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth();
59 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) {
64 stroke.getJoin() != SkPaint::Join::kRound_Join;
66 return stroke.getStyle() == SkStrokeRec::kFill_Style;
166 // If the half stroke widt
334 const SkStrokeRec& stroke = args.fShape->style().strokeRec(); local
[all...]
/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);
/external/skia/src/gpu/gl/
H A DGrGLPath.cpp255 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const SkStrokeRec& stroke) { argument
256 SkASSERT(!stroke.isHairlineStyle());
258 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth())));
260 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter())));
261 GrGLenum join = join_to_gl_join(stroke.getJoin());
263 GrGLenum cap = cap_to_gl_cap(stroke.getCap());
283 SkStrokeRec stroke(SkStrokeRec::kFill_InitStyle);
288 // Convert a dashing (or other path effect) to either a stroke or a fill.
289 if (style.applyPathEffectToPath(tmpPath.init(), &stroke, *skPath, SK_Scalar1)) {
293 stroke
[all...]
H A DGrGLPathRange.cpp36 const SkStrokeRec& stroke = fStyle.strokeRec(); local
38 // * dashing: NVPR stroke dashing is different to Skia.
41 (stroke.needToApply() && stroke.getCap() != SkPaint::kButt_Cap);
47 fShouldStroke = stroke.needToApply();
48 fShouldFill = stroke.isFillStyle() ||
49 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style;
77 // Thus we must stroke the strokes here, so that all paths in the
/external/skia/gm/
H A Dcroppedrects.cpp43 SkPaint stroke; variable
44 stroke.setStyle(SkPaint::kStroke_Style);
45 stroke.setStrokeWidth(kStrokeWidth);
46 stroke.setColor(0xff008800);
47 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke);
H A Dskbug_257.cpp126 SkPaint stroke; local
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);

Completed in 450 milliseconds

12345