Searched refs:colLabel (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 630 SkString colLabel; in draw_col_label() local 632 colLabel.printf("%s", kYUVColorSpaceNames[yuvColorSpace]); in draw_col_label() 633 font.measureText(colLabel.c_str(), colLabel.size(), kUTF8_SkTextEncoding, &textRect); in draw_col_label() 636 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label() 638 colLabel.printf("%s", opaque ? "Opaque" : "Transparent"); in draw_col_label() 640 font.measureText(colLabel.c_str(), colLabel.size(), kUTF8_SkTextEncoding, &textRect); in draw_col_label() 643 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label()
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 699 SkString colLabel; in draw_col_label() local 701 colLabel.printf("%s", kYUVColorSpaceNames[yuvColorSpace]); in draw_col_label() 702 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 705 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label() 707 colLabel.printf("%s", opaque ? "Opaque" : "Transparent"); in draw_col_label() 709 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 712 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label()
|