ImageOrientationDrawExtensions class
Draw helper that applies an ImageOrientation while drawing. Raw DrawImage calls do not auto-orient (the backend only sees an IImage with no orientation, and the apply-or-ignore choice belongs to the caller), so any consumer that wants oriented output - the Image control, blurred backdrops, thumbnails - routes through this single implementation instead of re-deriving the transform.
public static class ImageOrientationDrawExtensionsPublic Members
Section titled “Public Members”| name | description |
|---|---|
| static DrawImageOriented(…) | 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. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Rendering