Home
last modified time | relevance | path

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

/external/skia/docs/examples/
DImageInfo_makeColorSpace.cpp10 auto drawLabel = [=](const char* what, bool closeToSRGB) -> void {
23 drawLabel("canvas", canvas->imageInfo().gammaCloseToSRGB());
31 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
39 drawLabel("linear", linearGamma.gammaCloseToSRGB());
DImageInfo_gammaCloseToSRGB.cpp10 auto drawLabel = [=](const char* what, bool closeToSRGB) -> void {
23 drawLabel("canvas", canvas->imageInfo().gammaCloseToSRGB());
31 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
/external/skia/gm/
Dorientation.cpp79 auto drawLabel = [&](const char* string, SkScalar x, SkScalar y) { in make_images() local
97 drawLabel("top", midX - bounds.centerX(), -bounds.top() + kPad); in make_images()
100 drawLabel("bottom", midX - bounds.centerX(), kImgH - kPad - bounds.bottom()); in make_images()
106 drawLabel("left", kPad - bounds.left(), baseY); in make_images()
109 drawLabel("right", kImgW - kPad - bounds.right(), baseY); in make_images()
113 drawLabel(num.c_str(), midX - bounds.centerX(), baseY); in make_images()
/external/skqp/docs/
DSkImageInfo_Reference.bmh1565 auto drawLabel = [=](const char* what, bool closeToSRGB) -> void {
1578 drawLabel("canvas", canvas->imageInfo().gammaCloseToSRGB());
1586 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
1701 auto drawLabel = [=](const char* what, bool closeToSRGB) -> void {
1714 drawLabel("canvas", canvas->imageInfo().gammaCloseToSRGB());
1722 drawLabel("offscreen", offscreenInfo.gammaCloseToSRGB());
1730 drawLabel("linear", linearGamma.gammaCloseToSRGB());