C# Class GdiTest.Win32GDI

Inheritance: GDI
Afficher le fichier Open project: FreeRDP/GdiTest Class Usage Examples

Méthodes publiques

Méthode Description
BitBlt ( IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, System dwRop ) : int
CreateBitmap ( int nWidth, int nHeight, uint cPlanes, uint cBitsPerPel, IntPtr lpvBits ) : IntPtr
CreatePatternBrush ( IntPtr hbmp ) : IntPtr
CreatePen ( int fnPenStyle, int nWidth, int crColor ) : IntPtr
CreateRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : IntPtr
CreateSolidBrush ( int crColor ) : IntPtr
DeleteObject ( IntPtr hObject ) : bool
Ellipse ( IntPtr hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : bool
GetDC ( IntPtr hWnd ) : IntPtr
GetPixel ( IntPtr hdc, int X, int Y ) : int
GetPixelColor ( IntPtr hdc, int X, int Y ) : System.Drawing.Color
LineTo ( IntPtr hdc, int nXEnd, int nYEnd ) : bool
MoveToEx ( IntPtr hdc, int X, int Y, IntPtr lpPoint ) : bool
Polygon ( IntPtr hdc, POINT lpPoints, int nCount ) : bool
PolylineTo ( IntPtr hdc, POINT lppt, uint cCount ) : bool
ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : int
SelectClipRgn ( IntPtr hdc, IntPtr hrgn ) : int
SelectObject ( IntPtr hdc, IntPtr hgdiobj ) : IntPtr
SetPixel ( IntPtr hdc, int X, int Y, int crColor ) : int
SetROP2 ( IntPtr hdc, int fnDrawMode ) : int
Win32GDI ( ) : System
getInstance ( ) : Win32GDI
init ( ) : void
isAvailable ( ) : bool

Method Details

BitBlt() public méthode

public BitBlt ( IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, System dwRop ) : int
hdcDest System.IntPtr
nXDest int
nYDest int
nWidth int
nHeight int
hdcSrc System.IntPtr
nXSrc int
nYSrc int
dwRop System
Résultat int

CreateBitmap() public méthode

public CreateBitmap ( int nWidth, int nHeight, uint cPlanes, uint cBitsPerPel, IntPtr lpvBits ) : IntPtr
nWidth int
nHeight int
cPlanes uint
cBitsPerPel uint
lpvBits System.IntPtr
Résultat System.IntPtr

CreatePatternBrush() public méthode

public CreatePatternBrush ( IntPtr hbmp ) : IntPtr
hbmp System.IntPtr
Résultat System.IntPtr

CreatePen() public méthode

public CreatePen ( int fnPenStyle, int nWidth, int crColor ) : IntPtr
fnPenStyle int
nWidth int
crColor int
Résultat System.IntPtr

CreateRectRgn() public méthode

public CreateRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : IntPtr
nLeftRect int
nTopRect int
nRightRect int
nBottomRect int
Résultat System.IntPtr

CreateSolidBrush() public méthode

public CreateSolidBrush ( int crColor ) : IntPtr
crColor int
Résultat System.IntPtr

DeleteObject() public méthode

public DeleteObject ( IntPtr hObject ) : bool
hObject System.IntPtr
Résultat bool

Ellipse() public méthode

public Ellipse ( IntPtr hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : bool
hdc System.IntPtr
nLeftRect int
nTopRect int
nRightRect int
nBottomRect int
Résultat bool

GetDC() public méthode

public GetDC ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr
Résultat System.IntPtr

GetPixel() public méthode

public GetPixel ( IntPtr hdc, int X, int Y ) : int
hdc System.IntPtr
X int
Y int
Résultat int

GetPixelColor() public méthode

public GetPixelColor ( IntPtr hdc, int X, int Y ) : System.Drawing.Color
hdc System.IntPtr
X int
Y int
Résultat System.Drawing.Color

LineTo() public méthode

public LineTo ( IntPtr hdc, int nXEnd, int nYEnd ) : bool
hdc System.IntPtr
nXEnd int
nYEnd int
Résultat bool

MoveToEx() public méthode

public MoveToEx ( IntPtr hdc, int X, int Y, IntPtr lpPoint ) : bool
hdc System.IntPtr
X int
Y int
lpPoint System.IntPtr
Résultat bool

Polygon() public méthode

public Polygon ( IntPtr hdc, POINT lpPoints, int nCount ) : bool
hdc System.IntPtr
lpPoints POINT
nCount int
Résultat bool

PolylineTo() public méthode

public PolylineTo ( IntPtr hdc, POINT lppt, uint cCount ) : bool
hdc System.IntPtr
lppt POINT
cCount uint
Résultat bool

ReleaseDC() public méthode

public ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : int
hWnd System.IntPtr
hDC System.IntPtr
Résultat int

SelectClipRgn() public méthode

public SelectClipRgn ( IntPtr hdc, IntPtr hrgn ) : int
hdc System.IntPtr
hrgn System.IntPtr
Résultat int

SelectObject() public méthode

public SelectObject ( IntPtr hdc, IntPtr hgdiobj ) : IntPtr
hdc System.IntPtr
hgdiobj System.IntPtr
Résultat System.IntPtr

SetPixel() public méthode

public SetPixel ( IntPtr hdc, int X, int Y, int crColor ) : int
hdc System.IntPtr
X int
Y int
crColor int
Résultat int

SetROP2() public méthode

public SetROP2 ( IntPtr hdc, int fnDrawMode ) : int
hdc IntPtr
fnDrawMode int
Résultat int

Win32GDI() public méthode

public Win32GDI ( ) : System
Résultat System

getInstance() public static méthode

public static getInstance ( ) : Win32GDI
Résultat Win32GDI

init() public méthode

public init ( ) : void
Résultat void

isAvailable() public méthode

public isAvailable ( ) : bool
Résultat bool