Searched refs:STROKE_WIDTH (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/gm/ |
D | strokerect.cpp | 23 #define STROKE_WIDTH SkIntToScalar(20) macro 32 paint.setStrokeWidth(STROKE_WIDTH); in draw_path() 71 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw() 75 paint.setStrokeWidth(STROKE_WIDTH); in onDraw() 87 { 0, 0, STROKE_WIDTH, H }, in onDraw() 88 { 0, 0, W, STROKE_WIDTH }, in onDraw() 89 { 0, 0, STROKE_WIDTH/2, STROKE_WIDTH/2 }, in onDraw() 112 canvas->translate(W + 2 * STROKE_WIDTH, 0); in onDraw() 115 canvas->translate(0, H + 2 * STROKE_WIDTH); in onDraw()
|
D | blurrect.cpp | 31 #define STROKE_WIDTH SkIntToScalar(10) macro 44 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut() 47 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut() 60 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed() 63 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed() 112 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(STROKE_WIDTH/2))); in onOnceBeforeDraw() 121 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw() 164 clipRect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in drawProcs()
|
/third_party/skia/gm/ |
D | strokerect.cpp | 23 #define STROKE_WIDTH SkIntToScalar(20) macro 32 paint.setStrokeWidth(STROKE_WIDTH); in draw_path() 71 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw() 75 paint.setStrokeWidth(STROKE_WIDTH); in onDraw() 87 { 0, 0, STROKE_WIDTH, H }, in onDraw() 88 { 0, 0, W, STROKE_WIDTH }, in onDraw() 89 { 0, 0, STROKE_WIDTH/2, STROKE_WIDTH/2 }, in onDraw() 112 canvas->translate(W + 2 * STROKE_WIDTH, 0); in onDraw() 115 canvas->translate(0, H + 2 * STROKE_WIDTH); in onDraw()
|
D | blurrect.cpp | 40 #define STROKE_WIDTH SkIntToScalar(10) macro 53 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut() 56 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut() 69 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed() 72 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed() 121 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(STROKE_WIDTH/2))); in onOnceBeforeDraw() 130 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw() 173 clipRect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in drawProcs()
|