Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
IDOMNullBrush Class Reference

IDOMNullBrush provides a way of representing the default marking brush in a Type3 postscript glyph definition or a tiling pattern with paintType 2. This is more of a placeholder that gets replaced when the Type3 glyph or paintType 2 tiling pattern is actually invoked. More...

#include <edl/idombrush.h>

Inheritance diagram for IDOMNullBrush:
[legend]

Classes

class  Data
 Initialization data. More...

Static Public Member Functions

static EDL_API IDOMNullBrushPtr create (IEDLClassFactory *pFactory)
 Simplified creator for a Null brush. Throws an IEDLError on failure.
static const CClassIDclassID ()
 Retrieves class id of IDOMNullBrush.

Additional Inherited Members

Public Types inherited from IDOMBrush
enum  eBrushType {
  eSolidColor , eLinearGradient , eRadialGradient , eImage ,
  eMasked , eVisual , eSoftMask , eTilingPattern ,
  eType1ShadingPattern , eType2ShadingPattern , eType3ShadingPattern , eType4567ShadingPattern ,
  eNull
}
 Brush type enumeration. More...
Public Member Functions inherited from IDOMBrush
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.
Public Member Functions inherited from IEDLObject
virtual const CClassIDgetClassID () 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.
Public Member Functions inherited from IRCObject
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.
Public Member Functions inherited from IDOMHashable
virtual ~IDOMHashable ()
 Virtual destructor.
virtual bool hash (uint64 &hash)=0
 Retrieve a hash for this object.
virtual uint64 hashE ()
 As hash(), but throws an exception if the operation fails.
Protected Member Functions inherited from IRCObject
virtual ~IRCObject ()
 Virtual destructor.

Detailed Description

IDOMNullBrush provides a way of representing the default marking brush in a Type3 postscript glyph definition or a tiling pattern with paintType 2. This is more of a placeholder that gets replaced when the Type3 glyph or paintType 2 tiling pattern is actually invoked.

Member Function Documentation

◆ classID()

const CClassID & IDOMNullBrush::classID ( )
inlinestatic

Retrieves class id of IDOMNullBrush.

Returns
CClassID Class id of the element

◆ create()

EDL_API IDOMNullBrushPtr IDOMNullBrush::create ( IEDLClassFactory * pFactory)
static

Simplified creator for a Null brush. Throws an IEDLError on failure.

Parameters
pFactoryThe factory to use.
Returns
IDOMNullBrushPtr The new brush.

The documentation for this class was generated from the following file: