C# Class Xwt.Drawing.NativeImageRef

Mostra file Open project: mono/xwt Class Usage Examples

Public Methods

Method Description
AddReference ( ) : void
LoadForToolkit ( Toolkit targetToolkit ) : NativeImageRef
NativeImageRef ( object backend, Toolkit toolkit ) : System
ReleaseReference ( bool disposing ) : void
SetCustomDrawSource ( ImageDrawCallback drawCallback ) : void
SetCustomLoaderSource ( IImageLoader imageLoader, string fileName, ImageTagSet tags ) : void
SetFileSource ( string file, ImageTagSet tags ) : void
SetResourceSource ( Assembly asm, string name, ImageTagSet tags ) : void
SetSources ( NativeImageSource sources ) : void
SetStockSource ( string stockID ) : void
SetStreamSource ( Func imageLoader ) : void

Method Details

AddReference() public method

public AddReference ( ) : void
return void

LoadForToolkit() public method

public LoadForToolkit ( Toolkit targetToolkit ) : NativeImageRef
targetToolkit Toolkit
return NativeImageRef

NativeImageRef() public method

public NativeImageRef ( object backend, Toolkit toolkit ) : System
backend object
toolkit Toolkit
return System

ReleaseReference() public method

public ReleaseReference ( bool disposing ) : void
disposing bool
return void

SetCustomDrawSource() public method

public SetCustomDrawSource ( ImageDrawCallback drawCallback ) : void
drawCallback ImageDrawCallback
return void

SetCustomLoaderSource() public method

public SetCustomLoaderSource ( IImageLoader imageLoader, string fileName, ImageTagSet tags ) : void
imageLoader IImageLoader
fileName string
tags ImageTagSet
return void

SetFileSource() public method

public SetFileSource ( string file, ImageTagSet tags ) : void
file string
tags ImageTagSet
return void

SetResourceSource() public method

public SetResourceSource ( Assembly asm, string name, ImageTagSet tags ) : void
asm System.Reflection.Assembly
name string
tags ImageTagSet
return void

SetSources() public method

public SetSources ( NativeImageSource sources ) : void
sources NativeImageSource
return void

SetStockSource() public method

public SetStockSource ( string stockID ) : void
stockID string
return void

SetStreamSource() public method

public SetStreamSource ( Func imageLoader ) : void
imageLoader Func
return void