94 | | _op0, // 0 no operation |
95 | | _MovePenBy, // 1 MovePenBy(void *user, BPoint delta) |
96 | | _StrokeLine, // 2 StrokeLine(void *user, BPoint start, BPoint end) |
97 | | _StrokeRect, // 3 StrokeRect(void *user, BRect rect) |
98 | | _FillRect, // 4 FillRect(void *user, BRect rect) |
99 | | _StrokeRoundRect, // 5 StrokeRoundRect(void *user, BRect rect, BPoint radii) |
100 | | _FillRoundRect, // 6 FillRoundRect(void *user, BRect rect, BPoint radii) |
101 | | _StrokeBezier, // 7 StrokeBezier(void *user, BPoint *control) |
102 | | _FillBezier, // 8 FillBezier(void *user, BPoint *control) |
103 | | _StrokeArc, // 9 StrokeArc(void *user, BPoint center, BPoint radii, float startTheta, float arcTheta) |
104 | | _FillArc, // 10 FillArc(void *user, BPoint center, BPoint radii, float startTheta, float arcTheta) |
105 | | _StrokeEllipse, // 11 StrokeEllipse(void *user, BPoint center, BPoint radii) |
106 | | _FillEllipse, // 12 FillEllipse(void *user, BPoint center, BPoint radii) |
107 | | _StrokePolygon, // 13 StrokePolygon(void *user, int32 numPoints, BPoint *points, bool isClosed) |
108 | | _FillPolygon, // 14 FillPolygon(void *user, int32 numPoints, BPoint *points, bool isClosed) |
109 | | _StrokeShape, // 15 StrokeShape(void *user, BShape *shape) |
110 | | _FillShape, // 16 FillShape(void *user, BShape *shape) |
111 | | _DrawString, // 17 DrawString(void *user, char *string, float deltax, float deltay) |
112 | | _DrawPixels, // 18 DrawPixels(void *user, BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) |
113 | | _op19, // 19 *reserved* |
114 | | _SetClippingRects, // 20 SetClippingRects(void *user, BRect *rects, uint32 numRects) |
115 | | _ClipToPicture, // 21 ClipToPicture(void *user, BPicture *picture, BPoint pt, bool clip_to_inverse_picture) |
116 | | _PushState, // 22 PushState(void *user) |
117 | | _PopState, // 23 PopState(void *user) |
118 | | _EnterStateChange, // 24 EnterStateChange(void *user) |
119 | | _ExitStateChange, // 25 ExitStateChange(void *user) |
120 | | _EnterFontState, // 26 EnterFontState(void *user) |
121 | | _ExitFontState, // 27 ExitFontState(void *user) |
122 | | _SetOrigin, // 28 SetOrigin(void *user, BPoint pt) |
123 | | _SetPenLocation, // 29 SetPenLocation(void *user, BPoint pt) |
124 | | _SetDrawingMode, // 30 SetDrawingMode(void *user, drawing_mode mode) |
125 | | _SetLineMode, // 31 SetLineMode(void *user, cap_mode capMode, join_mode joinMode, float miterLimit) |
126 | | _SetPenSize, // 32 SetPenSize(void *user, float size) |
127 | | _SetForeColor, // 33 SetForeColor(void *user, rgb_color color) |
128 | | _SetBackColor, // 34 SetBackColor(void *user, rgb_color color) |
129 | | _SetStipplePattern, // 35 SetStipplePattern(void *user, pattern p) |
130 | | _SetScale, // 36 SetScale(void *user, float scale) |
131 | | _SetFontFamily, // 37 SetFontFamily(void *user, char *family) |
132 | | _SetFontStyle, // 38 SetFontStyle(void *user, char *style) |
133 | | _SetFontSpacing, // 39 SetFontSpacing(void *user, int32 spacing) |
134 | | _SetFontSize, // 40 SetFontSize(void *user, float size) |
135 | | _SetFontRotate, // 41 SetFontRotate(void *user, float rotation) |
136 | | _SetFontEncoding, // 42 SetFontEncoding(void *user, int32 encoding) |
137 | | _SetFontFlags, // 43 SetFontFlags(void *user, int32 flags) |
138 | | _SetFontShear, // 44 SetFontShear(void *user, float shear) |
139 | | _op45, // 45 *reserved* |
140 | | _SetFontFace, // 46 SetFontFace(void *user, int32 flags) |
141 | | _op47, |
142 | | _op48, |
143 | | _op49, |
| 94 | (void *)_op0, // 0 no operation |
| 95 | (void *)_MovePenBy, // 1 MovePenBy(void *user, BPoint delta) |
| 96 | (void *)_StrokeLine, // 2 StrokeLine(void *user, BPoint start, BPoint end) |
| 97 | (void *)_StrokeRect, // 3 StrokeRect(void *user, BRect rect) |
| 98 | (void *)_FillRect, // 4 FillRect(void *user, BRect rect) |
| 99 | (void *)_StrokeRoundRect, // 5 StrokeRoundRect(void *user, BRect rect, BPoint radii) |
| 100 | (void *)_FillRoundRect, // 6 FillRoundRect(void *user, BRect rect, BPoint radii) |
| 101 | (void *)_StrokeBezier, // 7 StrokeBezier(void *user, BPoint *control) |
| 102 | (void *)_FillBezier, // 8 FillBezier(void *user, BPoint *control) |
| 103 | (void *)_StrokeArc, // 9 StrokeArc(void *user, BPoint center, BPoint radii, float startTheta, float arcTheta) |
| 104 | (void *)_FillArc, // 10 FillArc(void *user, BPoint center, BPoint radii, float startTheta, float arcTheta) |
| 105 | (void *)_StrokeEllipse, // 11 StrokeEllipse(void *user, BPoint center, BPoint radii) |
| 106 | (void *)_FillEllipse, // 12 FillEllipse(void *user, BPoint center, BPoint radii) |
| 107 | (void *)_StrokePolygon, // 13 StrokePolygon(void *user, int32 numPoints, BPoint *points, bool isClosed) |
| 108 | (void *)_FillPolygon, // 14 FillPolygon(void *user, int32 numPoints, BPoint *points, bool isClosed) |
| 109 | (void *)_StrokeShape, // 15 StrokeShape(void *user, BShape *shape) |
| 110 | (void *)_FillShape, // 16 FillShape(void *user, BShape *shape) |
| 111 | (void *)_DrawString, // 17 DrawString(void *user, char *string, float deltax, float deltay) |
| 112 | (void *)_DrawPixels, // 18 DrawPixels(void *user, BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) |
| 113 | (void *)_op19, // 19 *reserved* |
| 114 | (void *)_SetClippingRects, // 20 SetClippingRects(void *user, BRect *rects, uint32 numRects) |
| 115 | (void *)_ClipToPicture, // 21 ClipToPicture(void *user, BPicture *picture, BPoint pt, bool clip_to_inverse_picture) |
| 116 | (void *)_PushState, // 22 PushState(void *user) |
| 117 | (void *)_PopState, // 23 PopState(void *user) |
| 118 | (void *)_EnterStateChange, // 24 EnterStateChange(void *user) |
| 119 | (void *)_ExitStateChange, // 25 ExitStateChange(void *user) |
| 120 | (void *)_EnterFontState, // 26 EnterFontState(void *user) |
| 121 | (void *)_ExitFontState, // 27 ExitFontState(void *user) |
| 122 | (void *)_SetOrigin, // 28 SetOrigin(void *user, BPoint pt) |
| 123 | (void *)_SetPenLocation, // 29 SetPenLocation(void *user, BPoint pt) |
| 124 | (void *)_SetDrawingMode, // 30 SetDrawingMode(void *user, drawing_mode mode) |
| 125 | (void *)_SetLineMode, // 31 SetLineMode(void *user, cap_mode capMode, join_mode joinMode, float miterLimit) |
| 126 | (void *)_SetPenSize, // 32 SetPenSize(void *user, float size) |
| 127 | (void *)_SetForeColor, // 33 SetForeColor(void *user, rgb_color color) |
| 128 | (void *)_SetBackColor, // 34 SetBackColor(void *user, rgb_color color) |
| 129 | (void *)_SetStipplePattern, // 35 SetStipplePattern(void *user, pattern p) |
| 130 | (void *)_SetScale, // 36 SetScale(void *user, float scale) |
| 131 | (void *)_SetFontFamily, // 37 SetFontFamily(void *user, char *family) |
| 132 | (void *)_SetFontStyle, // 38 SetFontStyle(void *user, char *style) |
| 133 | (void *)_SetFontSpacing, // 39 SetFontSpacing(void *user, int32 spacing) |
| 134 | (void *)_SetFontSize, // 40 SetFontSize(void *user, float size) |
| 135 | (void *)_SetFontRotate, // 41 SetFontRotate(void *user, float rotation) |
| 136 | (void *)_SetFontEncoding, // 42 SetFontEncoding(void *user, int32 encoding) |
| 137 | (void *)_SetFontFlags, // 43 SetFontFlags(void *user, int32 flags) |
| 138 | (void *)_SetFontShear, // 44 SetFontShear(void *user, float shear) |
| 139 | (void *)_op45, // 45 *reserved* |
| 140 | (void *)_SetFontFace, // 46 SetFontFace(void *user, int32 flags) |
| 141 | (void *)_op47, |
| 142 | (void *)_op48, |
| 143 | (void *)_op49, |