T O P I C R E V I E W |
w2m |
Posted - Mar 31 2016 : 13:20:05 TIEDrawingInfo
Declaration
TIEDrawingInfo = record XDst: integer; // Destination x (output canvas) YDst: integer; // Destination y (output canvas) WidthDst: integer; // Destination width (output canvas) HeightDst: integer; // Destination height (output canvas) XSrc: integer; // Source x (input bitmap) YSrc: integer; // Source y (input bitmap) WidthSrc: integer; // Source width (input bitmap) HeightSrc: integer; // Source height (input bitmap) RotatedDest: array [0..3] of TPoint; // destination rotated points (output canvas) Angle: integer; // New end;
This would allow calling ImageEnView1.Proc.RotateAndCrop(ImageEnView1.Layers[1].DrawingInfo.Angle, ierBicubic, fSourceBitmap.Height / fSourceBitmap.Width, SelectedCropAlgorithm);
This would be great!
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
1 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Apr 04 2016 : 22:09:15 Hi Bill
For historical reasons, rotated layers are treated slightly differently internally. But you can use:
ImageEnView1.Proc.RotateAndCrop( ImageEnView1.Layers[ I ].Rotate, ... );
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|