[ 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

ggi_pixelformat(3), ggiMapColor(3)

 
[ prev :: next :: up ] libggi-current (3)
2004/03/10 22:44:07