4#ifndef QSGOPENVGHELPERS_H
5#define QSGOPENVGHELPERS_H
7#include <QtGui/QPainterPath>
17void qDrawTiled(VGImage image,
const QSize imageSize,
const QRectF &targetRect,
const QPointF offset,
float scaleX,
float scaleY);
18void qDrawBorderImage(VGImage image,
const QSizeF &textureSize,
const QRectF &targetRect,
const QRectF &innerTargetRect,
const QRectF &subSourceRect);
19void qDrawSubImage(VGImage image,
const QRectF &sourceRect,
const QPointF &destOffset);
QSGOpenVGFontGlyphCache * cache(const QRawFont &font)
void insertCache(const QRawFont &font, QSGOpenVGFontGlyphCache *cache)
~QSGOpenVGFontGlyphCacheManager()
void populate(const QVector< quint32 > &glyphs)
void release(const QVector< quint32 > &glyphs)
QSGOpenVGFontGlyphCache(QSGOpenVGFontGlyphCacheManager *manager, const QRawFont &font)
~QSGOpenVGFontGlyphCache()
void qDrawBorderImage(VGImage image, const QSizeF &textureSize, const QRectF &targetRect, const QRectF &innerTargetRect, const QRectF &subSourceRect)
const QVector< VGfloat > qColorToVGColor(const QColor &color, float opacity=1.0f)
void qDrawTiled(VGImage image, const QSize imageSize, const QRectF &targetRect, const QPointF offset, float scaleX, float scaleY)
QImage::Format qVGImageFormatToQImageFormat(VGImageFormat format)
VGImageFormat qImageFormatToVGImageFormat(QImage::Format format)
VGPath qPainterPathToVGPath(const QPainterPath &path)
void qDrawSubImage(VGImage image, const QRectF &sourceRect, const QPointF &destOffset)