SRGraphComponent::OffsetPolygon

voidSRGraphComponent::OffsetPolygon(CPoint *points, intnPointCount, intxOffset, intyOffset)

Moves a complete polygon stored in a list of points by a set displacement

Defined in: SRGComp.cpp

Parameters

points

List of points

nPointCount

Number of points in the list

xOffset

X displacement (may be negative)

yOffset

Y displacement (may be negative)