diff options
Diffstat (limited to 'src/core/SkDraw.h')
-rw-r--r-- | src/core/SkDraw.h | 12 |
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[], |