diff options
Diffstat (limited to 'src/core/SkDrawProcs.h')
-rw-r--r-- | src/core/SkDrawProcs.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core/SkDrawProcs.h b/src/core/SkDrawProcs.h new file mode 100644 index 0000000..d64c088 --- /dev/null +++ b/src/core/SkDrawProcs.h @@ -0,0 +1,26 @@ +#ifndef SkDrawProcs_DEFINED +#define SkDrawProcs_DEFINED + +#include "SkDraw.h" + +class SkBlitter; + +struct SkDraw1Glyph { + const SkDraw* fDraw; + SkBounder* fBounder; + const SkRegion* fClip; + SkBlitter* fBlitter; + SkGlyphCache* fCache; + SkIRect fClipBounds; + + typedef void (*Proc)(const SkDraw1Glyph&, const SkGlyph&, int x, int y); + + Proc init(const SkDraw* draw, SkBlitter* blitter, SkGlyphCache* cache); +}; + +struct SkDrawProcs { + SkDraw1Glyph::Proc fD1GProc; +}; + +#endif + |