TdxFcDrawExEventPaintData.Scale(Integer) Method
Scales a linear pixel dimension according to the actual zoom.
Declaration
function Scale(APixels: Integer): Integer;
Parameters
Name | Type |
---|---|
APixels | Integer |
Returns
Type |
---|
Integer |
Remarks
You can call this function within the OnDrawObjectEx event handler to scale any custom geometry according to the actual scaling factor within the control by passing a pixel dimension as the APixels parameter.
See Also