• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef SkDrawProcs_DEFINED
2 #define SkDrawProcs_DEFINED
3 
4 #include "SkDraw.h"
5 
6 class SkBlitter;
7 
8 struct 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 
21 struct SkDrawProcs {
22     SkDraw1Glyph::Proc  fD1GProc;
23 };
24 
25 #endif
26 
27