![]() |
![]() |
![]() |
function UpdateSizingGroup(targetLayer, movedBtnLayer: TLayer32; masterImg: TImage32): Boolean;
Once a (sizing) button layer has been moved (see TLayer32.PositionCenteredAt), this function simplifies updating the displayed image's size. This function copies 'masterImg' to 'targetLayer', resizing this image according to the buttons in movedBtnLayer.GroupId.
(This is demonstrated in the accompanying SimpleLayers sample application.)
Copyright ©2019 Angus Johnson - Image32 ver. 1.54 - Documentation last updated on 7-November-2020