Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QSvgDevice Class Reference

#include </home/clem/local/src/opie/qmake/include/private/qsvgdevice_p.h>

List of all members.

Public Member Functions

 QSvgDevice ()
 ~QSvgDevice ()
bool play (QPainter *p)
QString toString () const
bool load (QIODevice *dev)
bool save (QIODevice *dev)
bool save (const QString &fileName)
QRect boundingRect () const
void setBoundingRect (const QRect &r)

Protected Member Functions

virtual bool cmd (int, QPainter *, QPDevCmdParam *)
virtual int metric (int) const

Private Member Functions

bool play (const QDomNode &node)
void saveAttributes ()
void restoreAttributes ()
QColor parseColor (const QString &col)
double parseLen (const QString &str, bool *ok=0, bool horiz=TRUE) const
int lenToInt (const QDomNamedNodeMap &map, const QString &attr, int def=0) const
void setStyleProperty (const QString &prop, const QString &val, QPen *pen, QFont *font, int *talign)
void setStyle (const QString &s)
void setTransform (const QString &tr)
void drawPath (const QString &data)
void applyStyle (QDomElement *e, int c) const
void applyTransform (QDomElement *e) const

Private Attributes

QRect brect
QDomDocument doc
QDomNode current
QPoint curPt
QSvgDeviceState * curr
QPainter * pt
bool dirtyTransform
bool dirtyStyle
QSvgDevicePrivate * d


Constructor & Destructor Documentation

QSvgDevice::QSvgDevice  ) 
 

QSvgDevice::~QSvgDevice  ) 
 


Member Function Documentation

void QSvgDevice::applyStyle QDomElement *  e,
int  c
const [private]
 

void QSvgDevice::applyTransform QDomElement *  e  )  const [private]
 

QRect QSvgDevice::boundingRect  )  const [inline]
 

Definition at line 127 of file qsvgdevice_p.h.

References brect.

virtual bool QSvgDevice::cmd int  ,
QPainter *  ,
QPDevCmdParam * 
[protected, virtual]
 

void QSvgDevice::drawPath const QString data  )  [private]
 

int QSvgDevice::lenToInt const QDomNamedNodeMap &  map,
const QString attr,
int  def = 0
const [private]
 

bool QSvgDevice::load QIODevice dev  ) 
 

virtual int QSvgDevice::metric int   )  const [protected, virtual]
 

QColor QSvgDevice::parseColor const QString col  )  [private]
 

double QSvgDevice::parseLen const QString str,
bool *  ok = 0,
bool  horiz = TRUE
const [private]
 

bool QSvgDevice::play const QDomNode &  node  )  [private]
 

bool QSvgDevice::play QPainter *  p  ) 
 

void QSvgDevice::restoreAttributes  )  [private]
 

bool QSvgDevice::save const QString fileName  ) 
 

bool QSvgDevice::save QIODevice dev  ) 
 

void QSvgDevice::saveAttributes  )  [private]
 

void QSvgDevice::setBoundingRect const QRect &  r  ) 
 

void QSvgDevice::setStyle const QString s  )  [private]
 

void QSvgDevice::setStyleProperty const QString prop,
const QString val,
QPen *  pen,
QFont *  font,
int *  talign
[private]
 

void QSvgDevice::setTransform const QString tr  )  [private]
 

QString QSvgDevice::toString  )  const
 


Member Data Documentation

QRect QSvgDevice::brect [private]
 

Definition at line 114 of file qsvgdevice_p.h.

Referenced by boundingRect().

QPoint QSvgDevice::curPt [private]
 

Definition at line 117 of file qsvgdevice_p.h.

QSvgDeviceState* QSvgDevice::curr [private]
 

Definition at line 118 of file qsvgdevice_p.h.

QDomNode QSvgDevice::current [private]
 

Definition at line 116 of file qsvgdevice_p.h.

QSvgDevicePrivate* QSvgDevice::d [private]
 

Definition at line 124 of file qsvgdevice_p.h.

bool QSvgDevice::dirtyStyle [private]
 

Definition at line 122 of file qsvgdevice_p.h.

bool QSvgDevice::dirtyTransform [private]
 

Definition at line 122 of file qsvgdevice_p.h.

QDomDocument QSvgDevice::doc [private]
 

Definition at line 115 of file qsvgdevice_p.h.

QPainter* QSvgDevice::pt [private]
 

Definition at line 119 of file qsvgdevice_p.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:49:08 2005 for OPIE by  doxygen 1.4.2