C# Class GdiTest.GDI

显示文件 Open project: FreeRDP/GdiTest Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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 method

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
return int

CreateBitmap() public abstract method

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
return System.IntPtr

CreatePatternBrush() public abstract method

public abstract CreatePatternBrush ( IntPtr hbmp ) : IntPtr
hbmp System.IntPtr
return System.IntPtr

CreatePen() public abstract method

public abstract CreatePen ( int fnPenStyle, int nWidth, int crColor ) : IntPtr
fnPenStyle int
nWidth int
crColor int
return System.IntPtr

CreateRectRgn() public abstract method

public abstract CreateRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : IntPtr
nLeftRect int
nTopRect int
nRightRect int
nBottomRect int
return System.IntPtr

CreateSolidBrush() public abstract method

public abstract CreateSolidBrush ( int crColor ) : IntPtr
crColor int
return System.IntPtr

DeleteObject() public abstract method

public abstract DeleteObject ( IntPtr hObject ) : bool
hObject System.IntPtr
return bool

Ellipse() public abstract method

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
return bool

GDI() public method

public GDI ( ) : System
return System

GetDC() public abstract method

public abstract GetDC ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr
return System.IntPtr

GetPixel() public abstract method

public abstract GetPixel ( IntPtr hdc, int X, int Y ) : int
hdc System.IntPtr
X int
Y int
return int

LineTo() public abstract method

public abstract LineTo ( IntPtr hdc, int nXEnd, int nYEnd ) : bool
hdc System.IntPtr
nXEnd int
nYEnd int
return bool

MoveToEx() public abstract method

public abstract MoveToEx ( IntPtr hdc, int X, int Y, IntPtr lpPoint ) : bool
hdc System.IntPtr
X int
Y int
lpPoint System.IntPtr
return bool

Polygon() public abstract method

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

PolylineTo() public abstract method

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

ReleaseDC() public abstract method

public abstract ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : int
hWnd System.IntPtr
hDC System.IntPtr
return int

SelectClipRgn() public abstract method

public abstract SelectClipRgn ( IntPtr hdc, IntPtr hrgn ) : int
hdc System.IntPtr
hrgn System.IntPtr
return int

SelectObject() public abstract method

public abstract SelectObject ( IntPtr hdc, IntPtr hgdiobj ) : IntPtr
hdc System.IntPtr
hgdiobj System.IntPtr
return System.IntPtr

SetPixel() public abstract method

public abstract SetPixel ( IntPtr hdc, int X, int Y, int crColor ) : int
hdc System.IntPtr
X int
Y int
crColor int
return int

SetROP2() public abstract method

public abstract SetROP2 ( IntPtr hdc, int fnDrawMode ) : int
hdc System.IntPtr
fnDrawMode int
return int

init() public abstract method

public abstract init ( ) : void
return void

isAvailable() public abstract method

public abstract isAvailable ( ) : bool
return bool

Property Details

BLACKNESS public_oe static_oe property

public static Int32,System BLACKNESS
return System.Int32

DSPDxax public_oe static_oe property

public static Int32,System DSPDxax
return System.Int32

DSTINVERT public_oe static_oe property

public static Int32,System DSTINVERT
return System.Int32

DSna public_oe static_oe property

public static Int32,System DSna
return System.Int32

MERGECOPY public_oe static_oe property

public static Int32,System MERGECOPY
return System.Int32

MERGEPAINT public_oe static_oe property

public static Int32,System MERGEPAINT
return System.Int32

NOTSRCCOPY public_oe static_oe property

public static Int32,System NOTSRCCOPY
return System.Int32

NOTSRCERASE public_oe static_oe property

public static Int32,System NOTSRCERASE
return System.Int32

PATCOPY public_oe static_oe property

public static Int32,System PATCOPY
return System.Int32

PATINVERT public_oe static_oe property

public static Int32,System PATINVERT
return System.Int32

PATPAINT public_oe static_oe property

public static Int32,System PATPAINT
return System.Int32

R2_BLACK public_oe static_oe property

public static Int32,System R2_BLACK
return System.Int32

R2_COPYPEN public_oe static_oe property

public static Int32,System R2_COPYPEN
return System.Int32

R2_MASKNOTPEN public_oe static_oe property

public static Int32,System R2_MASKNOTPEN
return System.Int32

R2_MASKPEN public_oe static_oe property

public static Int32,System R2_MASKPEN
return System.Int32

R2_MASKPENNOT public_oe static_oe property

public static Int32,System R2_MASKPENNOT
return System.Int32

R2_MERGENOTPEN public_oe static_oe property

public static Int32,System R2_MERGENOTPEN
return System.Int32

R2_MERGEPEN public_oe static_oe property

public static Int32,System R2_MERGEPEN
return System.Int32

R2_MERGEPENNOT public_oe static_oe property

public static Int32,System R2_MERGEPENNOT
return System.Int32

R2_NOP public_oe static_oe property

public static Int32,System R2_NOP
return System.Int32

R2_NOT public_oe static_oe property

public static Int32,System R2_NOT
return System.Int32

R2_NOTCOPYPEN public_oe static_oe property

public static Int32,System R2_NOTCOPYPEN
return System.Int32

R2_NOTMASKPEN public_oe static_oe property

public static Int32,System R2_NOTMASKPEN
return System.Int32

R2_NOTMERGEPEN public_oe static_oe property

public static Int32,System R2_NOTMERGEPEN
return System.Int32

R2_NOTXORPEN public_oe static_oe property

public static Int32,System R2_NOTXORPEN
return System.Int32

R2_WHITE public_oe static_oe property

public static Int32,System R2_WHITE
return System.Int32

R2_XORPEN public_oe static_oe property

public static Int32,System R2_XORPEN
return System.Int32

SPna public_oe static_oe property

public static Int32,System SPna
return System.Int32

SRCAND public_oe static_oe property

public static Int32,System SRCAND
return System.Int32

SRCCOPY public_oe static_oe property

public static Int32,System SRCCOPY
return System.Int32

SRCERASE public_oe static_oe property

public static Int32,System SRCERASE
return System.Int32

SRCINVERT public_oe static_oe property

public static Int32,System SRCINVERT
return System.Int32

SRCPAINT public_oe static_oe property

public static Int32,System SRCPAINT
return System.Int32

WHITENESS public_oe static_oe property

public static Int32,System WHITENESS
return System.Int32