CopyPageWindow Function

Microchip Graphics Library

Microchip Graphics Library
CopyPageWindow Function
C
void CopyPageWindow(
    BYTE srcPage, 
    BYTE dstPage, 
    \ WORD srcX, 
    WORD srcY, 
    \ WORD dstX, 
    WORD dstY, 
    \ WORD width, 
    WORD height
);
Overview

This is a blocking call. A windows is a rectangular area with the given width and height of a page. The source and destination window can be located in different pages and each page is assumed to have the same dimensions (equal width and height).

Input Parameters
Input Parameters 
Description 
BYTE srcPage 
page number of the source window, 
BYTE dstPage 
page number of the destination window, 
\ WORD srcX 
x location of the left top corner of the source window respect to the srcPage. 
WORD srcY 
y location of the left top corner of the source window respect to the srcPage. 
\ WORD dstX 
x location of the left top corner of the destination window respect to the dstPage. 
WORD dstY 
y location of the left top corner of the destination window respect to the dstPage. 
\ WORD width 
the width in pixels of the window to copy 
WORD height 
the height in pixels of the window to copy 
Returns

None

Preconditions

none

Side Effects

none

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