32 #ifndef __vtkOpenGLContextDevice2D_h
33 #define __vtkOpenGLContextDevice2D_h
40 class vtkStringToImage;
41 class vtkOpenGLRenderWindow;
42 class vtkOpenGLExtensionManager;
57 virtual void DrawPoly(
float *f,
int n,
unsigned char *colors = 0,
65 virtual void DrawPoints(
float *points,
int n,
unsigned char* colors = 0,
76 unsigned char* colors = 0,
int nc_comps = 0);
80 virtual void DrawQuad(
float *points,
int n);
96 float inRx,
float inRy,
float startAngle,
105 float startAngle,
float stopAngle);
145 virtual void SetColor4(
unsigned char color[4]);
148 virtual void SetColor(
unsigned char color[3]);
204 bool SetStringRendererToFreeType();
208 bool SetStringRendererToQt();
216 vtkGetObjectMacro(RenderWindow, vtkOpenGLRenderWindow);
222 virtual void ReleaseGraphicsResources(
vtkWindow *window);
234 int GetNumberOfArcIterations(
float rX,
259 virtual bool LoadExtensions(vtkOpenGLExtensionManager *m);
268 void AlignText(
double orientation,
float width,
float height,
float *p);
273 #endif //__vtkOpenGLContextDevice2D_h