Scribus
Open source desktop publishing at your fingertips
|
Public Types | |
enum | Type { linear = 0, radial = 1, fourcolor = 2, diamond = 3, mesh = 4, freemesh = 5 } |
enum | RepeatMethod { none = 0, reflect = 1, repeat = 2, pad = 3 } |
Public Member Functions | |
VGradientEx (VGradientEx::Type type=linear) | |
VGradientEx (const VGradientEx &gradient) | |
VGradientEx (const VGradient &gradient, ScribusDoc &doc) | |
VGradientEx & | operator= (const VGradientEx &gradient) |
VGradientEx::Type | type () const |
void | setType (VGradientEx::Type type) |
VGradientEx::RepeatMethod | repeatMethod () const |
void | setRepeatMethod (VGradientEx::RepeatMethod repeatMethod) |
const QList< VColorStopEx * > | colorStops () const |
void | addStop (const VColorStopEx &colorStop) |
void | addStop (const ScColor &color, double rampPoint, double midPoint, double opa, QString name="", int shade=100) |
void | removeStop (VColorStopEx &colorStop) |
void | removeStop (uint n) |
void | clearStops () |
uint | Stops () |
FPoint | origin () const |
void | setOrigin (const FPoint &origin) |
FPoint | focalPoint () const |
void | setFocalPoint (const FPoint &focalPoint) |
FPoint | vector () const |
void | setVector (const FPoint &vector) |
void | transform (const QTransform &m) |
Protected Member Functions | |
int | compareItems (const VColorStopEx *item1, const VColorStopEx *item2) const |
void | inSort (VColorStopEx *d) |
Protected Attributes | |
QList< VColorStopEx * > | m_colorStops |