C# Класс SidebarLibrary.General.GDIUtil

Summary description for GDIUtil.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GDIUtil ( ) : System
GetStrechedBitmap ( Graphics gDest, Rectangle rcDest, Bitmap bitmap ) : Bitmap

Описание методов

Draw3DRect() статический публичный Метод

static public Draw3DRect ( Graphics g, Rectangle rc, Color topLeft, Color bottomRight ) : void
g System.Drawing.Graphics
rc System.Drawing.Rectangle
topLeft Color
bottomRight Color
Результат void

Draw3DRect() статический публичный Метод

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
Результат void

DrawArrowGlyph() статический публичный Метод

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
Результат void

DrawArrowGlyph() статический публичный Метод

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
Результат void

GetTileBitmap() статический публичный Метод

static public GetTileBitmap ( Rectangle rcDest, Bitmap bitmap ) : Bitmap
rcDest System.Drawing.Rectangle
bitmap System.Drawing.Bitmap
Результат System.Drawing.Bitmap

StrechBitmap() статический публичный Метод

static public StrechBitmap ( Graphics gDest, Rectangle rcDest, Bitmap bitmap ) : void
gDest System.Drawing.Graphics
rcDest System.Drawing.Rectangle
bitmap System.Drawing.Bitmap
Результат void

StrechBitmap() статический публичный Метод

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
Результат void