ggiGetPixelFormat(3)

ggiGetPixelFormat3

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

Usage

#include <ggi/ggi.h>
const ggi_pixelformat *ggiGetPixelFormat(ggi_visual_t vis);

Overview

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.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From libggi2-dev 1:2.2.2-5 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.