Method | Description | |
---|---|---|
AreaToRadius ( Double dArea ) : Double | ||
Clear ( |
||
CreateRoundedRectangleGraphicsPath ( |
||
DiamondFromCenterAndHalfWidth ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] | ||
DisposeBitmap ( |
||
DisposeBrush ( |
||
DisposeGraphics ( |
||
DisposeGraphicsPath ( |
||
DisposePen ( |
||
DisposeSolidBrush ( |
||
DistanceBetweenTwoPointFs ( |
||
Draw3DHorizontalLine ( |
||
DrawCircle ( |
||
DrawDiamond ( |
||
DrawErrorStringOnGraphics ( |
||
DrawSquare ( |
||
DrawTriangle ( |
||
FillCircle ( |
||
FillCircle3D ( |
||
FillDiamond ( |
||
FillSquare ( |
||
FillSquare3D ( |
||
FillTextRectangle ( |
||
FillTriangle ( |
||
GetDiamondEdgeMidpoints ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] | ||
GetImageCodecInfoForMimeType ( String sMimeType ) : System.Drawing.Imaging.ImageCodecInfo | ||
GetTriangleEdgeMidpoints ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] | ||
LineSegmentsIntersect ( |
||
MoveRectangleWithinBounds ( |
||
PixelsToPoints ( |
||
PointsToPixels ( |
||
PointsToPixels ( |
||
RadiusToArea ( Double dRadius ) : Double | ||
RectangleFToRectangle ( |
||
SaveHighQualityImage ( Image oImage, String sFileName, |
||
SaveJpegImage ( Image oImage, String sFileName, |
||
SquareFromCenterAndHalfWidth ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : |
||
TriangleFromCenterAndHalfWidth ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] |
Method | Description | |
---|---|---|
ConvertPixelsAndPoints ( System.Boolean bPixelsToPoints, |
Method | Description | |
---|---|---|
GraphicsUtil ( ) : System |
Do not use this contructor. All methods on this class are static, so there is no need to create a GraphicsUtil object. |
public static AreaToRadius ( Double dArea ) : Double | ||
dArea | Double | |
return | Double |
public static Clear ( |
||
oGraphics | ||
oColor | Color | |
return | void |
protected static ConvertPixelsAndPoints ( System.Boolean bPixelsToPoints, |
||
bPixelsToPoints | System.Boolean | |
oGraphics | ||
fWidthIn | System.Single | |
fHeightIn | System.Single | |
fWidthOut | System.Single | |
fHeightOut | System.Single | |
return | void |
public static CreateRoundedRectangleGraphicsPath ( |
||
oRectangle | ||
iCornerRadius | ||
return |
public static DiamondFromCenterAndHalfWidth ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | System.Drawing.PointF[] |
public static DisposeBitmap ( |
||
oBitmap | ||
return | void |
public static DisposeBrush ( |
||
oBrush | ||
return | void |
public static DisposeGraphics ( |
||
oGraphics | ||
return | void |
public static DisposeGraphicsPath ( |
||
oGraphicsPath | ||
return | void |
public static DisposePen ( |
||
oPen | ||
return | void |
public static DisposeSolidBrush ( |
||
oSolidBrush | ||
return | void |
public static DistanceBetweenTwoPointFs ( |
||
point1 | ||
point2 | ||
return | System.Single |
public static Draw3DHorizontalLine ( |
||
oGraphics | ||
fLeft | System.Single | |
fTop | System.Single | |
fRight | System.Single | |
return | System.Single |
public static DrawCircle ( |
||
oGraphics | ||
oPen | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fRadius | System.Single | |
return | void |
public static DrawDiamond ( |
||
oGraphics | ||
oPen | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | void |
public static DrawErrorStringOnGraphics ( |
||
oGraphics | ||
oRectangle | ||
sString | String | |
return | void |
public static DrawSquare ( |
||
oGraphics | ||
oPen | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | void |
public static DrawTriangle ( |
||
oGraphics | ||
oPen | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | void |
public static FillCircle ( |
||
oGraphics | ||
oBrush | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fRadius | System.Single | |
return | void |
public static FillCircle3D ( |
||
oGraphics | ||
oColor | Color | |
fXCenter | System.Single | |
fYCenter | System.Single | |
fRadius | System.Single | |
return | void |
public static FillDiamond ( |
||
oGraphics | ||
oBrush | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | void |
public static FillSquare ( |
||
oGraphics | ||
oBrush | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | void |
public static FillSquare3D ( |
||
oGraphics | ||
oColor | Color | |
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | void |
public static FillTextRectangle ( |
||
oGraphics | ||
oRectangle | ||
bTextIsSelected | System.Boolean | |
return | void |
public static FillTriangle ( |
||
oGraphics | ||
oBrush | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | void |
public static GetDiamondEdgeMidpoints ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | System.Drawing.PointF[] |
public static GetImageCodecInfoForMimeType ( String sMimeType ) : System.Drawing.Imaging.ImageCodecInfo | ||
sMimeType | String | |
return | System.Drawing.Imaging.ImageCodecInfo |
public static GetTriangleEdgeMidpoints ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | System.Drawing.PointF[] |
public static LineSegmentsIntersect ( |
||
endpointA1 | ||
endpointA2 | ||
endpointB1 | ||
endpointB2 | ||
return | System.Boolean |
public static MoveRectangleWithinBounds ( |
||
rectangle | ||
boundingRectangle | ||
resizeRectangleIfNecessary | System.Boolean | |
return |
public static PixelsToPoints ( |
||
oGraphics | ||
fWidthPx | System.Single | |
fHeightPx | System.Single | |
fWidthPt | System.Single | |
fHeightPt | System.Single | |
return | void |
public static PointsToPixels ( |
||
oGraphics | ||
fWidthPt | System.Single | |
fHeightPt | System.Single | |
iWidthPx | ||
iHeightPx | ||
return | void |
public static PointsToPixels ( |
||
oGraphics | ||
fWidthPt | System.Single | |
fHeightPt | System.Single | |
fWidthPx | System.Single | |
fHeightPx | System.Single | |
return | void |
public static RadiusToArea ( Double dRadius ) : Double | ||
dRadius | Double | |
return | Double |
public static RectangleFToRectangle ( |
||
oRectangle | ||
iPenWidthPx | ||
return |
public static SaveHighQualityImage ( Image oImage, String sFileName, |
||
oImage | Image | |
sFileName | String | |
eImageFormat | ||
return | void |
public static SaveJpegImage ( Image oImage, String sFileName, |
||
oImage | Image | |
sFileName | String | |
iQuality | ||
return | void |
public static SquareFromCenterAndHalfWidth ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : |
||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return |
public static TriangleFromCenterAndHalfWidth ( System.Single fXCenter, System.Single fYCenter, System.Single fHalfWidth ) : System.Drawing.PointF[] | ||
fXCenter | System.Single | |
fYCenter | System.Single | |
fHalfWidth | System.Single | |
return | System.Drawing.PointF[] |