CODComponent::ValidateRotate

BOOLCODComponent::ValidateRotate(int&nAngle, float&fOriginX, float&fOriginY, CSizesizeAspectRatio= odg_sizeDefaultAspectRatio)

Determines if the component can be scaled to the given ratios.

Defined in: OdComponent.cpp

Return Value

Boolean indicating if the given rotation is valid.

Parameters

nAngle

The angle to rotate, in tenths of a degree.

fOriginX

The horizontal coordinate of the origin.

fOriginY

The vertical coordinate of the origin.

Comments

This function is overridden by derived classes to validation rotation.

sizeAspectRatio

The aspect