CODEllipseComponent::CalculateEllipse

voidCODEllipseComponent::CalculateEllipse(const CRect&rect, float*lpPointsX, float*lpPointsY)

Calculates the ellipse component points given its bounding rectangle.

Defined in: OdEllipseComp.cpp

Return Value

void

Parameters

rect

The bounding rectangle.

lpPointsX

Array to hold X values of points calculated.

lpPointsY

Array to hold Y values of points calculated.

Comments

This function generates a set of bezier control points for the splines needed to draw an ellipse. The thirteen bezier control points are stored in the floating point arrays that are passed in as parameters.