NAME

Qt::Svg::QSvgRenderer

PUBLIC METHODS

QSvgRenderer(QObject * parent)
QSvgRenderer(QObject * parent = 0)
QSvgRenderer(const QString & filename, QObject * parent)
QSvgRenderer(const QString & filename, QObject * parent = 0)
QSvgRenderer(const QByteArray & contents, QObject * parent)
QSvgRenderer(const QByteArray & contents, QObject * parent = 0)
QSvgRenderer(QXmlStreamReader * contents, QObject * parent)
QSvgRenderer(QXmlStreamReader * contents, QObject * parent = 0)
~QSvgRenderer()
bool animated()
int animationDuration()
QRectF boundsOnElement(const QString & id)
int currentFrame()
QSize defaultSize()
bool elementExists(const QString & id)
int framesPerSecond()
bool isValid()
bool load(const QString & filename)
bool load(const QByteArray & contents)
bool load(QXmlStreamReader * contents)
QMatrix matrixForElement(const QString & id)
void render(QPainter * p)
void render(QPainter * p, const QRectF & bounds)
void render(QPainter * p, const QString & elementId, const QRectF & bounds)
void render(QPainter * p, const QString & elementId, const QRectF & bounds = QRectF())
void setCurrentFrame(int arg0)
void setFramesPerSecond(int num)
void setViewBox(const QRect & viewbox)
void setViewBox(const QRectF & viewbox)
QRect viewBox()
QRectF viewBoxF()

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html