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

Public Types | |
| enum | { kDefaultIID = IID_IRENDERINGOBJECTDRAWER } |
Public Member Functions | |
| virtual void | DrawRenderObjectUI (IViewPort *viewPort, IControlView *view, SysRgn updateRgn, PMRect frame) const =0 |
| virtual void | DrawRenderObjectUIName (IGraphicsContext *gc, const InterfaceFontInfo &fontInfo, const PMRect &frame, const int16 &alignment, const bool16 &isHilited, const bool16 &isEnabled) const =0 |
| virtual void | DrawRenderObjectUISwatch (IGraphicsPort *gPort, const PMRect &frame) const =0 |
| virtual void | DrawRenderObjectUIIcons (IViewPort *viewPort, const SysRect &sysFrame, const bool16 &brightnessAware=kTrue) 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 |
A reqruied interface for all InDesign rendering objects. All rendering objects are represented by swatches. ISwatchList
| pure virtual |
Draw this rendering object UI.
| viewPort | the view port in which the rendering object UI will be drawn. |
| view | the control view in which the rendering object UI will be drawn. |
| updateRgn | the affected updateRgn. |
Implemented in CRenderingObjectDrawer.
| pure virtual |
Draw the icons for the rendering object.
| gPort | the graphic port in which to draw the color swatch. |
| sysFrame | the size of the frame to draw one or more icons to. |
| brightnessAware | default kTrue, icons will be brightness aware. |
Implemented in CRenderingObjectDrawer.
| pure virtual |
Draw the rendering object UI name in the specified graphic context.
| fontInfo | the font to use to draw the name. |
| frame | the rectangular frame in which the name should be drawn. |
| alignment | where the name should be aligned. |
| isHilited | kTrue if the name should be drawn as highlighted. |
| isEnabled | kTrue if the name should be drawn as enabled. |
Implemented in CRenderingObjectDrawer.
| pure virtual |
Draw the color swatch representing the rendering object.
| gPort | the graphic port in which to draw the color swatch. |
| frame | the size of the color swatch. |
Implemented in CRenderingObjectDrawer.