C# 클래스 SciterSharp.SciterImage

상속: IDisposable
파일 보기 프로젝트 열기: MISoftware/SciterSharp 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( RGBAColor clr ) : void
Dispose ( ) : void
Save ( uint bpp, uint quality ) : byte[]

Save this image to png/jpeg stream of bytes

SciterImage ( Bitmap bmp ) : System.Drawing
SciterImage ( IntPtr data, uint width, uint height, bool withAlpha ) : System.Drawing

Loads image from RAW BGRA pixmap data Size of pixmap data is pixmapWidth*pixmapHeight*4 construct image from B[n+0],G[n+1],R[n+2],A[n+3] data

SciterImage ( byte data ) : System.Drawing

Loads image from PNG or JPG image buffer

SciterImage ( uint width, uint height, bool withAlpha ) : System.Drawing

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
SciterImage ( ) : System.Drawing

메소드 상세

Clear() 공개 메소드

public Clear ( RGBAColor clr ) : void
clr RGBAColor
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Save() 공개 메소드

Save this image to png/jpeg stream of bytes
public Save ( uint bpp, uint quality ) : byte[]
bpp uint 24 or 32 if alpha needed
quality uint png: 0, jpeg: 10 - 100
리턴 byte[]

SciterImage() 공개 메소드

public SciterImage ( Bitmap bmp ) : System.Drawing
bmp System.Drawing.Bitmap
리턴 System.Drawing

SciterImage() 공개 메소드

Loads image from RAW BGRA pixmap data Size of pixmap data is pixmapWidth*pixmapHeight*4 construct image from B[n+0],G[n+1],R[n+2],A[n+3] data
public SciterImage ( IntPtr data, uint width, uint height, bool withAlpha ) : System.Drawing
data System.IntPtr
width uint
height uint
withAlpha bool
리턴 System.Drawing

SciterImage() 공개 메소드

Loads image from PNG or JPG image buffer
public SciterImage ( byte data ) : System.Drawing
data byte
리턴 System.Drawing

SciterImage() 공개 메소드

public SciterImage ( uint width, uint height, bool withAlpha ) : System.Drawing
width uint
height uint
withAlpha bool
리턴 System.Drawing