Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSGOpenVGHelpers Namespace Reference

Functions

VGPath qPainterPathToVGPath (const QPainterPath &path)
void qDrawTiled (VGImage image, const QSize imageSize, const QRectF &targetRect, const QPointF offset, float scaleX, float scaleY)
void qDrawBorderImage (VGImage image, const QSizeF &textureSize, const QRectF &targetRect, const QRectF &innerTargetRect, const QRectF &subSourceRect)
void qDrawSubImage (VGImage image, const QRectF &sourceRect, const QPointF &destOffset)
const QVector< VGfloat > qColorToVGColor (const QColor &color, float opacity=1.0f)
VGImageFormat qImageFormatToVGImageFormat (QImage::Format format)
QImage::Format qVGImageFormatToQImageFormat (VGImageFormat format)

Function Documentation

◆ qColorToVGColor()

const QVector< VGfloat > QSGOpenVGHelpers::qColorToVGColor ( const QColor & color,
float opacity = 1.0f )

Definition at line 298 of file qsgopenvghelpers.cpp.

◆ qDrawBorderImage()

void QSGOpenVGHelpers::qDrawBorderImage ( VGImage image,
const QSizeF & textureSize,
const QRectF & targetRect,
const QRectF & innerTargetRect,
const QRectF & subSourceRect )

Definition at line 184 of file qsgopenvghelpers.cpp.

References qDrawTiled().

Here is the call graph for this function:

◆ qDrawSubImage()

void QSGOpenVGHelpers::qDrawSubImage ( VGImage image,
const QRectF & sourceRect,
const QPointF & destOffset )

Definition at line 277 of file qsgopenvghelpers.cpp.

◆ qDrawTiled()

void QSGOpenVGHelpers::qDrawTiled ( VGImage image,
const QSize imageSize,
const QRectF & targetRect,
const QPointF offset,
float scaleX,
float scaleY )

Definition at line 115 of file qsgopenvghelpers.cpp.

Referenced by qDrawBorderImage().

Here is the caller graph for this function:

◆ qImageFormatToVGImageFormat()

VGImageFormat QSGOpenVGHelpers::qImageFormatToVGImageFormat ( QImage::Format format)

Definition at line 310 of file qsgopenvghelpers.cpp.

◆ qPainterPathToVGPath()

VGPath QSGOpenVGHelpers::qPainterPathToVGPath ( const QPainterPath & path)

Definition at line 11 of file qsgopenvghelpers.cpp.

◆ qVGImageFormatToQImageFormat()

QImage::Format QSGOpenVGHelpers::qVGImageFormatToQImageFormat ( VGImageFormat format)

Definition at line 355 of file qsgopenvghelpers.cpp.