![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ITEXTSELECTIONADORNMENT } |
Public Member Functions | |
| virtual void | DrawAdornment (const IWaxLineHilite *waxLineHilite, const K2Vector< PMPolygon4 > *pSetOfHighlightBounds, IGraphicsContext *gc, int32 flags)=0 |
| virtual bool16 | HitTest (const PMPoint &mousePoint) const =0 |
| virtual bool16 | IsMouseWithinHoverRect (const PMPoint &mousePoint) const =0 |
| virtual PMRect | GetAdornmentBounds () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
DrawAdornment draws the page item adornment.
| gd | IN The current GraphicsData. |
| pSetOfHighlightBounds | IN highlight bounds in waxline space. |
| gc | IN graphics context. |
| flags | IN The graphics's ports flags. |
| pure virtual |
This method will return the adornment bounds for the adornment.
| layoutView | view |
| mousePoint | Mouse point in Window coordinates |
| pure virtual |
This method will return true if the mouse point is over the adornment. If you override this you will need to call this directly. It is not hooked into any other hit test framework.
| layoutView | view |
| mousePoint | Mouse point in Window coordinates |
| pure virtual |
This method will return true if the mouse point is within the hover rect. This is used to dismiss the context UI in case mouse goes out of the hover rect.
| layoutView | view |
| mousePoint | Mouse point in Window coordinates |