InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPathStrokerOverrides Class Referenceabstract

#include <IPathStrokerOverrides.h>

Inheritance diagram for IPathStrokerOverrides:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IPATHSTROKEROVERRIDES }
 

Public Member Functions

virtual bool16 GetOverridesLineCap () const =0
 
virtual int32 GetLineCap () const =0
 
virtual bool16 GetOverridesLineJoin () const =0
 
virtual int32 GetLineJoin () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface for controlling overrides to graphic attributes on a per-path stroker basis. This is used by the stroke palette to disable controls that should be set to hard-coded values when a particular stroker is selected. For instance, the dotted stroker requires that round caps and joins be used.

See Also
IPathStroker

Member Function Documentation

virtual int32 IPathStrokerOverrides::GetLineCap () const
pure virtual

Accessor for hard-coded line cap to use for this path stroker. This method will only be called when GetOverridesLineCap returns kTrue.

Returns
Line cap to use for this stroker
See Also
Enum in GraphicTypes.h
virtual int32 IPathStrokerOverrides::GetLineJoin () const
pure virtual

Accessor for hard-coded line join to use for this path stroker. This method will only be called when GetOverridesLineJoin returns kTrue.

Returns
Line cap to use for this stroker
See Also
Enum in GraphicTypes.h
virtual bool16 IPathStrokerOverrides::GetOverridesLineCap () const
pure virtual

Accessor for whether line cap is to be overridden for this stroker. Implementation should return kTrue if the cap should be overridden, else kFalse.

Returns
A boolean indicating override status
virtual bool16 IPathStrokerOverrides::GetOverridesLineJoin () const
pure virtual

Accessor for whether line join is to be overridden for this stroker. Implementation should return kTrue if the join should be overridden, else kFalse.

Returns
A boolean indicating override status