ggiGetPixelFormat(3ggi)

ggiGetPixelFormat3ggi

Get a structure describing the format of a pixelvalue from a visual

Usage

#include <ggi/ggi.h>

ggi_pixelformat *ggiGetPixelFormat(ggi_visual_t vis); .SH "DESCRIPTION"

This function obtains the default pixel format for the given visual.

Return value

Returns a pointer to the ggi_pixelformat structure.

Modifying the structure returned is not allowed. Do not attempt to free the pointer returned.

Structures

See ggi/ggi.h or [XRef to GGI-PIXELFORMAT] for details on the structure that is returned.

Releases

3 releases since Debian 2.1 (Slink); the text changed 2 times.

  1. 2.1
  2. 2.2
  3. 3.0

From libggi2-dev 1:2.0.1-2 in Debian 3.0 (Woody). Parsed by carta from the page's man source.