LibGGI Functions


Table of Contents

ggiInit - Initialize and uninitialize LibGGI
ggiPanic - Exit LibGGI programs for fatal errors
ggiOpen - Open and close a visual
ggiCheckMode - Check or negotiate a text/graphics mode on a visual
ggiSetMode - Set or get a mode on a visual
ggiParseMode - Parse and print formatted strings specifying LibGGI modes
ggiSetDisplayFrame - Set or get the current frame for display, writing and reading
ggiMapColor - Convert from ggi_color(s) to ggi_pixel(s) and vice versa
ggiSetPalette - Manipulate the palette of a visual
ggiSetColorfulPalette - Set a palette with a full range of all colors
ggiSetGamma - Manipulate the gamma maps and the gamma correction of a visual
ggiGetPixelFormat - Get a structure describing the format of a pixelvalue from a visual
ggiSetGCForeground - Set or get the foreground or background color used in drawing operations in a visual
ggiSetGCClipping - Set or get the clipping rectangle for a visual
ggiDrawPixel - Draw, put, and get a single pixel from a visual
ggiDrawHLine - Draw, put, and get a horizontal line from a visual
ggiDrawVLine - Draw, put, and get a vertical line from a visual
ggiDrawBox - Draw, put, and get a rectangle from a visual
ggiFillscreen - Fills the entire virtual screen
ggiDrawLine - Draw a line on a visual
ggiCopyBox - Copy a rectangular area
ggiCrossBlit - Copy a rectangular area between two visuals
ggiSetOrigin - Set and get origin of virtual screen
ggiPutc - Draw one or more characters on visual
ggiSetFlags - Set or get flags affecting operation on a visual
ggiFlush - Flush pending output
ggiResourceAcquire - Acquire and release a LibGGI resource
ggiDBGetBuffer - Get DirectBuffers from a visual
ggiEventPoll - Event management for LibGGI visual
ggiGetInput - Functions to translate from GGI visuals to GII input
ggiEventSend - Send commands and events to a LibGGI visual
ggiGetc - Convenience functions for simplistic keyboard input