![]() | InDesign SDK 20.5 |

Public Member Functions | |
| BscTAAdornment (IPMUnknown *boss) | |
| virtual void | GetInkBounds (PMRect *inkBounds, const PMRect &runInkBounds, IWaxRun *run, IWaxRenderData *renderData, IWaxGlyphs *glyphs, const ITextAdornmentData *data) |
| virtual void | Draw (GraphicsData *gd, int32 iShapeFlags, IWaxRun *run, IWaxRenderData *renderData, IWaxGlyphs *glyphs, const ITextAdornmentData *data) |
| virtual Text::DrawPriority | GetDrawPriority (void) |
| virtual ITextAdornmentData * | SplitAt (int32 offsetInRun, IWaxRun *waxRun, IWaxRun *newWaxRun, ITextAdornmentData *data) |
Public Member Functions inherited from CPMUnknown< ITextAdornment > | |
| 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 | |
| bool16 | WaxIsPathType (const IWaxRun *waxRun) |
| void | TOPGlyphSelectionPath (GraphicsData *gd, IWaxRun *run, IWaxGlyphs *waxGlyphs, const PMLineSeg &selection, int32 index) |
| void | DrawBoundsForOneGlyph (IGraphicsPort *gPort, const PMReal &runPosition, PMMatrix &position, const PMLineSeg &selection, Fixed width) |
Protected Member Functions inherited from CPMUnknown< ITextAdornment > | |
| CPMUnknown (IPMUnknown *boss) | |
Static Protected Member Functions | |
| static PMReal | GetRunWidth (IWaxGlyphs *runGlyphs) |
Additional Inherited Members | |
Public Types inherited from ITextAdornment | |
| enum | { kDefaultIID = IID_ITEXTADORNMENT } |
Protected Attributes inherited from CPMUnknown< ITextAdornment > | |
| HelperInterface | fHelperInterface |
Provides a custom character adornment, a shade behind the text to which the corresponding custom attribute, introduced by the kBscTAAttrBoss, applies. See kBscTAAttrBoss and kBscTAAdornmentBoss.
| inline |
Constructor
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Shade the text to which our character attribute applies, see ITextAdornment::GetInkBounds.
Implements ITextAdornment.
| protected |
Draw bounds for one glyph.
| gPort | |
| runPosition | |
| position | |
| selection | |
| width |
| virtual |
| virtual |
Returns the inkBounds and a flag indicating whether the adornment would draw on this run, see ITextAdornment::GetInkBounds.
Implements ITextAdornment.
| staticprotected |
Gets the run width (helper method).
| runGlyphs | is the glyph of the wax run. |
| virtual |
The adorned run is splitting: split the given data at the given offset. We are not really splitting the adornment, so we simply return nil.
Implements ITextAdornment.
| protected |
Figure out the selection path for the TOP, just in case the tags are inserted there
| gd | is the graphic data that contains the graphic port where all the drawing will occur. |
| run | is the wax line that owns the run. |
| waxGlyphs | stores the identifier and width of each glyph in the run. |
| selection | |
| index | is the index of glyph run. |
| protected |
Check if it is text on path or not
| waxRun | is the wax line that owns the run. |