30 #include <goffice/goffice.h>
35 extern double DefaultPsi, DefaultTheta, DefaultPhi;
74 void SetRotation (
double psi,
double theta,
double phi);
86 void SaveAsImage (std::string
const &filename,
char const *type, std::map<std::string, std::string>& options,
unsigned width,
unsigned height,
bool use_bg)
const;
96 virtual GdkPixbuf *
BuildPixbuf (
unsigned width,
unsigned height,
bool use_bg)
const;
105 void RenderToCairo (cairo_t *cr,
unsigned width,
unsigned height,
bool use_bg)
const;
114 void Rotate (gdouble x, gdouble y);
127 virtual void GLEnd () = 0;
270 #endif // GCU_GL_VIEW_H
virtual GdkPixbuf * BuildPixbuf(unsigned width, unsigned height, bool use_bg) const
void SaveAsImage(std::string const &filename, char const *type, std::map< std::string, std::string > &options, unsigned width, unsigned height, bool use_bg) const
void Rotate(gdouble x, gdouble y)
void SetRotation(double psi, double theta, double phi)
#define GCU_PROT_PROP(type, member)
GLView(GLDocument *pDoc)
Constructor.
void RenderToCairo(cairo_t *cr, unsigned width, unsigned height, bool use_bg) const
#define GCU_PROT_POINTER_PROP(type, member)
virtual ~GLView()
Destructor.
#define GCU_PROP(type, member)