FillBevel Function

Microchip Graphics Library

Microchip Graphics Library
FillBevel Function
C
WORD FillBevel(
    SHORT x1, 
    SHORT y1, 
    SHORT x2, 
    SHORT y2, 
    SHORT rad
);
Overview

Draws a filled beveled figure on the screen. For a filled circular object x1 = x2 and y1 = y2. For a filled rectangular object radius = 0.

Description

Input Parameters
Input Parameters 
Description 
SHORT x1 
x coordinate position of the upper left center of the circle that draws the rounded corners. 
SHORT y1 
y coordinate position of the upper left center of the circle that draws the rounded corners. 
SHORT x2 
x coordinate position of the lower right center of the circle that draws the rounded corners. 
SHORT y2 
y coordinate position of the lower right center of the circle that draws the rounded corners. 
SHORT rad 
defines the redius of the circle, that draws the rounded corners. 
Returns

For NON-Blocking configuration:

  • Returns 0 when device is busy and the shape is not yet completely drawn.
  • Returns 1 when the shape is completely drawn.
For Blocking configuration:
  • Always return 1.

Side Effects

none

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