![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kRenderObjectSwatchStart = 4, kSwatchNameStart = kRenderObjectSwatchStart + 3, kIconInset = 3, kSwatchesPanelIconWidth = 13 } |
Public Member Functions | |
| CRenderingObjectDrawer (IPMUnknown *boss) | |
| virtual void | DrawRenderObjectUI (IViewPort *viewPort, IControlView *view, SysRgn updateRgn, PMRect frame) const |
| virtual void | DrawRenderObjectUIName (IGraphicsContext *gc, const InterfaceFontInfo &fontInfo, const PMRect &frame, const int16 &alignment, const bool16 &isHilited, const bool16 &isEnabled) const |
| virtual void | DrawRenderObjectUISwatch (IGraphicsPort *gPort, const PMRect &frame) const |
| virtual void | DrawRenderObjectUIIcons (IViewPort *viewPort, const SysRect &sysFrame, const bool16 &brightnessAware=kTrue) const |
Public Member Functions inherited from CPMUnknown< IRenderingObjectDrawer > | |
| 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 | |
| void | DrawNoEditIcon (IViewPort *viewPort, const SysRect &bbox, const bool16 &brightnessAware=kTrue) const |
| void | DrawBackground (IGraphicsPort *gPort, const IControlView *widget, const PMRect &frame, const bool16 &isHilited, const bool16 &bInsetHilite) const |
Protected Member Functions inherited from CPMUnknown< IRenderingObjectDrawer > | |
| CPMUnknown (IPMUnknown *boss) | |
Additional Inherited Members | |
Protected Attributes inherited from CPMUnknown< IRenderingObjectDrawer > | |
| HelperInterface | fHelperInterface |
| 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. |
Implements IRenderingObjectDrawer.
| inlinevirtual |
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. |
Implements IRenderingObjectDrawer.
| 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. |
Implements IRenderingObjectDrawer.
| 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. |
Implements IRenderingObjectDrawer.