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

#include <ITableStripePathStroker.h>

Inheritance diagram for ITableStripePathStroker:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITABLESTRIPEPATHSTROKER }
 

Public Member Functions

virtual ErrorCode StrokePathToMeetStripe (IGraphicStyleDescriptor *pageitem, const IPathGeometry *srcPath, IGraphicsPort *gPort, const StripeLengthAdjustArray &startMeet, const StripeLengthAdjustArray &endMeet) 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

Public interface exposing the table stripe path stroker.

Allows individual stripes in a stroke to be drawn to different lengths, offset from the path. If the StripeLengthAdjustArrays passed in are empty, the stroke is drawn exactly as it would be by IPathStroker.

Used in tables to make stripes meet other stripes at joins.

Usually accessed via IPathStroker because both are on the same boss.

Author
Melissa Cheng

Member Function Documentation

virtual ErrorCode ITableStripePathStroker::StrokePathToMeetStripe (IGraphicStyleDescriptorpageitem,
const IPathGeometrysrcPath,
IGraphicsPortgPort,
const StripeLengthAdjustArraystartMeet,
const StripeLengthAdjustArrayendMeet 
) const
pure virtual

Creates striped paths and strokes them (like IPathStroker::StrokePath) but adjusts stripes to different lengths, offset from srcPath, lengthening the stripes at the start and end of the path according to startMeet and endMeet respectively.

Parameters
pageitemGraphic style descriptor with line type and other drawing information.
srcPathUnderlying path of stroke. startMeet/endMeet offset from the first/last points of srcPath.
gPortGraphics port used to draw.
startMeetSpecifies amount to lengthen stripes at start of path.
endMeetSpecifies amount to lengthen stripes at end of path.