COPASI API  4.16.103
CQRenderConverter.h
Go to the documentation of this file.
1 // Copyright (C) 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #ifndef QRENDER_CONVERTER_H
7 #define QRENDER_CONVERTER_H
8 
9 class CLStyle;
10 class CLGroup;
11 class CLRenderResolver;
12 class CLBoundingBox;
13 class QGraphicsScene;
14 class QGraphicsItemGroup;
15 
16 #include <QtGui/QGraphicsItemGroup>
17 
18 #include <string>
19 
21 {
22 public:
23  static void fillGroupFromStyle(QGraphicsItemGroup *group, const CLBoundingBox* bounds, const CLStyle *style, const CLRenderResolver* resolver);
24  static void applyStyle(QGraphicsTextItem *item, const CLBoundingBox* bounds, const CLGroup *style, const CLRenderResolver* resolver);
25  static void applyStyle(QGraphicsPathItem *item, const CLBoundingBox* bounds, const CLGroup *style, const CLRenderResolver* resolver, QGraphicsItemGroup* itemGroup);
26  static void applyStyle(QGraphicsItemGroup *item, const CLBoundingBox* bounds, const CLGroup *style, const CLRenderResolver* resolver);
27  static void setBackground(QGraphicsScene *scene, const std::string& fill, const CLRenderResolver* resolver);
28 };
29 
30 #endif
static void setBackground(QGraphicsScene *scene, const std::string &fill, const CLRenderResolver *resolver)
static void fillGroupFromStyle(QGraphicsItemGroup *group, const CLBoundingBox *bounds, const CLStyle *style, const CLRenderResolver *resolver)
static void applyStyle(QGraphicsTextItem *item, const CLBoundingBox *bounds, const CLGroup *style, const CLRenderResolver *resolver)