![]() | InDesign SDK 20.5 |
#include <CWaxRunText.h>

Public Member Functions | |
| CWaxRunText (IPMUnknown *boss) | |
| virtual void | Draw (GraphicsData *gd, int32 iShapeFlags, Text::DrawPassInfo::Pass pass, const PMRect *areaToDraw) const |
Public Member Functions inherited from CPMUnknown< IWaxRunText > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Protected Member Functions | |
| virtual void | Draw (GraphicsData *gd, int32 iShapeFlags, const PMRect *areaToDraw) const =0 |
| virtual bool16 | DrawRunForCreateOutlines (IGraphicsPort *gPort, GPortAuxInfoParam &auxInfo) const |
Protected Member Functions inherited from CPMUnknown< IWaxRunText > | |
| CPMUnknown (IPMUnknown *boss) | |
Additional Inherited Members | |
Public Types inherited from IWaxRunText | |
| enum | { kDefaultIID = IID_IWAXRUNTEXT } |
Protected Attributes inherited from CPMUnknown< IWaxRunText > | |
| HelperInterface | fHelperInterface |
Base implementation for managing the Draw()ing of the text within this waxRun. Use this implementation if you would like (at least partial) generic waxRun drawing.
| virtual |
Default drawing of the wax run. Draws text and associated objects (i.e. adornments). This method first checks to see if the port is CreateOutlines mode
If so, calls DrawRunForCreateOutlines(). If it returns kFalse, nothing else is done. Otherwise, the auxInfo returned is installed into the graphics port/data for the duration of this method.
It then gathers all adornments that match this pass and calls their draw method. If the pass is kPassText, it calls the other Draw() method on this interface.
Implements IWaxRunText.
| protectedpure virtual |
Default drawing of the text associated with the waxRun. It is called when the public Draw() method on this interface is called with pass == kPassText. See that method for details on the parameters.
| protectedvirtual |
Checks for Create Outlines mode and prepares auxiliary information for the port if appropriate. It also further initializes the port for this particular waxRun. Called by the public Draw() method.
| gPort | IN Where to draw. |
| auxInfo | OUT returned additional information which is needed for create outlines drawing. |