C# Class ImageGlass.ImageListView.ImageListViewRenderers.ZoomingRenderer

Zooms items on mouse over.
Inheritance: ImageListView.ImageListViewRenderer
Afficher le fichier Open project: d2phap/ImageGlass

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

DrawFileIcon() public méthode

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.
Résultat void

DrawItem() public méthode

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.
Résultat void

InitializeGraphics() public méthode

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

MeasureItem() public méthode

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.
Résultat System.Drawing.Size

ZoomingRenderer() public méthode

Initializes a new instance of the ZoomingRenderer class.
public ZoomingRenderer ( ) : System
Résultat System

ZoomingRenderer() public méthode

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