Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Bitmap
..msdn
GdipBitmapGetPixel
GdipBitmapSetPixel
GdipBitmapSetResolution
GdipCloneBitmapArea
GdipCreateBitmapFromGdiDib
GdipCreateBitmapFromGraphics
GdipCreateBitmapFromHBITMAP
GdipCreateBitmapFromHICON
GdipCreateHBITMAPFromBitmap
GdipCreateHICONFromBitmap
Code examples:
GdipBitmapSetPixel
..msdn    Add comment     W32 Constants      Translate this page
Sets the color value of an individual pixel.
Code examples:
Declaration:
GpStatus WINGDIPAPI GdipBitmapSetPixel(
    GpBitmap* bitmap, 
    INT x, INT y, ARGB color)
FoxPro declaration:
DECLARE INTEGER GdipBitmapSetPixel IN gdiplus;
    INTEGER gdibitmap,;
    INTEGER x,;
    INTEGER y,;
    INTEGER argbcolor
Parameters:
gdibitmap
[in] Handle to a GDI bitmap.

x
[in] Integer X-coordinate of pixel to get.

y
[in] Integer Y-coordinate of pixel to get.

argbcolor
[in] ARGB color value to be set for the pixel.
Return value:
Returns 0 on success.
Usage:
LOCAL nColor
nColor = ColorToARGB(RGB(128,128,192),255)

= GdipBitmapSetPixel(oImage.hImage,;
    nY, nY, @nColor)
My comment:
See also: GdipBitmapGetPixel
Word Index links for the GdipBitmapSetPixel :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-01-17 09:44:49
Modified: 2009-01-17 09:50:32
Visited in last 7 days: 12
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.198.143.210)
7 sec.Function: 'DragFinish'
14 sec.Function: 'GetModuleHandle'
21 sec.Function: 'GetHGlobalFromStream'
28 sec.Function: 'BroadcastSystemMessage'
36 sec.Function: 'CombineRgn'
42 sec.Function: 'DragQueryPoint'
48 sec.Function: 'GetCompressedFileSize'
54 sec.Function: 'GetErrorMode'
1.02 min.Function: 'GetFileAttributesEx'
1.13 min.Function: 'CertOpenSystemStore'
Google
Advertise here!