ImageOrientationDrawExtensions.DrawImageOriented method
Draws orientedSrc (a region in the image’s oriented pixel space) into dest, applying orientation. Composes raw->oriented (the rotation/flip) with oriented->dest (scale/translate) so the backend rasterizes the rotation in one pass. rawWidth/rawHeight are the as-decoded pixel dimensions.
public static void DrawImageOriented(this IGraphicsContext context, IImage image, ImageOrientation orientation, int rawWidth, int rawHeight, Rect orientedSrc, Rect dest)See Also
Section titled “See Also”- interface IGraphicsContext
- interface IImage
- enum ImageOrientation
- struct Rect
- class ImageOrientationDrawExtensions
- namespace Aprillz.MewUI.Rendering