blob: d64c088a30abed3689acf2948ac4751cd44ec727 [file] [log] [blame]
reed@android.com8a1c16f2008-12-17 15:59:43 +00001#ifndef SkDrawProcs_DEFINED
2#define SkDrawProcs_DEFINED
3
4#include "SkDraw.h"
5
6class SkBlitter;
7
8struct SkDraw1Glyph {
9 const SkDraw* fDraw;
10 SkBounder* fBounder;
11 const SkRegion* fClip;
12 SkBlitter* fBlitter;
13 SkGlyphCache* fCache;
14 SkIRect fClipBounds;
15
16 typedef void (*Proc)(const SkDraw1Glyph&, const SkGlyph&, int x, int y);
17
18 Proc init(const SkDraw* draw, SkBlitter* blitter, SkGlyphCache* cache);
19};
20
21struct SkDrawProcs {
22 SkDraw1Glyph::Proc fD1GProc;
23};
24
25#endif
26