PathEngine home previous: iPathEngine::setRandomSeed()next: iPathEngine::totalMemoryAllocated()
Contents, API Reference, Interfaces, iPathEngine, shapeIsValid

iPathEngine::shapeIsValid()

Description

Checks whether coordinates are valid for newShape().

Syntax

bool shapeIsValid(tSigned32 numberOfPoints, const tSigned32* coordinateData);

Parameters

numberOfPointsThe number of vertices in the shape.
coordinateDataPoints to an array of tSigned32, of size numberOfPoints * 2. This array is copied, and can therefore be safely deleted after the call returns.

Return Value

Returns true if the shape is valid for newShape(), otherwise false.
Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: iPathEngine::totalMemoryAllocated()