InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SLCTileMeasure Class Reference

#include <SLCTileMeasure.h>

Public Types

typedef base_type data_type
 

Public Member Functions

 SLCTileMeasure (const PMReal &xPosition, const PMReal &width, int32 textSpan)
 
virtual ~SLCTileMeasure (void)
 

Public Attributes

PMReal fXPosition
 
PMReal fWidth
 
int32 fTextSpan
 

Detailed Description

Stores measures for a tile, an area on a line into which text is flowed.

See Also
SLCTileManager

Constructor & Destructor Documentation

SLCTileMeasure::SLCTileMeasure (const PMRealxPosition,
const PMRealwidth,
int32 textSpan 
)
inline

Constructor.

virtual SLCTileMeasure::~SLCTileMeasure (void )
inlinevirtual

Destructor.

Member Data Documentation

int32 SLCTileMeasure::fTextSpan

Set to zero when composition starts, set to the number of characters in the tile once composition completes.

PMReal SLCTileMeasure::fWidth

The width of the tile.

PMReal SLCTileMeasure::fXPosition

x position of the tile (it might seem better to store an offset relative to the edge of the line but the tiler gives us positions, the wax line stores positions so we store positions here).