You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
787 B
38 lines
787 B
/* This file is part of the KDE project
|
|
Copyright (C) 2001, 2002, 2003 The Karbon Developers
|
|
*/
|
|
|
|
#ifndef __VIMAGE_H__
|
|
#define __VIMAGE_H__
|
|
|
|
#include "vobject.h"
|
|
#include <koffice_export.h>
|
|
class TQImage;
|
|
|
|
// all vobjects exist inside a layer.
|
|
|
|
class KARBONBASE_EXPORT VImage : public VObject
|
|
{
|
|
public:
|
|
VImage( VObject *parent, const TQString &fname = "" );
|
|
VImage( const VImage & );
|
|
virtual ~VImage();
|
|
|
|
virtual void draw( VPainter *painter, const KoRect *rect ) const;
|
|
|
|
virtual void transform( const TQWMatrix& m );
|
|
virtual VObject* clone() const;
|
|
|
|
virtual void save( TQDomElement& element ) const;
|
|
virtual void load( const TQDomElement& element );
|
|
|
|
virtual void accept( VVisitor& visitor );
|
|
|
|
private:
|
|
TQImage *m_image;
|
|
TQString m_fname;
|
|
TQWMatrix m_matrix;
|
|
};
|
|
|
|
#endif
|