C# Class ImageGlass.ImageListView.ImageListViewRenderers.ZoomingRenderer

Zooms items on mouse over.
Inheritance: ImageListView.ImageListViewRenderer
Show file Open project: d2phap/ImageGlass

Public Methods

Method Description
DrawCheckBox ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void

Draws the checkbox icon for the specified item on the given graphics.

DrawFileIcon ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void

Draws the file icon for the specified item on the given graphics.

DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void

Draws the specified item on the given graphics.

InitializeGraphics ( System g ) : void

Initializes the System.Drawing.Graphics used to draw control elements.

MeasureItem ( ImageGlass view ) : Size

Returns item size for the given view mode.

ZoomingRenderer ( ) : System

Initializes a new instance of the ZoomingRenderer class.

ZoomingRenderer ( float zoomRatio ) : System

Initializes a new instance of the ZoomingRenderer class.

Method Details

DrawCheckBox() public method

Draws the checkbox icon for the specified item on the given graphics.
public DrawCheckBox ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
bounds System.Drawing.Rectangle The bounding rectangle of the checkbox in client coordinates.
return void

DrawFileIcon() public method

Draws the file icon for the specified item on the given graphics.
public DrawFileIcon ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
bounds System.Drawing.Rectangle The bounding rectangle of the file icon in client coordinates.
return void

DrawItem() public method

Draws the specified item on the given graphics.
public DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
state ItemState The current view state of item.
bounds System.Drawing.Rectangle The bounding rectangle of item in client coordinates.
return void

InitializeGraphics() public method

Initializes the System.Drawing.Graphics used to draw control elements.
public InitializeGraphics ( System g ) : void
g System The System.Drawing.Graphics to draw on.
return void

MeasureItem() public method

Returns item size for the given view mode.
public MeasureItem ( ImageGlass view ) : Size
view ImageGlass The view mode for which the item measurement should be made.
return System.Drawing.Size

ZoomingRenderer() public method

Initializes a new instance of the ZoomingRenderer class.
public ZoomingRenderer ( ) : System
return System

ZoomingRenderer() public method

Initializes a new instance of the ZoomingRenderer class.
public ZoomingRenderer ( float zoomRatio ) : System
zoomRatio float Relative zoom ratio.
return System