Poster of Linux kernelThe best gift for a Linux geek
ggiSetGCForeground

ggiSetGCForeground

Section: GGI (3) Updated: 2006-12-30
Local index Up
 

NAME

ggiSetGCForeground, ggiGetGCForeground, ggiSetGCBackground, ggiGetGCBackground - Set or get the foreground or background color used in drawing operations in a visual  

SYNOPSIS

#include <ggi/ggi.h>

int ggiSetGCForeground(ggi_visual_t vis,ggi_pixel  color);

int ggiGetGCForeground(ggi_visual_t vis,ggi_pixel *color);

int ggiSetGCBackground(ggi_visual_t vis,ggi_pixel  color);

int ggiGetGCBackground(ggi_visual_t vis,ggi_pixel *color);

 

DESCRIPTION

ggiSetGCForeground and ggiGetGCForeground set or reads the current colors for the foreground, used in all normal drawing functions.

ggiSetGCBackground and ggiGetGCBackground set or reads the current colors for the background, used in two-color operations like drawing text.  

RETURN VALUE

All four functions 0 for OK.  

SEE ALSO

ggi_pixel(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:46:51 GMT, April 16, 2011