Scroll Function

Microchip Graphics Library

Microchip Graphics Library
Scroll Function
C
WORD Scroll(
    SHORT left, 
    SHORT top, 
    SHORT right, 
    SHORT bottom, 
    SHORT delta, 
    WORD dir
);
Overview

Scrolls the rectangular area defined by left, top, right, bottom by delta pixels.

Input Parameters
Input Parameters 
Description 
SHORT left 
left position of the scrolled rectangle 
SHORT top 
top position of the scrolled rectangle 
SHORT right 
right position of the scrolled rectangle 
SHORT bottom 
bottom position of the scrolled rectangle 
SHORT delta 
defines the scroll delta 
WORD dir 
defines the direction of the scroll.
  • 0 : scroll to the left
  • 1 : scroll to the right
 
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