anyKode Marilou
ContentsIndexHome
PreviousUpNext
Image::GetPixel (Pixel &, int, int)

Getting the pixel at the specified location.

C++
bool GetPixel(Pixel & pixel, int Line, int Col) const;
Parameters 
Description 
Pixel & pixel 
[in/out] Pixel to fill in 
int Line 
[in] Image line 
int Col 
[in] Image column 

true if the pixel was read, false otherwise.

GetPixel returns the RGBA color of the pixel located at the specified position, if the image surface format is not Marilou::Commons::JPG.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!