Public Member Functions |
| CrystalView (CrystalDoc *pDoc) |
| Constructor.
|
virtual | ~CrystalView () |
| Destructor.
|
virtual bool | Load (xmlNodePtr node) |
virtual xmlNodePtr | Save (xmlDocPtr xml) const |
| GLView (GLDocument *pDoc) throw (std::runtime_error) |
| Constructor.
|
virtual | ~GLView () |
| Destructor.
|
GtkWidget * | GetWidget () |
void | Init () |
void | Reshape (int width, int height) |
void | Draw () |
bool | OnPressed (GdkEventButton *event) |
bool | OnMotion (GdkEventMotion *event) |
void | Update () |
void | SetRotation (double psi, double theta, double phi) |
void | SaveAsImage (std::string const &filename, char const *type, std::map< std::string, std::string > &options, unsigned width, unsigned height) const |
GdkPixbuf * | BuildPixbuf (unsigned width, unsigned height) const |
void | DoPrint (GtkPrintOperation *print, GtkPrintContext *context, int page) const |
GtkWindow * | GetGtkWindow () |
void | RenderToCairo (cairo_t *cr, unsigned width, unsigned height) const |
void | SetAngle (double val) |
double | GetAngle (void) const |
double & | GetRefAngle (void) |
void | SetPsi (double val) |
double | GetPsi (void) const |
double & | GetRefPsi (void) |
void | SetPhi (double val) |
double | GetPhi (void) const |
double & | GetRefPhi (void) |
void | SetTheta (double val) |
double | GetTheta (void) const |
double & | GetRefTheta (void) |
void | SetRed (float val) |
float | GetRed (void) const |
float & | GetRefRed (void) |
void | SetGreen (float val) |
float | GetGreen (void) const |
float & | GetRefGreen (void) |
void | SetBlue (float val) |
float | GetBlue (void) const |
float & | GetRefBlue (void) |
void | SetAlpha (float val) |
float | GetAlpha (void) const |
float & | GetRefAlpha (void) |
GLDocument * | GetDoc (void) |
double | GetRadius (void) |
| Printable () |
virtual | ~Printable () |
virtual bool | SupportsHeaders () |
virtual bool | SupportMultiplePages () |
virtual int | GetPagesNumber () |
void | Print (bool preview) |
void | SetPageSetup (GtkPageSetup *PageSetup) |
GtkPrintSettings * | GetPrintSettings (void) const |
void | SetUnit (GtkUnit val) |
GtkUnit | GetUnit (void) const |
GtkUnit & | GetRefUnit (void) |
void | SetHeaderHeight (double val) |
double | GetHeaderHeight (void) const |
double & | GetRefHeaderHeight (void) |
void | SetFooterHeight (double val) |
double | GetFooterHeight (void) const |
double & | GetRefFooterHeight (void) |
void | SetHorizCentered (bool val) |
bool | GetHorizCentered (void) const |
bool & | GetRefHorizCentered (void) |
void | SetVertCentered (bool val) |
bool | GetVertCentered (void) const |
bool & | GetRefVertCentered (void) |
void | SetScaleType (PrintScaleType val) |
PrintScaleType | GetScaleType (void) const |
PrintScaleType & | GetRefScaleType (void) |
void | SetScale (double val) |
double | GetScale (void) const |
double & | GetRefScale (void) |
void | SetHorizFit (bool val) |
bool | GetHorizFit (void) const |
bool & | GetRefHorizFit (void) |
void | SetVertFit (bool val) |
bool | GetVertFit (void) const |
bool & | GetRefVertFit (void) |
void | SetHPages (int val) |
int | GetHPages (void) const |
int & | GetRefHPages (void) |
void | SetVPages (int val) |
int | GetVPages (void) const |
int & | GetRefVPages (void) |
| DialogOwner () |
virtual | ~DialogOwner () |
Dialog * | GetDialog (std::string name) |
void | ClearDialogs () |
The class representing a view of the model. Each document might have several views. Most methods are automatically called by the framework and should not be explicitely used in programs.
Definition at line 45 of file crystalview.h.