ggiGetPixelFormat(3) GGI ggiGetPixelFormat(3)NAMEggiGetPixelFormat : Get a structure describing the format of a pixel‐
value from a visual
SYNOPSIS
#include <ggi/ggi.h>
const ggi_pixelformat *ggiGetPixelFormat(ggi_visual_t vis);
DESCRIPTION
This function obtains the default pixel format for the given visual.
RETURN VALUE
Returns a pointer to the ggi_pixelformat(3) structure.
Important: Modifying the structure returned is not allowed. Do
not attempt to free the pointer returned.
SEE ALSOggiMapColor(3), ggi_pixelformat(3)libggi-2.2.x 2006-12-30 ggiGetPixelFormat(3)