graphics2d
[Interface specifications]


Detailed Description

Two-dimensional graphics interface.

The graphics2d interface provides an interface to graphics devices. Drivers can implement this interface to provide clients and other drivers with graphics output. For example, Stage models present this interface to allow clients to draw in the Stage window.

#define PLAYER_GRAPHICS2D_MAX_POINTS   64
 The maximum number of points that can be described in a packet.
#define PLAYER_GRAPHICS2D_CMD_CLEAR   1
 Command subtype: clear the drawing area (send an empty message).
#define PLAYER_GRAPHICS2D_CMD_POINTS   2
 Command subtype: draw points.
#define PLAYER_GRAPHICS2D_CMD_POLYLINE   3
 Command subtype: draw a polyline.
#define PLAYER_GRAPHICS2D_CMD_POLYGON   4
 Command subtype: draw a polygon.
typedef struct
player_graphics2d_cmd_points 
player_graphics2d_cmd_points_t
 The maximum number of points that can be described in a packet.
typedef struct
player_graphics2d_cmd_polyline 
player_graphics2d_cmd_polyline_t
 The maximum number of points that can be described in a packet.
typedef struct
player_graphics2d_cmd_polygon 
player_graphics2d_cmd_polygon_t
 The maximum number of points that can be described in a packet.

Define Documentation

#define PLAYER_GRAPHICS2D_MAX_POINTS   64

The maximum number of points that can be described in a packet.


Typedef Documentation

The maximum number of points that can be described in a packet.

The maximum number of points that can be described in a packet.

The maximum number of points that can be described in a packet.


Last updated 12 September 2005 21:38:45