C# Class SidebarLibrary.General.GDIUtil

Summary description for GDIUtil.
Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method Description
Draw3DRect ( Graphics g, Rectangle rc, Color topLeft, Color bottomRight ) : void
Draw3DRect ( Graphics g, int x, int y, int width, int height, Color topLeft, Color bottomRight ) : void
DrawArrowGlyph ( Graphics g, Rectangle rc, bool up, Brush brush ) : void
DrawArrowGlyph ( Graphics g, Rectangle rc, int arrowWidth, int arrowHeight, bool up, Brush brush ) : void
GetTileBitmap ( Rectangle rcDest, Bitmap bitmap ) : Bitmap
StrechBitmap ( Graphics gDest, Rectangle rcDest, Bitmap bitmap ) : void
StrechBitmap ( Graphics gDest, Rectangle rcDest, Rectangle rcSource, Bitmap bitmap ) : void

Private Methods

Method Description
GDIUtil ( ) : System
GetStrechedBitmap ( Graphics gDest, Rectangle rcDest, Bitmap bitmap ) : Bitmap

Method Details

Draw3DRect() static public method

static public Draw3DRect ( Graphics g, Rectangle rc, Color topLeft, Color bottomRight ) : void
g System.Drawing.Graphics
rc System.Drawing.Rectangle
topLeft Color
bottomRight Color
return void

Draw3DRect() static public method

static public Draw3DRect ( Graphics g, int x, int y, int width, int height, Color topLeft, Color bottomRight ) : void
g System.Drawing.Graphics
x int
y int
width int
height int
topLeft Color
bottomRight Color
return void

DrawArrowGlyph() static public method

static public DrawArrowGlyph ( Graphics g, Rectangle rc, bool up, Brush brush ) : void
g System.Drawing.Graphics
rc System.Drawing.Rectangle
up bool
brush System.Drawing.Brush
return void

DrawArrowGlyph() static public method

static public DrawArrowGlyph ( Graphics g, Rectangle rc, int arrowWidth, int arrowHeight, bool up, Brush brush ) : void
g System.Drawing.Graphics
rc System.Drawing.Rectangle
arrowWidth int
arrowHeight int
up bool
brush System.Drawing.Brush
return void

GetTileBitmap() static public method

static public GetTileBitmap ( Rectangle rcDest, Bitmap bitmap ) : Bitmap
rcDest System.Drawing.Rectangle
bitmap System.Drawing.Bitmap
return System.Drawing.Bitmap

StrechBitmap() static public method

static public StrechBitmap ( Graphics gDest, Rectangle rcDest, Bitmap bitmap ) : void
gDest System.Drawing.Graphics
rcDest System.Drawing.Rectangle
bitmap System.Drawing.Bitmap
return void

StrechBitmap() static public method

static public StrechBitmap ( Graphics gDest, Rectangle rcDest, Rectangle rcSource, Bitmap bitmap ) : void
gDest System.Drawing.Graphics
rcDest System.Drawing.Rectangle
rcSource System.Drawing.Rectangle
bitmap System.Drawing.Bitmap
return void