skia2/tools/viewer
Cary Clark 2a475eae62 add drawString helper to canvas
Many tests and examples use drawText with
a guess of how long the text is in bytes,
or a call to strlen(). Add a helper to
SkCanvas to simplify these examples.

Add another helper for SkString.

R=reed@google.com

Change-Id: I0204a31e938f065606f08ee7cd9a6b36db791ee2
Reviewed-on: https://skia-review.googlesource.com/13642
Commit-Queue: Cary Clark <caryclark@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Cary Clark <caryclark@skia.org>
2017-04-28 20:41:04 +00:00
..
sk_app add drawString helper to canvas 2017-04-28 20:41:04 +00:00
GMSlide.cpp Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
GMSlide.h Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
ImageSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
ImageSlide.h Simplify viewer's handling of backbuffer surface and color space 2017-02-08 17:34:05 +00:00
SampleSlide.cpp Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
SampleSlide.h Add onBackendCreated callback to Viewer 2017-02-24 22:37:34 +00:00
SKPSlide.cpp SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SKPSlide.h Add samples to Viewer. 2016-06-16 09:52:35 -07:00
Slide.h Add more SampleApp support to viewer. 2017-02-14 21:25:01 +00:00
Viewer.cpp add helper makeShader for the common Clamp case 2017-04-28 15:36:14 +00:00
Viewer.h Add legacy++ to viewer (sRGB w/nonlinear blending) 2017-03-06 17:21:08 +00:00