CMvcLogicalPart::SetLogScaling

Set scaling ratio for the logical extents

Defined in: MvcLogicalPart.h

Syntax

SetLogScaling(float fScaleWidth, float fScaleHeight, CPoint* pPoint)

SetLogScaling(int xNum, int xDenom, int yNum, int yDenom, CPoint* pPoint)

Return Value

CSize the new scaled logical extents

Parameters

xNum

The numerator of the x scale ratio

xDenom

The denominator of the x scale ratio

yNum

The numerator of the y scale ratio

yDenom

The denominator of the y scale ratio

fScaleWidth

The scale factor for the width

fScaleHeight

The scale factor for the height