C# Class Tripod.Model.Gui.PhotoGridTextCaptionRenderer

Inheritance: IPhotoGridCaptionRenderer
显示文件 Open project: rubenv/tripod

Public Methods

Method Description
MeasureHeight ( Gtk.Widget widget ) : double
Render ( CellContext context, Rect allocation, IPhoto photo ) : void

Protected Methods

Method Description
GetCaptionString ( IPhoto photo ) : string

Method Details

GetCaptionString() protected abstract method

protected abstract GetCaptionString ( IPhoto photo ) : string
photo IPhoto
return string

MeasureHeight() public method

public MeasureHeight ( Gtk.Widget widget ) : double
widget Gtk.Widget
return double

Render() public method

public Render ( CellContext context, Rect allocation, IPhoto photo ) : void
context Hyena.Data.Gui.CellContext
allocation Hyena.Gui.Canvas.Rect
photo IPhoto
return void