C# Class GdiTest.GDI

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

Méthodes publiques

Свойство Type Description
BLACKNESS System.Int32
DSPDxax System.Int32
DSTINVERT System.Int32
DSna System.Int32
MERGECOPY System.Int32
MERGEPAINT System.Int32
NOTSRCCOPY System.Int32
NOTSRCERASE System.Int32
PATCOPY System.Int32
PATINVERT System.Int32
PATPAINT System.Int32
R2_BLACK System.Int32
R2_COPYPEN System.Int32
R2_MASKNOTPEN System.Int32
R2_MASKPEN System.Int32
R2_MASKPENNOT System.Int32
R2_MERGENOTPEN System.Int32
R2_MERGEPEN System.Int32
R2_MERGEPENNOT System.Int32
R2_NOP System.Int32
R2_NOT System.Int32
R2_NOTCOPYPEN System.Int32
R2_NOTMASKPEN System.Int32
R2_NOTMERGEPEN System.Int32
R2_NOTXORPEN System.Int32
R2_WHITE System.Int32
R2_XORPEN System.Int32
SPna System.Int32
SRCAND System.Int32
SRCCOPY System.Int32
SRCERASE System.Int32
SRCINVERT System.Int32
SRCPAINT System.Int32
WHITENESS System.Int32

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
GDI ( ) : System
GetDC ( IntPtr hWnd ) : IntPtr
GetPixel ( IntPtr hdc, int X, int Y ) : int
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
init ( ) : void
isAvailable ( ) : bool

Method Details

BitBlt() public abstract méthode

public abstract 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 abstract méthode

public abstract 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 abstract méthode

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

CreatePen() public abstract méthode

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

CreateRectRgn() public abstract méthode

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

CreateSolidBrush() public abstract méthode

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

DeleteObject() public abstract méthode

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

Ellipse() public abstract méthode

public abstract 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

GDI() public méthode

public GDI ( ) : System
Résultat System

GetDC() public abstract méthode

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

GetPixel() public abstract méthode

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

LineTo() public abstract méthode

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

MoveToEx() public abstract méthode

public abstract 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 abstract méthode

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

PolylineTo() public abstract méthode

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

ReleaseDC() public abstract méthode

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

SelectClipRgn() public abstract méthode

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

SelectObject() public abstract méthode

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

SetPixel() public abstract méthode

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

SetROP2() public abstract méthode

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

init() public abstract méthode

public abstract init ( ) : void
Résultat void

isAvailable() public abstract méthode

public abstract isAvailable ( ) : bool
Résultat bool

Property Details

BLACKNESS public_oe static_oe property

public static Int32,System BLACKNESS
Résultat System.Int32

DSPDxax public_oe static_oe property

public static Int32,System DSPDxax
Résultat System.Int32

DSTINVERT public_oe static_oe property

public static Int32,System DSTINVERT
Résultat System.Int32

DSna public_oe static_oe property

public static Int32,System DSna
Résultat System.Int32

MERGECOPY public_oe static_oe property

public static Int32,System MERGECOPY
Résultat System.Int32

MERGEPAINT public_oe static_oe property

public static Int32,System MERGEPAINT
Résultat System.Int32

NOTSRCCOPY public_oe static_oe property

public static Int32,System NOTSRCCOPY
Résultat System.Int32

NOTSRCERASE public_oe static_oe property

public static Int32,System NOTSRCERASE
Résultat System.Int32

PATCOPY public_oe static_oe property

public static Int32,System PATCOPY
Résultat System.Int32

PATINVERT public_oe static_oe property

public static Int32,System PATINVERT
Résultat System.Int32

PATPAINT public_oe static_oe property

public static Int32,System PATPAINT
Résultat System.Int32

R2_BLACK public_oe static_oe property

public static Int32,System R2_BLACK
Résultat System.Int32

R2_COPYPEN public_oe static_oe property

public static Int32,System R2_COPYPEN
Résultat System.Int32

R2_MASKNOTPEN public_oe static_oe property

public static Int32,System R2_MASKNOTPEN
Résultat System.Int32

R2_MASKPEN public_oe static_oe property

public static Int32,System R2_MASKPEN
Résultat System.Int32

R2_MASKPENNOT public_oe static_oe property

public static Int32,System R2_MASKPENNOT
Résultat System.Int32

R2_MERGENOTPEN public_oe static_oe property

public static Int32,System R2_MERGENOTPEN
Résultat System.Int32

R2_MERGEPEN public_oe static_oe property

public static Int32,System R2_MERGEPEN
Résultat System.Int32

R2_MERGEPENNOT public_oe static_oe property

public static Int32,System R2_MERGEPENNOT
Résultat System.Int32

R2_NOP public_oe static_oe property

public static Int32,System R2_NOP
Résultat System.Int32

R2_NOT public_oe static_oe property

public static Int32,System R2_NOT
Résultat System.Int32

R2_NOTCOPYPEN public_oe static_oe property

public static Int32,System R2_NOTCOPYPEN
Résultat System.Int32

R2_NOTMASKPEN public_oe static_oe property

public static Int32,System R2_NOTMASKPEN
Résultat System.Int32

R2_NOTMERGEPEN public_oe static_oe property

public static Int32,System R2_NOTMERGEPEN
Résultat System.Int32

R2_NOTXORPEN public_oe static_oe property

public static Int32,System R2_NOTXORPEN
Résultat System.Int32

R2_WHITE public_oe static_oe property

public static Int32,System R2_WHITE
Résultat System.Int32

R2_XORPEN public_oe static_oe property

public static Int32,System R2_XORPEN
Résultat System.Int32

SPna public_oe static_oe property

public static Int32,System SPna
Résultat System.Int32

SRCAND public_oe static_oe property

public static Int32,System SRCAND
Résultat System.Int32

SRCCOPY public_oe static_oe property

public static Int32,System SRCCOPY
Résultat System.Int32

SRCERASE public_oe static_oe property

public static Int32,System SRCERASE
Résultat System.Int32

SRCINVERT public_oe static_oe property

public static Int32,System SRCINVERT
Résultat System.Int32

SRCPAINT public_oe static_oe property

public static Int32,System SRCPAINT
Résultat System.Int32

WHITENESS public_oe static_oe property

public static Int32,System WHITENESS
Résultat System.Int32