GetPixel Function

Microchip Graphics Library

Microchip Graphics Library
GetPixel Function
C
GFX_COLOR GetPixel(
    SHORT x, 
    SHORT y
);
Overview

Returns pixel color at the given x,y coordinate position.

Input Parameters
Input Parameters 
Description 
SHORT x 
x position of the pixel. 
SHORT y 
y position of the pixel. 
Returns

pixel color

Preconditions

none

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved