C# 클래스 CSharpGL.DIBSection

device-independent bitmap
상속: IDisposable
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
bits System.IntPtr

공개 메소드들

메소드 설명
Create ( IntPtr deviceContext, int width, int height, int bitCount ) : bool

Creates the specified width.

DestroyBitmap ( ) : void

Destroys this instance.

Resize ( int width, int height, int bitCount ) : void

Resizes the section.

보호된 메소드들

메소드 설명
SetPixelFormat ( IntPtr hDC, int bitCount ) : bool

This function sets the pixel format of the underlying bitmap.

메소드 상세

Create() 공개 메소드

Creates the specified width.
public Create ( IntPtr deviceContext, int width, int height, int bitCount ) : bool
deviceContext System.IntPtr
width int The width.
height int The height.
bitCount int The bit count.
리턴 bool

DestroyBitmap() 공개 메소드

Destroys this instance.
public DestroyBitmap ( ) : void
리턴 void

Resize() 공개 메소드

Resizes the section.
public Resize ( int width, int height, int bitCount ) : void
width int The width.
height int The height.
bitCount int The bit count.
리턴 void

SetPixelFormat() 보호된 메소드

This function sets the pixel format of the underlying bitmap.
protected SetPixelFormat ( IntPtr hDC, int bitCount ) : bool
hDC System.IntPtr
bitCount int The bitcount.
리턴 bool

프로퍼티 상세

bits 보호되어 있는 프로퍼티

The parent dc. The bits.
protected IntPtr,System bits
리턴 System.IntPtr