C# Class CSharpGL.DIBSection

device-independent bitmap
Inheritance: IDisposable
Afficher le fichier Open project: bitzhuwei/CSharpGL Class Usage Examples

Protected Properties

Свойство Type Description
bits System.IntPtr

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
SetPixelFormat ( IntPtr hDC, int bitCount ) : bool

This function sets the pixel format of the underlying bitmap.

Method Details

Create() public méthode

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.
Résultat bool

DestroyBitmap() public méthode

Destroys this instance.
public DestroyBitmap ( ) : void
Résultat void

Resize() public méthode

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.
Résultat void

SetPixelFormat() protected méthode

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

Property Details

bits protected_oe property

The parent dc. The bits.
protected IntPtr,System bits
Résultat System.IntPtr