player_graphics2d_cmd_polygon Struct Reference

#include <player_interfaces.h>

Collaboration diagram for player_graphics2d_cmd_polygon:

Collaboration graph
[legend]
List of all members.

Detailed Description

Command: Draw polygon (PLAYER_GRAPHICS2D_CMD_POLYGON) Draw a polygon.

Definition at line 1400 of file player_interfaces.h.


Public Attributes

uint32_t points_count
 Number of points in this packet.
player_point_2d_tpoints
 array of points defining the polygon.
player_color_t color
 Color in which the outline should be drawn.
player_color_t fill_color
 Color in which the polygon should be filled.
uint8_t filled
 If non-zero, the polygon should be drawn filled, else empty.

The documentation for this struct was generated from the following file:

Last updated 12 September 2005 21:38:45