aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDraw.h
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-07-20 11:48:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-24 14:53:25 +0000
commit81ecdbb7ff36afef9091c1b524baafe67381e70d (patch)
treec9d2a2ace6fecc88bf85e1377c2eeb8d8d007a5a /src/core/SkDraw.h
parentab98509717e1d20b8171a631d2923f47ce26fc0e (diff)
Clean up bitmap path
Change-Id: If149194fd86f14bea289ad68262ea99cbbc398b6 Reviewed-on: https://skia-review.googlesource.com/142817 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkDraw.h')
-rw-r--r--src/core/SkDraw.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/SkDraw.h b/src/core/SkDraw.h
index afd50ea229..deb7451b99 100644
--- a/src/core/SkDraw.h
+++ b/src/core/SkDraw.h
@@ -22,6 +22,8 @@ class SkBitmap;
class SkClipStack;
class SkBaseDevice;
class SkBlitter;
+class SkGlyphRun;
+class SkGlyphRunList;
class SkMatrix;
class SkPath;
class SkRegion;
@@ -65,6 +67,16 @@ public:
void drawPosText(const char text[], size_t byteLength,
const SkScalar pos[], int scalarsPerPosition,
const SkPoint& offset, const SkPaint&, const SkSurfaceProps*) const;
+
+ void drawGlyphRunAsPaths(
+ SkGlyphRun* glyphRun, SkPoint origin, const SkSurfaceProps* props) const;
+
+ void drawGlyphRunAsSubpixelMask(
+ SkGlyphCache* cache, SkGlyphRun* glyphRun, SkPoint origin) const;
+
+ void drawGlyphRunAsFullpixelMask(
+ SkGlyphCache* cache, SkGlyphRun* glyphRun, SkPoint origin) const;
+ void drawGlyphRunList(SkGlyphRunList* glyphRunList, const SkSurfaceProps*) const;
void drawVertices(SkVertices::VertexMode mode, int vertexCount,
const SkPoint vertices[], const SkPoint textures[],
const SkColor colors[], const SkVertices::BoneIndices boneIndices[],