C# 클래스 Xwt.Mac.ImageHandler

상속: Xwt.Backends.ImageBackendHandler
파일 보기 프로젝트 열기: TheBrainTech/xwt

공개 메소드들

메소드 설명
ConvertToBitmap ( ImageDescription idesc, double scaleFactor, ImageFormat format ) : object
CopyBitmap ( object handle ) : object
CopyBitmapArea ( object backend, int srcX, int srcY, int width, int height, object dest, int destX, int destY ) : void
CreateCustomDrawn ( ImageDrawCallback drawCallback ) : object
CreateMultiResolutionImage ( IEnumerable images ) : object
CreateMultiSizeIcon ( IEnumerable images ) : object
CropBitmap ( object backend, int srcX, int srcY, int width, int height ) : object
GetBitmapPixel ( object handle, int x, int y ) : Xwt.Drawing.Color
GetSize ( object handle ) : Size
GetStockIcon ( string id ) : Image
HasMultipleSizes ( object handle ) : bool
IsBitmap ( object handle ) : bool
LoadFromFile ( string file ) : object
LoadFromStream ( System.Stream stream ) : object
SaveToStream ( object backend, System stream, ImageFileType fileType ) : void
SetBitmapPixel ( object handle, int x, int y, Xwt color ) : void

비공개 메소드들

메소드 설명
FromResource ( string res ) : MonoMac.AppKit.NSImage
GetIconRef ( short vRefNum, int creator, int iconType, IntPtr &iconRef ) : int
LoadStockIcon ( string id ) : MonoMac.AppKit.NSImage
NSImageFromResource ( string id ) : MonoMac.AppKit.NSImage
ReleaseIconRef ( IntPtr iconRef ) : int

메소드 상세

ConvertToBitmap() 공개 메소드

public ConvertToBitmap ( ImageDescription idesc, double scaleFactor, ImageFormat format ) : object
idesc Xwt.Backends.ImageDescription
scaleFactor double
format ImageFormat
리턴 object

CopyBitmap() 공개 메소드

public CopyBitmap ( object handle ) : object
handle object
리턴 object

CopyBitmapArea() 공개 메소드

public CopyBitmapArea ( object backend, int srcX, int srcY, int width, int height, object dest, int destX, int destY ) : void
backend object
srcX int
srcY int
width int
height int
dest object
destX int
destY int
리턴 void

CreateCustomDrawn() 공개 메소드

public CreateCustomDrawn ( ImageDrawCallback drawCallback ) : object
drawCallback ImageDrawCallback
리턴 object

CreateMultiResolutionImage() 공개 메소드

public CreateMultiResolutionImage ( IEnumerable images ) : object
images IEnumerable
리턴 object

CreateMultiSizeIcon() 공개 메소드

public CreateMultiSizeIcon ( IEnumerable images ) : object
images IEnumerable
리턴 object

CropBitmap() 공개 메소드

public CropBitmap ( object backend, int srcX, int srcY, int width, int height ) : object
backend object
srcX int
srcY int
width int
height int
리턴 object

GetBitmapPixel() 공개 메소드

public GetBitmapPixel ( object handle, int x, int y ) : Xwt.Drawing.Color
handle object
x int
y int
리턴 Xwt.Drawing.Color

GetSize() 공개 메소드

public GetSize ( object handle ) : Size
handle object
리턴 System.Drawing.Size

GetStockIcon() 공개 메소드

public GetStockIcon ( string id ) : Image
id string
리턴 Xwt.Drawing.Image

HasMultipleSizes() 공개 메소드

public HasMultipleSizes ( object handle ) : bool
handle object
리턴 bool

IsBitmap() 공개 메소드

public IsBitmap ( object handle ) : bool
handle object
리턴 bool

LoadFromFile() 공개 메소드

public LoadFromFile ( string file ) : object
file string
리턴 object

LoadFromStream() 공개 메소드

public LoadFromStream ( System.Stream stream ) : object
stream System.Stream
리턴 object

SaveToStream() 공개 메소드

public SaveToStream ( object backend, System stream, ImageFileType fileType ) : void
backend object
stream System
fileType ImageFileType
리턴 void

SetBitmapPixel() 공개 메소드

public SetBitmapPixel ( object handle, int x, int y, Xwt color ) : void
handle object
x int
y int
color Xwt
리턴 void