public static void DrawImage(System.Drawing.Graphics graphics, Image image, RectangleF rectDestMM, RectangleF rectSourcePX, ImageAttributes imageAttributes)
 {
     SharedRenderer.DrawImage(graphics, image, new PointF[3]
     {
         rectDestMM.Location,
         new PointF(rectDestMM.Location.X + rectDestMM.Width, rectDestMM.Location.Y),
         new PointF(rectDestMM.Location.X, rectDestMM.Location.Y + rectDestMM.Height)
     }, rectSourcePX, imageAttributes);
 }
 public static void DrawImage(System.Drawing.Graphics graphics, Image image, RectangleF rectDestMM, RectangleF rectSourcePX)
 {
     SharedRenderer.DrawImage(graphics, image, rectDestMM, rectSourcePX, null);
 }