![]() |
![]()
| ![]() |
![]()
NAMEcrop_image - Crop image to specific dimensions SYNOPSISnil
DESCRIPTIONFor some cases, primarily resizing text, the default scale- and resize- function behavior is unappealing because any under or oversampling will rapidly decrease quality. This function act as a resize down to 1:1 scale for values larger than the initial size, and changes effective texture coordinates for values larger than the initial size. This will have the side effect of reverting other texture sampling manipulations like mirroring, and it will reset any pending resize transformation chains. NOTES
EXAMPLEfunction crop_image0() EXAMPLEfunction crop_image1() SEE ALSO:
|