콘텐츠로 이동

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)