Home
last modified time | relevance | path

Searched refs:STROKE_WIDTH (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dstrokerect.cpp13 #define STROKE_WIDTH SkIntToScalar(20) macro
22 paint.setStrokeWidth(STROKE_WIDTH); in draw_path()
61 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw()
65 paint.setStrokeWidth(STROKE_WIDTH); in onDraw()
77 { 0, 0, STROKE_WIDTH, H }, in onDraw()
78 { 0, 0, W, STROKE_WIDTH }, in onDraw()
79 { 0, 0, STROKE_WIDTH/2, STROKE_WIDTH/2 }, in onDraw()
102 canvas->translate(W + 2 * STROKE_WIDTH, 0); in onDraw()
105 canvas->translate(0, H + 2 * STROKE_WIDTH); in onDraw()
Dblurrect.cpp14 #define STROKE_WIDTH SkIntToScalar(10) macro
27 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut()
30 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut()
43 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed()
46 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed()
99 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(STROKE_WIDTH/2)), in onOnceBeforeDraw()
113 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw()
157 clipRect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in drawProcs()
/external/skqp/gm/
Dstrokerect.cpp13 #define STROKE_WIDTH SkIntToScalar(20) macro
22 paint.setStrokeWidth(STROKE_WIDTH); in draw_path()
61 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw()
65 paint.setStrokeWidth(STROKE_WIDTH); in onDraw()
77 { 0, 0, STROKE_WIDTH, H }, in onDraw()
78 { 0, 0, W, STROKE_WIDTH }, in onDraw()
79 { 0, 0, STROKE_WIDTH/2, STROKE_WIDTH/2 }, in onDraw()
102 canvas->translate(W + 2 * STROKE_WIDTH, 0); in onDraw()
105 canvas->translate(0, H + 2 * STROKE_WIDTH); in onDraw()
Dblurrect.cpp14 #define STROKE_WIDTH SkIntToScalar(10) macro
27 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut()
30 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut()
43 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed()
46 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in draw_donut_skewed()
99 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(STROKE_WIDTH/2)), in onOnceBeforeDraw()
113 canvas->translate(STROKE_WIDTH*3/2, STROKE_WIDTH*3/2); in onDraw()
157 clipRect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2); in drawProcs()