Searched refs:colLabel (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/gm/ |
D | wacky_yuv_formats.cpp | 696 SkString colLabel; in draw_col_label() local 698 colLabel.printf("%s", kYUVColorSpaceNames[yuvColorSpace]); in draw_col_label() 699 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 702 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label() 704 colLabel.printf("%s", opaque ? "Opaque" : "Transparent"); in draw_col_label() 706 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 709 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label()
|
/third_party/flutter/skia/gm/ |
D | wacky_yuv_formats.cpp | 885 SkString colLabel; in draw_col_label() local 887 colLabel.printf("%s", kYUVColorSpaceNames[yuvColorSpace]); in draw_col_label() 888 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 891 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label() 893 colLabel.printf("%s", opaque ? "Opaque" : "Transparent"); in draw_col_label() 895 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 898 … SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align); in draw_col_label()
|