[ prev :: next :: up ] libggi-current (3)

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

Name

ggiGetPixelFormat : Get a structure describing the format of a pixelvalue 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 structure.

Important

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

See Also

:man:`ggi_pixelformat(3)`, :man:`ggiMapColor(3)`

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 868); backlink

Unknown interpreted text role "man".

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 868); backlink

Unknown interpreted text role "man".
 
[ prev :: next :: up ] libggi-current (3)
2008/05/04 23:15:03