SetPixel
Sets a specific pixel.
Syntax
Definition:
HRESULT SetPixel(
HRESULT hrPrev,
ITcVnImage* ipSrcImage,
TcVnVector4_LREAL& aValue,
ULONG nX,
ULONG nY
)Parameters
|
Name |
Type |
Description |
|---|---|---|
|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
|
ipSrcImage |
Source image | |
|
aValue |
The pixel value to set (additional channels are ignored.) | |
|
nX |
ULONG |
x coordinate of the pixel |
|
nY |
ULONG |
y coordinate of the pixel |
Required License
TC3 Vision Base
Return value