4#ifndef QSGOPENVGINTERNALRECTANGLENODE_H
5#define QSGOPENVGINTERNALRECTANGLENODE_H
7#include <private/qsgadaptationlayer_p.h>
36 void createVGResources();
37 void destroyVGResources();
39 void generateRectanglePath(
const QRectF &
rect,
float radius, VGPath
path)
const;
40 void generateRectangleAndBorderPaths(
const QRectF &
rect,
float penWidth,
float radius, VGPath inside, VGPath outside)
const;
41 void generateBorderPath(
const QRectF &
rect,
float borderWidth,
float borderHeight,
float radius, VGPath
path)
const;
43 bool m_pathDirty =
true;
44 bool m_fillDirty =
true;
45 bool m_strokeDirty =
true;
50 qreal m_penWidth = 0.0;
52 bool m_aligned =
false;
53 bool m_vertical =
true;
56 VGPath m_rectanglePath;
58 VGPaint m_rectanglePaint;
59 VGPaint m_borderPaint;
The QColor class provides colors based on RGB, HSV or CMYK values.
\inmodule QtCore\reentrant
void setTransform(const QOpenVGMatrix &transform) override
void setAligned(bool aligned) override
void setGradientStops(const QGradientStops &stops) override
void setRadius(qreal radius) override
void setGradientVertical(bool vertical) override
~QSGOpenVGInternalRectangleNode()
void setOpacity(float opacity) override
void setPenWidth(qreal width) override
void setRect(const QRectF &rect) override
void setPenColor(const QColor &color) override
QSGOpenVGInternalRectangleNode()
void setColor(const QColor &color) override
Combined button and popup list for selecting options.
GLuint GLenum GLenum transform
GLsizei const GLchar *const * path
Int aligned(Int v, Int byteAlign)