GetGadgetScale

Core

GetGadgetScale returns the Gadget's scaling factor. If the Gadget is not scaled, the factors will be X=1.0, Y=1.0.

BOOL GetGadgetScale(
    HGADGET hgad,               // Gadget to check
    float * pflX,               // Horizontal scaling factor
    float * pflY)               // Vertical scaling factor
);

Parameters

hgad
[in] Handle of Gadget
pflX
[out] Horizontal scaling factor
pflY
[out] Vertical scaling factor

Return Values

Successfully returned scaling factor.

See Also

GetGadgetRect, GetGadgetRotation, SetGadgetRect, SetGadgetRotation, SetGadgetScale

 

 


Internal Only

Build on Friday, March 17, 2000
Copyright © 2000 by Microsoft Corporation.  All rights reserved
Send feedback to Jeff Stall