Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "getpixel" in [All]

kernel32

.

      pixel = BmpCopy.GetPixel(col, row)

gdi32

.

public static extern int GetPixel(IntPtr hdc, int x, int y);

.

    ExtFloodFill(vDC, 10, 10, GetPixel(vDC, 10, 10), FLOODFILLSURFACE);

.
Summary
.

static extern uint GetPixel(IntPtr hdc, int nXPos, int nYPos);

.

Public Function GetPixel(hdc As IntPtr, _

.

Public Declare Function GetPixel Lib "gdi32" Alias "GetPixel" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long) As Long

.

  static extern uint GetPixel(IntPtr hdc,int nXPos,int nYPos);

.

  // NB: BLUE and RED components will be swapped because GetPixel returns ABGR

.

    uint pixel = GetPixel(hdc, Cursor.Position.X, Cursor.Position.Y);

.

    static extern int GetPixel(IntPtr hdc, int nXPos, int nYPos);

.

    int cr = GetPixel(hdcScreen, x, y);

.

      static extern uint GetPixel(IntPtr hdc, int nXPos, int nYPos);

.

      static public System.Drawing.Color GetPixelColor(int x, int y)

.

       uint pixel = GetPixel(hdc, x, y);

.
Documentation
[GetPixel] on MSDN

user32

.

            Color backColor = bmp.GetPixel(1, 1);

opengl32

.

    public static extern void glGetPixelMapfv(uint map, float[] values);

.

    public static extern void glGetPixelMapuiv(uint map, uint[] values);

.

    public static extern void glGetPixelMapusv(uint map, ushort[] values);

gdiplus

.

static extern int GdipBitmapGetPixel(HandleRef bitmap, int x, int y,

.

Declare Function GdipBitmapGetPixel Lib "gdiplus.dll" (TODO) As TODO

.

    Color color = bitmap.GetPixel(int x, int y);

.
Documentation
[GdipBitmapGetPixel] on MSDN

 
Access PInvoke.net directly from VS: