anyKode Marilou
ContentsIndexHome
PreviousUpNext
Image::SetPixel

Setting the pixel's color.

C++
bool SetPixel(const Pixel & pixel, int Line, int Col);
Parameters 
Description 
const Pixel & pixel 
[in] Pixel color to set 
int Line 
[in] Image line 
int Col 
[in] Image column 

true if the pixel was set, false otherwise.

SetPixel sets 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!