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

Public Types | |
| enum | { kDefaultIID = IID_IPATHCORNER } |
Public Member Functions | |
| virtual void | CreateCornerPath (IGraphicStyleDescriptor *styleDescriptor, const PMPoint &ptA, const PMPoint &ptB, const PMPoint &ptC, IOutlineInfo *pathPort) const =0 |
| virtual void | GetPathCornerName (PMString *pathCornerName) const =0 |
| virtual ScriptID | GetScriptID (const ScriptInfo::RequestContext &context) 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 |
Defines the interface for installable corners
A, B, and C are the points determining the location of the corner
A----—C
|
|
BOn input, A is the current point.
| pure virtual |
Creates the corner path in pathPort. The styleDescriptor is an interface off the path pageitem. Don't call newpath on pathPort. CreateCornerPath appends the corner to current path in pathPort.
| styleDescriptor | IN The pageitem's graphic style descriptor |
| ptA | IN The first corner point |
| ptB | IN The second corner point |
| ptC | IN The third corner point |
| pathPort | OUT The outline info to store the built path |
| pure virtual |
Fills in the text string that describes this type of corner.
| pathCornerName | OUT The name of the corner stroker |
| pure virtual |
Returns the ScriptID associated with this corner effect in the given scripting DOM