コード例 #1
0
 public static void PointsToPixels(Graphics oGraphics, float fWidthPt, float fHeightPt, out float fWidthPx, out float fHeightPx)
 {
     GraphicsUtil.ConvertPixelsAndPoints(false, oGraphics, fWidthPt, fHeightPt, out fWidthPx, out fHeightPx);
 }
コード例 #2
0
 public static void PixelsToPoints(Graphics oGraphics, float fWidthPx, float fHeightPx, out float fWidthPt, out float fHeightPt)
 {
     GraphicsUtil.ConvertPixelsAndPoints(true, oGraphics, fWidthPx, fHeightPx, out fWidthPt, out fHeightPt);
 }