A common interface for both IDOMLinearGradient and IDOMRadialGradient. Provides straightforward access to common attributes.
More...
|
virtual eColorInterpolationMode | getColorInterpolationMode () const =0 |
| Retrieves the color interpolation mode value of the radial gradient brush.
|
|
virtual void | setColorInterpolationMode (eColorInterpolationMode cim)=0 |
| Sets the color interpolation mode value of the radial gradient brush.
|
|
virtual eSpreadMethod | getSpreadMethod () const =0 |
| Retrieves the spread method value of the RadialGradientBrush element.
|
|
virtual void | setSpreadMethod (eSpreadMethod sm)=0 |
| Sets spread method value of the RadialGradientBrush element.
|
|
virtual void | setGradientStops (const CDOMGradientStopVect &stops)=0 |
| Set the vector of stops in this gradient. Must not be empty.
|
|
virtual const CDOMGradientStopVect & | getGradientStops () const =0 |
| Retrieves the vector of stops in this gradient. An exception will be thrown if the gradient has no stops.
|
|
virtual void | addGradientStop (const IDOMGradientStopPtr &ptrGradientStop)=0 |
| Append a gradient stop.
|
|
virtual void | normalizeStops (IEDLClassFactory *pFactory, const IDOMColorSpacePtr &ptrColorSpace=IDOMColorSpacePtr(), eRenderingIntent intent=eRelativeColorimetric, eBlackPointCompensation bpc=eBPCDefault)=0 |
| Normalize the gradient stops to a single color space, sort them and ensure there are stops at 0.0 and 1.0.
|
|
virtual const FMatrix & | getRenderTransform () const =0 |
| Retrieves the render transform matrix.
|
|
virtual void | setRenderTransform (const FMatrix &matrix)=0 |
| Sets the render transform matrix.
|
|
virtual eBrushType | getBrushType () const =0 |
| Retrieves the type of the brush.
|
|
virtual float | getOpacity () const =0 |
| Retrieves the opacity value of the brush element.
|
|
virtual void | setOpacity (float opc)=0 |
| Sets the opacity value of a brush element.
|
|
virtual IDOMBrushPtr | getAdjustedForUseInTransformedNode (IEDLClassFactory *pFactory, const FMatrix &nodeTransform) |
| Get a version of this brush adjusted for use inside a node with the given transform.
|
|
virtual const CClassID & | getClassID () const =0 |
| Returns class ID of IEDLObject.
|
|
virtual bool | init (CClassParams *pData) |
| The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
|
|
virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
| Create a copy of EDLObject.
|
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
|
A common interface for both IDOMLinearGradient and IDOMRadialGradient. Provides straightforward access to common attributes.