GFX_TRANSITION_TYPE Enumeration

Microchip Graphics Library

Microchip Graphics Library
GFX_TRANSITION_TYPE Enumeration
C
typedef enum {
  PLAIN = 0,
  SLIDE,
  PUSH,
  EXPANDING_RECTANGLE,
  CONTRACTING_RECTANGLE,
  EXPANDING_LINE,
  CONTRACTING_LINE
} GFX_TRANSITION_TYPE;
Overview

Transition type enumeration to determine the type of the transition. Each type will require specific parameters when setting up the transition operation (GFXSetupTransition() or GFXTransition()). 

 

GFX_TRANSITION_TYPE 
param1 
param2 (sets the direction of transition) 
PLAIN 
pixel block size 
not used 
EXPANDING_RECTANGLE 
pixel block size 
not used 
CONTRACTING_RECTANGLE 
pixel block size 
not used 
SLIDE 
pixel block size 
LEFT_TO_RIGHT, RIGHT_TO_LEFT, TOP_TO_BOTTOM, BOTTOM_TO_TOP 
PUSH 
pixel block size 
LEFT_TO_RIGHT, RIGHT_TO_LEFT, TOP_TO_BOTTOM, BOTTOM_TO_TOP 
EXPANDING_LINE 
pixel block size 
HORIZONTAL, VERTICAL 
CONTRACTING_LINE 
pixel block size 
HORIZONTAL, VERTICAL 
Members
Members 
Description 
PLAIN = 0 
no transition effect 
SLIDE 
param1 -> Pixel-block size, param2 -> Sliding direction LEFT_TO_RIGHT/RIGHT_TO_LEFT/TOP_TO_BOTTOM/BOTTOM_TO_TOP 
PUSH 
param1 -> Pixel-block size, param2 -> Sliding direction LEFT_TO_RIGHT/RIGHT_TO_LEFT/TOP_TO_BOTTOM/BOTTOM_TO_TOP 
EXPANDING_RECTANGLE 
param1 -> Pixel-block size 
CONTRACTING_RECTANGLE 
param1 -> Pixel-block size 
EXPANDING_LINE 
param1 -> Pixel-block size, param2 -> direction HORIZONTAL/VERTICAL 
CONTRACTING_LINE 
param1 -> Pixel-block size, param2 -> direction HORIZONTAL/VERTICAL 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved