HomeSort by relevance Sort by last modified time
    Searched refs:labelBuffer (Results 1 - 2 of 2) sorted by null

  /external/skia/gm/
highcontrastfilter.cpp 22 char labelBuffer[256];
29 snprintf(labelBuffer, sizeof(labelBuffer), "%s%s contrast=%.1f",
39 size_t len = strlen(labelBuffer);
41 SkScalar width = font.measureText(labelBuffer, len, kUTF8_SkTextEncoding);
42 canvas->drawSimpleText(labelBuffer, len, kUTF8_SkTextEncoding, 0.5f - width / 2, 0.16f, font, SkPaint());
  /external/skqp/gm/
highcontrastfilter.cpp 22 char labelBuffer[256];
29 snprintf(labelBuffer, sizeof(labelBuffer), "%s%s contrast=%.1f",
39 size_t len = strlen(labelBuffer);
41 SkScalar width = font.measureText(labelBuffer, len, kUTF8_SkTextEncoding);
42 canvas->drawSimpleText(labelBuffer, len, kUTF8_SkTextEncoding, 0.5f - width / 2, 0.16f, font, SkPaint());

Completed in 231 milliseconds