C# 클래스 Xwt.WPFBackend.ImageHandler

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

공개 메소드들

메소드 설명
ChangeOpacity ( object backend, double opacity ) : object
Copy ( object handle ) : object
CopyArea ( object srcHandle, int srcX, int srcY, int width, int height, object destHandle, int destX, int destY ) : void
Crop ( object handle, int srcX, int srcY, int w, int h ) : object
GetPixel ( object handle, int x, int y ) : Xwt.Drawing.System.Drawing.Color
GetSize ( object handle ) : Size
LoadFromIcon ( string id, IconSize size ) : object
LoadFromStream ( Stream stream ) : object
Resize ( object handle, double width, double height ) : object
SetPixel ( object handle, int x, int y, System.Windows.Media.Drawing color ) : void

비공개 메소드들

메소드 설명
GetNativeStockOptionsFromSize ( IconSize size ) : NativeStockIconOptions
HeightToDPI ( System.Windows.Media.Imaging img, double pixels ) : double
WidthToDPI ( System.Windows.Media.Imaging img, double pixels ) : double

메소드 상세

ChangeOpacity() 공개 메소드

public ChangeOpacity ( object backend, double opacity ) : object
backend object
opacity double
리턴 object

Copy() 공개 메소드

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

CopyArea() 공개 메소드

public CopyArea ( object srcHandle, int srcX, int srcY, int width, int height, object destHandle, int destX, int destY ) : void
srcHandle object
srcX int
srcY int
width int
height int
destHandle object
destX int
destY int
리턴 void

Crop() 공개 메소드

public Crop ( object handle, int srcX, int srcY, int w, int h ) : object
handle object
srcX int
srcY int
w int
h int
리턴 object

GetPixel() 공개 메소드

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

GetSize() 공개 메소드

public GetSize ( object handle ) : Size
handle object
리턴 Size

LoadFromIcon() 공개 메소드

public LoadFromIcon ( string id, IconSize size ) : object
id string
size IconSize
리턴 object

LoadFromStream() 공개 메소드

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

Resize() 공개 메소드

public Resize ( object handle, double width, double height ) : object
handle object
width double
height double
리턴 object

SetPixel() 공개 메소드

public SetPixel ( object handle, int x, int y, System.Windows.Media.Drawing color ) : void
handle object
x int
y int
color System.Windows.Media.Drawing
리턴 void