C# Class Tripod.Graphics.MipMappedPhotoLoader

Photo loader that uses locally cached mipmaps.
Inheritance: IPhotoLoader
Show file Open project: rubenv/tripod Class Usage Examples

Private Properties

Property Type Description
EnsureMipMap void

Public Methods

Method Description
FindBestPreview ( int width, int height ) : CancellableTask
IsBestPreview ( int have_width, int have_height, int desired_width, int desired_height ) : Task
MipMappedPhotoLoader ( IPhoto photo ) : Gdk

Private Methods

Method Description
EnsureMipMap ( ) : void

Method Details

FindBestPreview() public method

public FindBestPreview ( int width, int height ) : CancellableTask
width int
height int
return CancellableTask

IsBestPreview() public method

public IsBestPreview ( int have_width, int have_height, int desired_width, int desired_height ) : Task
have_width int
have_height int
desired_width int
desired_height int
return Task

MipMappedPhotoLoader() public method

public MipMappedPhotoLoader ( IPhoto photo ) : Gdk
photo IPhoto
return Gdk