Desktop Functions: Smart Device Functions:
|
Search Results for "CreatePen" in [All]Constants1: EMR_
EMR_CREATEPEN = 38,
EMR_EXTCREATEPEN = 95, gdi322: CreatePen
static extern IntPtr CreatePen(PenStyle fnPenStyle, int nWidth, uint crColor);
Private Shared Function CreatePen(fnPenStyle As PenStyle, nWidth As Integer, crColor As UInteger) As IntPtr
IntPtr pen = CreatePen(PenStyle.PS_SOLID | PenStyle.PS_GEOMETRIC | PenStyle.PS_ENDCAP_ROUND, penWidth, (uint)ColorTranslator.ToWin32(penColor)); 3: ExtCreatePen
4: LineTo
IntPtr pen = CreatePen(PenStyle.PS_SOLID | PenStyle.PS_GEOMETRIC | PenStyle.PS_ENDCAP_ROUND, penWidth, (uint)ColorTranslator.ToWin32(penColor)); 5: MoveToEx
IntPtr pen = CreatePen(PenStyle.PS_SOLID | PenStyle.PS_GEOMETRIC | PenStyle.PS_ENDCAP_ROUND, penWidth, (uint)ColorTranslator.ToWin32(penColor)); 6: RoundRect
public static extern IntPtr CreatePen(int fnPenStyle, int nWidth, uint crColor);
IntPtr thePen = GDI32.CreatePen(0, 1, (uint)GDI32.RGB(Color.White)); 7: SetMapMode
public static extern int CreatePen(int nPenStyle, int nWidth, int nColor); int hPen = CreatePen(PS_SOLID, 1, 0x000000FF); |