Home
last modified time | relevance | path

Searched refs:canvasPaint (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/docs/examples/
DTextBlob_MakeFromText.cpp10 SkPaint canvasPaint;
11 canvasPaint.setColor(SK_ColorBLUE); // respected
12 canvasPaint.setTextSize(2); // ignored
14 canvas->drawTextBlob(blob, 20, 20, canvasPaint);
DTextBlob_MakeFromString.cpp10 SkPaint canvasPaint;
11 canvasPaint.setColor(SK_ColorBLUE); // respected
12 canvasPaint.setTextSize(2); // ignored
14 canvas->drawTextBlob(blob, 20, 20, canvasPaint);
/third_party/flutter/skia/docs/examples/
DTextBlob_MakeFromString.cpp10 SkPaint canvasPaint;
11 canvasPaint.setColor(SK_ColorBLUE); // respected
12 canvasPaint.setTextSize(2); // ignored
14 canvas->drawTextBlob(blob, 20, 20, canvasPaint);
DTextBlob_MakeFromText.cpp10 SkPaint canvasPaint;
11 canvasPaint.setColor(SK_ColorBLUE); // respected
12 canvasPaint.setTextSize(2); // ignored
14 canvas->drawTextBlob(blob, 20, 20, canvasPaint);
/third_party/skia/tests/
DShaderImageFilterTest.cpp28 SkCanvas canvasPaint(paintResult); in test_unscaled() local
29 canvasPaint.clear(0x00000000); in test_unscaled()
50 canvasPaint.drawRect(SkRect::Make(ir), paint); in test_unscaled()
76 SkCanvas canvasPaint(paintResult); in test_scaled() local
77 canvasPaint.clear(0x00000000); in test_scaled()
99 canvasPaint.scale(SkIntToScalar(2), SkIntToScalar(2)); in test_scaled()
100 canvasPaint.drawRect(SkRect::Make(ir), paint); in test_scaled()
DHighContrastFilterTest.cpp25 SkCanvas canvasPaint(paintResult); in DEF_TEST() local
26 canvasPaint.clear(0x00000000); in DEF_TEST()
32 canvasPaint.drawRect(r, paint); in DEF_TEST()
/third_party/flutter/skia/tests/
DPaintImageFilterTest.cpp28 SkCanvas canvasPaint(paintResult); in test_unscaled() local
29 canvasPaint.clear(0x00000000); in test_unscaled()
49 canvasPaint.drawRect(SkRect::Make(ir), gradientPaint); in test_unscaled()
75 SkCanvas canvasPaint(paintResult); in test_scaled() local
76 canvasPaint.clear(0x00000000); in test_scaled()
97 canvasPaint.scale(SkIntToScalar(2), SkIntToScalar(2)); in test_scaled()
98 canvasPaint.drawRect(SkRect::Make(ir), gradientPaint); in test_scaled()
DHighContrastFilterTest.cpp25 SkCanvas canvasPaint(paintResult); in DEF_TEST() local
26 canvasPaint.clear(0x00000000); in DEF_TEST()
32 canvasPaint.drawRect(r, paint); in DEF_TEST()