|
virtual const FPoint & | getCenter () const =0 |
| Retrieves the center point of the gradient brush ellipse.
|
|
virtual void | setCenter (const FPoint &pt)=0 |
| Sets the center point of the gradient brush ellipse.
|
|
virtual const FPoint & | getGradientOrigin () const =0 |
| Retrieves the origin point of the radial gradient, corresponding to the gradient stop with an offset of 0.0.
|
|
virtual void | setGradientOrigin (const FPoint &pt)=0 |
| Sets the origin point of the radial gradient, corresponding to the gradient stop with an offset of 0.0.
|
|
virtual double | getRadiusX () const =0 |
| Retrieves the x-radius of the gradient brush ellipse.
|
|
virtual void | setRadiusX (double r)=0 |
| Sets the x-radius of the gradient brush ellipse.
|
|
virtual double | getRadiusY () const =0 |
| Retrieves the y-radius of the gradient brush ellipse.
|
|
virtual void | setRadiusY (double r)=0 |
| Sets the y-radius of the gradient brush ellipse.
|
|
virtual IDOMShadingPatternType3BrushPtr | createShading (IEDLClassFactory *pFactory, const FRect &fillArea, bool useFirstStopColorSpace=false)=0 |
| Create a Type3 Shading Pattern brush from this radial brush. All alpha information in the gradient stops will be dropped. The resulting brush will be generated to fill the given rectangle.
|
|
virtual IDOMRadialGradientBrushPtr | getSimplifiedGradient (IEDLClassFactory *pFactory, const FRect &fillArea)=0 |
| Create a simplified radial gradient brush, where any repeat or reflect pad mode is converted to simple padding by repeating gradient stops as required. The resulting brush will be generated to fill the given rectangle.
|
|
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.
|
|
IDOMRadialGradientBrush interface. A radial gradient brush defines an ellipse to be filled with the gradient. The ellipse is defined by its center, x radius, and y radius. Independently, a gradient origin is specified for the brush. The gradient origin defines the center of the gradient; a gradient stop with an offset at 0.0 defines the color at the gradient origin. The outer bound of the ellipse defines the end "point" of the gradient; that is, a gradient stop with an offset at 1.0 defines the color at the circumference of the ellipse, and all other gradient stops define their offsets relative to the radial distance between the gradient origin and the circumference.