Searched defs:stroke (Results 1 - 25 of 50) sorted by relevance

12

/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/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 Dpictureimagefilter.cpp108 SkPaint stroke; variable
109 stroke.setStyle(SkPaint::kStroke_Style);
111 canvas->drawRect(bounds, stroke);
H A Dshadertext2.cpp165 SkPaint stroke; local
166 stroke.setStyle(SkPaint::kStroke_Style);
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);
H A Doccludedrrectblur.cpp53 SkPaint stroke; local
54 stroke.setStyle(SkPaint::kStroke_Style);
55 stroke.setColor(SK_ColorBLUE);
56 canvas->drawRRect(occRR, stroke);
59 stroke.setColor(strokeColor);
60 canvas->drawRect(occRect, stroke);
H A Dpoly2poly.cpp31 void stroke();
70 void SkJSCanvas::stroke() { function in class:SkJSCanvas
125 ctx.stroke();
131 // TEST 2 - Includes an extra moveTo call before stroke; the rectangle appears larger
150 ctx.stroke();
175 ctx.stroke();
H A Dimage.cpp44 SkScalar stroke = size.fWidth / 10; local
45 SkScalar radius = (size.fWidth - stroke) / 2;
54 paint.setStrokeWidth(stroke);
H A Dmultipicturedraw.cpp54 SkPaint stroke; local
55 stroke.setStyle(SkPaint::kStroke_Style);
56 stroke.setStrokeWidth(3);
74 canvas->drawPath(hex, stroke);
103 SkPaint stroke; local
104 stroke.setStyle(SkPaint::kStroke_Style);
105 stroke.setStrokeWidth(3);
127 canvas->drawPath(hex, stroke);
158 SkPaint stroke; local
159 stroke
[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 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
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...]
/external/skia/src/gpu/ops/
H A DGrRectOpFactory.h74 const SkStrokeRec& stroke) {
75 return GrAAStrokeRectOp::Make(color, viewMatrix, rect, stroke);
71 MakeAAStroke(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke) argument
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/pdfium/xfa/fxfa/parser/
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.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) {
/external/skia/src/xps/
H A DSkXPSDevice.h203 BOOL stroke, BOOL fill,
208 BOOL stroke, BOOL fill, member in class:SkXPSDevice
230 BOOL stroke, BOOL fill, const SkPath& path);
262 BOOL* fill, BOOL* stroke);
/external/pdfium/fpdfsdk/
H A Dfpdfeditpath.cpp118 FPDF_BOOL stroke) {
130 pPathObj->m_bStroke = stroke != 0;
116 FPDFPath_SetDrawMode(FPDF_PAGEOBJECT path, int fillmode, FPDF_BOOL stroke) argument
/external/skia/src/gpu/
H A DGrPathRenderer.h218 // Helper for determining if we can treat a thin stroke as a hairline w/ coverage.
225 const SkStrokeRec& stroke = style.strokeRec(); local
226 if (stroke.isHairlineStyle()) {
232 return stroke.getStyle() == SkStrokeRec::kStroke_Style &&
233 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_state.h68 } stroke; member in struct:vg_state
/external/skia/tests/
H A DPaintTest.cpp172 SkPath path, stroke; local
189 paint.getFillPath(path, &stroke);
190 strokeR = stroke.getBounds();
199 // test that our stroke didn't explode
/external/skia/samplecode/
H A DSampleAndroidShadows.cpp179 SkPaint stroke; local
180 stroke.setStyle(SkPaint::kStroke_Style);
181 stroke.setColor(SK_ColorBLUE);
182 canvas->drawRect(occlRect, stroke);
215 // For all of these, we inset the offset rect by half the radius to get our stroke shape.
234 // we outset the stroke a little to cover up AA on the interior edge
359 // stroke width but we also have to account for the scaling.
378 // and outer edges of the stroke will land where we want.
/external/skia/tools/skpbench/
H A Dskpbench.cpp367 SkPaint stroke; local
368 stroke.setStyle(SkPaint::kStroke_Style);
369 stroke.setStrokeWidth(2);
374 recording->drawPath(bigPath, stroke);

Completed in 481 milliseconds

12