C# Class FarsiLibrary.Win.Drawing.FAPainterOffice2003

Painter class used to paint drawing objects in Office 2003 theme.
Inheritance: FAPainterBase, IFAPainter
Mostrar archivo Open project: HEskandari/FarsiLibrary Class Usage Examples

Public Methods

Method Description
DrawBorder ( Graphics g, Rectangle rectangle, bool enabled ) : void
DrawButton ( Graphics g, Rectangle rectangle, string text, Font font, StringFormat fmt, ItemState state, bool hasBorder, bool enabled ) : void
DrawButtonFocusRect ( Graphics g, Rectangle r, ItemState state ) : void
DrawFilledBackground ( Graphics g, Rectangle rectangle, bool isGradient, float angle ) : void
DrawFocusRect ( Graphics g, Rectangle r ) : void
DrawSelectedPanel ( Graphics g, Rectangle r ) : void
DrawSelectionBorder ( Graphics g, Rectangle r ) : void
DrawSeparator ( Graphics g, Point ptFrom, Point ptTo ) : void
DrawVerticalSeparator ( Graphics g, Point from, Point to ) : void
DrawWhiteBackground ( Graphics g, Rectangle r, bool isGradient, float angle ) : void

Method Details

DrawBorder() public method

public DrawBorder ( Graphics g, Rectangle rectangle, bool enabled ) : void
g System.Drawing.Graphics
rectangle System.Drawing.Rectangle
enabled bool
return void

DrawButton() public method

public DrawButton ( Graphics g, Rectangle rectangle, string text, Font font, StringFormat fmt, ItemState state, bool hasBorder, bool enabled ) : void
g System.Drawing.Graphics
rectangle System.Drawing.Rectangle
text string
font System.Drawing.Font
fmt System.Drawing.StringFormat
state ItemState
hasBorder bool
enabled bool
return void

DrawButtonFocusRect() public method

public DrawButtonFocusRect ( Graphics g, Rectangle r, ItemState state ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
state ItemState
return void

DrawFilledBackground() public method

public DrawFilledBackground ( Graphics g, Rectangle rectangle, bool isGradient, float angle ) : void
g System.Drawing.Graphics
rectangle System.Drawing.Rectangle
isGradient bool
angle float
return void

DrawFocusRect() public method

public DrawFocusRect ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
return void

DrawSelectedPanel() public method

public DrawSelectedPanel ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
return void

DrawSelectionBorder() public method

public DrawSelectionBorder ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
return void

DrawSeparator() public method

public DrawSeparator ( Graphics g, Point ptFrom, Point ptTo ) : void
g System.Drawing.Graphics
ptFrom System.Drawing.Point
ptTo System.Drawing.Point
return void

DrawVerticalSeparator() public method

public DrawVerticalSeparator ( Graphics g, Point from, Point to ) : void
g System.Drawing.Graphics
from System.Drawing.Point
to System.Drawing.Point
return void

DrawWhiteBackground() public method

public DrawWhiteBackground ( Graphics g, Rectangle r, bool isGradient, float angle ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
isGradient bool
angle float
return void