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

Public Types | |
| enum | { kDefaultIID = IID_ISTROKEFILLCONTROLDATA } |
| enum | DisplayOptionType { kNoOption = 0, kOptionDialog, kRenderObjectPanel } |
| enum | PartCode { kNone = -1, kStroke, kFill } |
Public Member Functions | |
| virtual int16 | GetStrokeFillWidth (void)=0 |
| virtual void | SetStrokeFillWidth (int16 width)=0 |
| virtual int16 | GetStrokeFillHeight (void)=0 |
| virtual void | SetStrokeFillHeight (int16 height)=0 |
| virtual int16 | GetStrokeFillOverlap (void)=0 |
| virtual void | SetStrokeFillOverlap (int16 overlapAmount)=0 |
| virtual int16 | GetStrokeFillHiliteBorder (void)=0 |
| virtual void | SetStrokeFillHiliteBorder (int16 border)=0 |
| virtual int16 | GetStrokeWidth (void)=0 |
| virtual void | SetStrokeWidth (int16 strokeWidth)=0 |
| virtual bool16 | GetDraggable (void)=0 |
| virtual void | SetDraggable (bool16 isDraggable)=0 |
| virtual IStrokeFillControlData::DisplayOptionType | GetDisplayOption (void)=0 |
| virtual void | SetDisplayOption (IStrokeFillControlData::DisplayOptionType displayOption)=0 |
| virtual bool16 | GetSwitchable (void)=0 |
| virtual void | SetSwitchable (bool16 isSwitchable)=0 |
| virtual ToolboxProxy::ActiveProxyType | GetActive (void)=0 |
| virtual void | SetActive (ToolboxProxy::ActiveProxyType activeProxy)=0 |
| virtual bool16 | UseMetaData (void)=0 |
| virtual void | SetUseMetaData (bool16 usingMetaData)=0 |
| virtual bool16 | UseFillMetaData (void)=0 |
| virtual void | SetFillUseMetaData (bool16 usingMetaData)=0 |
| virtual bool16 | UseStrokeMetaData (void)=0 |
| virtual void | SetStrokeUseMetaData (bool16)=0 |
| virtual IPMUnknown * | GetFillMetaData (void)=0 |
| virtual void | SetFillMetaData (IPMUnknown *fillMetaData)=0 |
| virtual IPMUnknown * | GetStrokeMetaData (void)=0 |
| virtual void | SetStrokeMetaData (IPMUnknown *strokeMetaData)=0 |
| virtual UID | GetFillUID (void)=0 |
| virtual void | SetFillUID (UID fillUID)=0 |
| virtual UID | GetStrokeUID (void)=0 |
| virtual void | SetStrokeUID (UID strokeUID)=0 |
| virtual IDataBase * | GetDataBase (void)=0 |
| virtual void | SetDataBase (IDataBase *iDataBase)=0 |
| virtual bool16 | IsFillIndeterminate (void)=0 |
| virtual void | SetFillIndeterminate (bool16 setInderminant)=0 |
| virtual bool16 | IsStrokeIndeterminate (void)=0 |
| virtual void | SetStrokeIndeterminate (bool16 setInderminant)=0 |
| virtual PMReal | GetFillTint (void)=0 |
| virtual void | SetFillUIDAndTint (UID fillUID, const PMReal &fillTint=kInvalidTintPercent)=0 |
| virtual PMReal | GetStrokeTint (void)=0 |
| virtual void | SetStrokeUIDAndTint (UID strokeUID, const PMReal &strokeTint=kInvalidTintPercent)=0 |
| virtual void | InvalidateView (void)=0 |
| virtual void | InvalidateStroke (void)=0 |
| virtual void | InvalidateFill (void)=0 |
| virtual IStrokeFillControlData::PartCode | GetPartCode (const PMPoint &localPoint) 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 widget data interface for the stroke/fill proxy widget. For rendering the stroke/fill proxy, two strategies are used: UID and metadata. The metadata object here could be any object that the client use for rendering the stroke/fill proxy view.
DisplayOptionType specifies what to do when user double-click on the stroke/fill proxy.
| pure virtual |
Returns the current active proxy type.
| pure virtual |
Returns the database associated with the stroke and fill UID.
| pure virtual |
Returns the type of display option when double-click on the stroke/fill proxy widget.
| pure virtual |
Returns true if the stroke/fill proxy is draggable.
| pure virtual |
Returns the metadata object we are using to draw the fill proxy.
| pure virtual |
Returns the current fill tint percent.
| pure virtual |
Returns the swatch UID we are using to draw the fill proxy.
| pure virtual |
Returns the position of the mouse relative to the stroke/fill proxy.
| localPoint | the mouse position. |
| pure virtual |
Returns the stroke/fill proxy widget's height.
| pure virtual |
Returns the border width to draw around the fill and stroke proxy. If it is set to 0, then border is not drawn.
| pure virtual |
Returns the amount to overlapp the stroke and fill proxy. -1 means fill only, -2 means stroke only.
| pure virtual |
Returns the stroke/fill proxy widget's width.
| pure virtual |
Returns the metadata object we are using to draw the stroke proxy.
| pure virtual |
Returns the current stroke tint percent.
| pure virtual |
Returns the swatch UID we are using to draw the stroke proxy.
| pure virtual |
Returns the width of the stroke proxy.
| pure virtual |
Returns whether the widget can toggle between fill and stroke modes. When not switchable, only fill or only stroke will be drawn depending on GetActive
| pure virtual |
Invalidate the fill proxy view.
| pure virtual |
Invalidate the stroke proxy view.
| pure virtual |
Invalidate the stroke/fill proxy view.
| pure virtual |
Returns the true if fill is indeterminant.
| pure virtual |
Returns the true if stroke is indeterminant.
| pure virtual |
Sets the current active proxy type to the one specified.
| activeProxy | is the new active proxy. |
| pure virtual |
Sets the database associated with the stroke/fill UID.
| iDataBase | the database. |
| pure virtual |
Sets the type of display option when double-click on the stroke/fill proxy widget.
| displayOption | the type of display option. This would be one of |
| pure virtual |
Set to true if the stroke/fill proxy is draggable.
| isDraggable | is true if the stroke/fill proxy is draggable. |
| pure virtual |
Sets the to true if fill is indeterminant.
| setInderminant | is true if fill is indeterminat. |
| pure virtual |
Sets the fill metadata for drawing the fill proxy.
| fillMetaData | the fill metadata |
| pure virtual |
Sets the fill UID for drawing the fill proxy.
| fillUID | the fill UID. |
| pure virtual |
Sets the current fill UID and tint percent.
| fillUID | the current fill UID. |
| fillTint | the current fill tint percent. |
| pure virtual |
Sets to true if using metadata to draw the fill proxy. Otherwise sets to false if using UIDs.
| usingMetaData | is true if drawing fill proxy with metadata |
| pure virtual |
Sets the stroke/fill widget's proxy height.
| height | the stroke/fill proxy widget's height. |
| pure virtual |
Sets the border width to draw around the fill and stroke proxy.
| border | the stroke/fill proxy border width. |
| pure virtual |
Sets the amount to overlapp the stroke and fill proxy. Use a value < 0 to draw the widget in just one mode, e.g. just draw the fill or the stroke widget, but not both
| overlapAmount | the stroke/fill proxy overlap amount. |
| pure virtual |
Sets the stroke/fill proxy widget's width.
| width | the stroke/fill proxy widget's width. |
| pure virtual |
Sets the to true if stroke is indeterminant.
| setInderminant | is true if stroke is indeterminat. |
| pure virtual |
Sets the stroke metadata for drawing the stroke proxy.
| strokeMetaData | the fill metadata |
| pure virtual |
Sets the stroke UID for drawing the stroke proxy.
| strokeUID | the stroke UID. |
| pure virtual |
Sets the current stroke UID and tint percent.
| strokeUID | the current stroke UID. |
| strokeTint | the current stroke tint percent. |
| pure virtual |
Sets to true if using metadata to draw the stroke proxy. Otherwise sets to false if using UIDs.
| usingMetaData | is true if drawing stroke proxy with metadata |
| pure virtual |
Sets the width of the stroke proxy.
| strokeWidth | the stroke proxy width. |
| pure virtual |
Sets whether the widget can toggle between displaying fill or stroke in the front.
| isSwitchable | kTrue to allow switchability, kFalse to disallow. |
| pure virtual |
Sets to true if using metadata to draw the stroke/fill proxy. Otherwise sets to false if using UIDs.
| usingMetaData | is true if drawing stroke/fill proxy with metadata |
| pure virtual |
Returns true if using metadata to draw the fill proxy. Otherwise returns false if using UIDs.
| pure virtual |
Returns true if using metadata to draw the stroke/fill proxy. Otherwise returns false if using UIDs.
| pure virtual |
Returns true if using metadata to draw the stroke proxy. Otherwise returns false if using UIDs.