A figure that displays an image that can be manipulated programmatically.
A pixmap figure may be used to display e.g. a heat map. Support for scaling and various interpolation modes are useful here.
- See also
- cFigure::Pixmap
|
|
| cPixmapFigure (const char *name=nullptr) |
|
| cPixmapFigure (const cPixmapFigure &other) |
|
virtual | ~cPixmapFigure () |
|
cPixmapFigure & | operator= (const cPixmapFigure &other) |
|
|
virtual cPixmapFigure * | dup () const override |
|
virtual std::string | str () const override |
|
virtual void | parse (cProperty *property) override |
|
virtual const char * | getRendererClassName () const override |
|
|
virtual const Pixmap & | getPixmap () const |
|
virtual void | setPixmap (const Pixmap &pixmap) |
|
virtual int | getPixmapHeight () const |
|
virtual int | getPixmapWidth () const |
|
virtual void | setPixmapSize (int width, int height, const RGBA &fill) |
|
virtual void | setPixmapSize (int width, int height, const Color &color, double opacity) |
|
virtual void | fillPixmap (const RGBA &fill) |
|
virtual void | fillPixmap (const Color &color, double opacity) |
|
virtual const RGBA | getPixel (int x, int y) const |
|
virtual void | setPixel (int x, int y, const RGBA &argb) |
|
virtual void | setPixel (int x, int y, const Color &color, double opacity=1.0) |
|
virtual const Color | getPixelColor (int x, int y) const |
|
virtual void | setPixelColor (int x, int y, const Color &color) |
|
virtual double | getPixelOpacity (int x, int y) const |
|
virtual void | setPixelOpacity (int x, int y, double opacity) |
|
| cAbstractImageFigure (const char *name=nullptr) |
|
| cAbstractImageFigure (const cAbstractImageFigure &other) |
|
cAbstractImageFigure & | operator= (const cAbstractImageFigure &other) |
|
virtual void | moveLocal (double dx, double dy) override |
|
virtual const Point & | getPosition () const |
|
virtual void | setPosition (const Point &position) |
|
virtual Anchor | getAnchor () const |
|
virtual void | setAnchor (Anchor anchor) |
|
virtual double | getWidth () const |
|
virtual void | setWidth (double width) |
|
virtual double | getHeight () const |
|
virtual void | setHeight (double height) |
|
virtual void | setSize (double width, double height) |
|
virtual Rectangle | getBounds () const |
|
virtual Interpolation | getInterpolation () const |
|
virtual void | setInterpolation (Interpolation interpolation) |
|
virtual double | getOpacity () const |
|
virtual void | setOpacity (double opacity) |
|
virtual const Color & | getTintColor () const |
|
virtual void | setTintColor (const Color &tintColor) |
|
virtual double | getTintAmount () const |
|
virtual void | setTintAmount (double tintAmount) |
|
| cFigure (const char *name=nullptr) |
|
| cFigure (const cFigure &other) |
|
virtual | ~cFigure () |
|
cFigure & | operator= (const cFigure &other) |
|
virtual void | forEachChild (cVisitor *v) override |
|
int | getId () const |
|
virtual bool | isVisible () const |
|
virtual void | setVisible (bool visible) |
|
virtual const Transform & | getTransform () const |
|
virtual void | setTransform (const Transform &transform) |
|
virtual void | resetTransform () |
|
virtual double | getZIndex () const |
|
virtual void | setZIndex (double zIndex) |
|
virtual double | getEffectiveZIndex () const |
|
virtual const char * | getTooltip () const |
|
virtual void | setTooltip (const char *tooltip) |
|
virtual cObject * | getAssociatedObject () const |
|
virtual void | setAssociatedObject (cObject *obj) |
|
virtual const char * | getTags () const |
|
virtual void | setTags (const char *tags) |
|
virtual cFigure * | getParentFigure () const |
|
virtual cCanvas * | getCanvas () const |
|
virtual int | getNumFigures () const |
|
virtual cFigure * | getFigure (int pos) const |
|
virtual cFigure * | getFigure (const char *name) const |
|
virtual int | findFigure (const char *name) const |
|
virtual int | findFigure (const cFigure *figure) const |
|
virtual bool | containsFigures () const |
|
virtual cFigure * | findFigureRecursively (const char *name) const |
|
virtual cFigure * | getFigureByPath (const char *path) const |
|
virtual void | addFigure (cFigure *figure) |
|
virtual void | addFigure (cFigure *figure, int pos) |
|
_OPPDEPRECATED void | addFigureAbove (cFigure *figure, cFigure *referenceFigure) |
|
_OPPDEPRECATED void | addFigureBelow (cFigure *figure, cFigure *referenceFigure) |
|
virtual cFigure * | removeFigure (cFigure *figure) |
|
virtual cFigure * | removeFigure (int pos) |
|
virtual cFigure * | removeFromParent () |
|
virtual bool | isAbove (const cFigure *figure) const |
|
virtual bool | isBelow (const cFigure *figure) const |
|
virtual void | insertAbove (cFigure *referenceFigure) |
|
virtual void | insertBelow (cFigure *referenceFigure) |
|
virtual void | insertAfter (const cFigure *referenceFigure) |
|
virtual void | insertBefore (const cFigure *referenceFigure) |
|
virtual void | raiseAbove (cFigure *figure) |
|
virtual void | lowerBelow (cFigure *figure) |
|
virtual void | raiseToTop () |
|
virtual void | lowerToBottom () |
|
virtual cFigure * | dupTree () const |
|
virtual void | translate (double dx, double dy) |
|
virtual void | scale (double s) |
|
virtual void | scale (double sx, double sy) |
|
virtual void | scale (double sx, double sy, double cx, double cy) |
|
virtual void | scale (double sx, double sy, const Point &c) |
|
virtual void | rotate (double phi) |
|
virtual void | rotate (double phi, double cx, double cy) |
|
virtual void | rotate (double phi, const Point &c) |
|
virtual void | skewx (double coeff) |
|
virtual void | skewy (double coeff) |
|
virtual void | skewx (double coeff, double cy) |
|
virtual void | skewy (double coeff, double cx) |
|
virtual void | move (double dx, double dy) |
|
virtual void | refreshDisplay () |
|
| cOwnedObject () |
|
| cOwnedObject (const char *name, bool namepooling=true) |
|
| cOwnedObject (const cOwnedObject &obj) |
|
virtual | ~cOwnedObject () |
|
cOwnedObject & | operator= (const cOwnedObject &o) |
|
virtual void | parsimPack (cCommBuffer *buffer) const override |
|
virtual void | parsimUnpack (cCommBuffer *buffer) override |
|
virtual cObject * | getOwner () const override |
|
virtual bool | isOwnedObject () const override |
|
virtual bool | isSoftOwner () const |
|
| cNamedObject () |
|
| cNamedObject (const char *name, bool namepooling=true) |
|
| cNamedObject (const cNamedObject &obj) |
|
virtual | ~cNamedObject () |
|
cNamedObject & | operator= (const cNamedObject &o) |
|
virtual void | setName (const char *s) |
|
virtual const char * | getName () const override |
|
virtual void | setNamePooling (bool b) |
|
virtual bool | getNamePooling () |
|
| cObject () |
|
| cObject (const cObject &other) |
|
virtual | ~cObject () |
|
virtual const char * | getClassName () const |
|
bool | isName (const char *s) const |
|
virtual const char * | getFullName () const |
|
virtual std::string | getFullPath () const |
|
const cObject * | getThisPtr () const |
|
virtual _OPPDEPRECATED std::string | info () const |
|
virtual _OPPDEPRECATED std::string | detailedInfo () const |
|
cObject * | findObject (const char *name, bool deep=true) |
|
void | copyNotSupported () const |
|