GFXGetPageXYAddress Function

Microchip Graphics Library

Microchip Graphics Library
GFXGetPageXYAddress Function
C
DWORD GFXGetPageXYAddress(
    SHORT pageNumber, 
    WORD x, 
    WORD y
);
Overview

This function calculates the address of a certain x,y location in memory

Input Parameters
Input Parameters 
Description 
SHORT pageNumber 
the page number 
WORD x 
the x (horizontal) offset from 0,0 of the pagenumber 
WORD y 
the y (vertical) offset from the 0,0 of the pagenumber 
Returns

The address of an XY position of a certain page in memory

Preconditions

none

Side Effects

none

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