krita
kis_image_iface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KIS_IMAGE_IFACE_H
00021 #define KIS_IMAGE_IFACE_H
00022
00023 #include <dcopref.h>
00024 #include <dcopobject.h>
00025
00026
00027 #include <qstring.h>
00028
00029 class KisImage;
00030 class KisPaintDeviceIface;
00031
00032 class KisImageIface : virtual public DCOPObject
00033 {
00034 K_DCOP
00035 public:
00036 KisImageIface( KisImage *img_ );
00037 k_dcop:
00038
00039 int height() const;
00040 int width() const;
00041
00042 void setName(const QString& name);
00043
00044 void rotateCCW();
00045 void rotateCW();
00046 void rotate180();
00047 void rotate(double angle);
00048
00052 DCOPRef activeDevice();
00053
00057 DCOPRef colorSpace() const;
00058
00059
00060 private:
00061
00062 KisImage *m_img;
00063 };
00064
00065 #endif
|