/external/skia/gm/ |
D | glyph_pos.cpp | 22 SkScalar strokeWidth, 26 SkScalar strokeWidth, in draw_gm() argument 33 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); in draw_gm() 36 drawTestCase(canvas, 3.0f, strokeWidth, strokeStyle); in draw_gm() 42 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); in draw_gm() 49 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); in draw_gm() 61 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); in draw_gm() 74 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); in draw_gm() 80 SkScalar strokeWidth, in drawTestCase() argument 87 paint.setStrokeWidth(strokeWidth); in drawTestCase() [all …]
|
D | stroketext.cpp | 27 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) { in draw_text_stroked() argument 31 if (strokeWidth > 0) { in draw_text_stroked() 39 p.setStrokeWidth(strokeWidth); in draw_text_stroked()
|
D | shadows.cpp | 17 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { in setup() argument 19 if (strokeWidth < 0) { in setup() 23 paint->setStrokeWidth(strokeWidth); in setup()
|
D | quadpaths.cpp | 31 SkScalar strokeWidth) { in drawPath() argument 35 paint.setStrokeWidth(strokeWidth); in drawPath() 174 SkScalar strokeWidth) { in drawPath() argument 178 paint.setStrokeWidth(strokeWidth); in drawPath()
|
D | ninepatchstretch.cpp | 29 const SkScalar strokeWidth = SkIntToScalar(6); in make_image() local 30 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2; in make_image()
|
D | cubicpaths.cpp | 142 SkScalar strokeWidth) { in drawPath() argument 146 paint.setStrokeWidth(strokeWidth); in drawPath() 286 SkScalar strokeWidth) { in drawPath() argument 290 paint.setStrokeWidth(strokeWidth); in drawPath()
|
D | linepaths.cpp | 17 SkScalar strokeWidth) { in drawPath() argument 21 paint.setStrokeWidth(strokeWidth); in drawPath()
|
D | dashing.cpp | 212 int strokeWidth, in drawDashedLines() argument 217 p.setStrokeWidth(SkIntToScalar(strokeWidth)); in drawDashedLines() 229 for (int y = 0; y < 100; y += 10*strokeWidth) { in drawDashedLines() 238 for (int x = 0; x < 100; x += 14*strokeWidth) { in drawDashedLines()
|
/external/skia/src/gpu/batches/ |
D | GrNonAAStrokeRectBatch.cpp | 66 SkScalar strokeWidth) { in append() argument 70 geometry.fStrokeWidth = strokeWidth; in append() 78 SkScalar strokeWidth, bool snapToPixelCenters) { in appendAndUpdateBounds() argument 79 this->append(color, viewMatrix, rect, strokeWidth); in appendAndUpdateBounds() 222 SkScalar strokeWidth, in Create() argument 225 batch->append(color, viewMatrix, rect, strokeWidth); in Create() 234 SkScalar strokeWidth, in Append() argument 237 batch->appendAndUpdateBounds(color, viewMatrix, rect, strokeWidth, snapToPixelCenters); in Append() 248 SkScalar strokeWidth = random->nextBool() ? 0.0f : 1.0f; in DRAW_BATCH_TEST_DEFINE() local 250 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, random->nextBool()); in DRAW_BATCH_TEST_DEFINE()
|
D | GrNonAAStrokeRectBatch.h | 24 SkScalar strokeWidth, 30 SkScalar strokeWidth,
|
D | GrAAStrokeRectBatch.cpp | 534 SkScalar strokeWidth, bool miterStroke) { in compute_rects() argument 539 if (strokeWidth > 0) { in compute_rects() 540 devStrokeSize.set(strokeWidth, strokeWidth); in compute_rects() 652 SkScalar strokeWidth = minDim * 0.1f; in DRAW_BATCH_TEST_DEFINE() local 654 outsideAssist.outset(strokeWidth, strokeWidth); in DRAW_BATCH_TEST_DEFINE() 656 inside.inset(strokeWidth, strokeWidth); in DRAW_BATCH_TEST_DEFINE()
|
D | GrRectBatchFactory.h | 58 SkScalar strokeWidth, in CreateNonAAStroke() argument 60 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, snapToPixelCenters); in CreateNonAAStroke()
|
D | GrAALinearizingConvexPathRenderer.cpp | 54 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * args.fStroke->getWidth(); in onCanDrawPath() local 55 return strokeWidth >= 1.0f && strokeWidth <= kMaxStrokeWidth && !args.fStroke->isDashed() && in onCanDrawPath()
|
D | GrAAConvexTessellator.h | 34 GrAAConvexTessellator(SkScalar strokeWidth = -1.0f, 38 , fStrokeWidth(strokeWidth) in fSide()
|
/external/skia/src/core/ |
D | SkDrawProcs.h | 14 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&, 29 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline() local 30 if (0 == strokeWidth) { in SkDrawTreatAsHairline() 39 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage); in SkDrawTreatAsHairline()
|
/external/skia/src/gpu/ |
D | GrOvalRenderer.cpp | 782 SkScalar strokeWidth = viewMatrix.mapRadius(stroke.getWidth()); in create_circle_batch() local 793 if (SkScalarNearlyZero(strokeWidth)) { in create_circle_batch() 796 halfWidth = SkScalarHalf(strokeWidth); in create_circle_batch() 1012 SkScalar strokeWidth = stroke.getWidth(); in create_ellipse_batch() local 1013 scaledStroke.fX = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMScaleX] + in create_ellipse_batch() 1015 scaledStroke.fY = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMSkewX] + in create_ellipse_batch() 1256 SkScalar strokeWidth = stroke.getWidth(); in create_diellipse_batch() local 1258 if (SkScalarNearlyZero(strokeWidth)) { in create_diellipse_batch() 1259 strokeWidth = SK_ScalarHalf; in create_diellipse_batch() 1261 strokeWidth *= SK_ScalarHalf; in create_diellipse_batch() [all …]
|
D | GrTestUtils.cpp | 223 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f; in randomize_stroke_rec() local 224 rec->setStrokeStyle(strokeWidth, strokeAndFill); in randomize_stroke_rec()
|
/external/skia/bench/ |
D | DashBench.cpp | 259 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) in DrawPointsDashingBench() argument 261 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DrawPointsDashingBench() 262 fStrokeWidth = strokeWidth; in DrawPointsDashingBench() 386 DashGridBench(int dashLength, int strokeWidth, bool doAA) { in DashGridBench() argument 387 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DashGridBench() 388 fStrokeWidth = strokeWidth; in DashGridBench()
|
/external/skia/src/animator/ |
D | SkDrawPaint.cpp | 52 SK_MEMBER(strokeWidth, Float), 71 strokeWidth(SK_ScalarNaN), style((SkPaint::Style) -1), in SkDrawPaint() 249 if (SkScalarIsNaN(strokeWidth) == false) in setupPaint() 250 paint->setStrokeWidth(strokeWidth); in setupPaint()
|
D | SkDrawPaint.h | 58 SkScalar strokeWidth; variable
|
/external/skia/tests/ |
D | BlurTest.cpp | 32 static const int strokeWidth = 4; variable 61 { 50 + strokeWidth/2, 50 + strokeWidth/2, 100, 100 }, 63 { 40, strokeWidth, 60, 50 - strokeWidth }, 106 paint.setStrokeWidth(SkIntToScalar(strokeWidth)); in DEF_TEST()
|
/external/skia/src/gpu/effects/ |
D | GrDashingEffect.cpp | 188 SkScalar startInterval, SkScalar endInterval, SkScalar strokeWidth, in setup_dashed_rect() argument 199 SkScalar radius = SkScalarHalf(strokeWidth) - 0.5f; in setup_dashed_rect() 216 SkScalar halfStroke = SkScalarHalf(strokeWidth); in setup_dashed_rect() 476 SkScalar strokeWidth = args.fSrcStrokeWidth * args.fPerpendicularScale; in onPrepareDraws() local 478 if ((strokeWidth < 1.f && useAA) || 0.f == strokeWidth) { in onPrepareDraws() 479 strokeWidth = 1.f; in onPrepareDraws() 482 SkScalar halfDevStroke = strokeWidth * 0.5f; in onPrepareDraws() 486 devIntervals[0] += strokeWidth; in onPrepareDraws() 487 devIntervals[1] -= strokeWidth; in onPrepareDraws() 559 draw.fStrokeWidth = strokeWidth; in onPrepareDraws() [all …]
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 62 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { in show_stroke() argument 67 paint.setStrokeWidth(strokeWidth); in show_stroke()
|
/external/pdfium/core/src/fxge/skia/ |
D | fx_skia_device.cpp | 53 SkScalar strokeWidth = paint.getStrokeWidth(); in FxSkDrawTreatAsHairline() local 54 if (0 == strokeWidth) { in FxSkDrawTreatAsHairline() 62 if (strokeWidth <= SK_Scalar1) { in FxSkDrawTreatAsHairline() 63 *coverage = strokeWidth; in FxSkDrawTreatAsHairline()
|
/external/fonttools/Lib/fontTools/pens/ |
D | reportLabPen.py | 56 pen = ReportLabPen(gs, Path(fillColor=colors.red, strokeWidth=5))
|