SRGraphComponent::GetPolygonSize

CSizeSRGraphComponent::GetPolygonSize(CPoint *points, intnPointCount)

Returns the width and height of a given polygon

Defined in: SRGComp.cpp

Return Value

CSize object with the integer width and height of the given polygon

Parameters

points

Pointer to the array of points describing the polygon

nPointCount

Number of points (vertices) in the polygon