Crop Image with FMX c++?


I am trying to crop a image into 18 x 18 by using something like this

TRect iRect{{0,0},18,18};
newSymbl->Width = 18;
newSymbl->Height = 18;

but it is not working, nothing is displayed on the screen


above displays whole image on the screen but i only want 18 x 18 part from the top

Comments are closed.