player_graphics2d_cmd_polygon Struct Reference
Command: Draw polygon (PLAYER_GRAPHICS2D_CMD_POLYGON) Draw a polygon. More...
#include <player.h>
Public Attributes | |
uint16_t | count |
Number of points in this packet. | |
player_point_2d_t | points [PLAYER_GRAPHICS2D_MAX_POINTS] |
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. |
Detailed Description
Command: Draw polygon (PLAYER_GRAPHICS2D_CMD_POLYGON) Draw a polygon.Member Data Documentation
Color in which the outline should be drawn.
uint16_t player_graphics2d_cmd_polygon::count |
Number of points in this packet.
Color in which the polygon should be filled.
If non-zero, the polygon should be drawn filled, else empty.
player_point_2d_t player_graphics2d_cmd_polygon::points[PLAYER_GRAPHICS2D_MAX_POINTS] |
array of points defining the polygon.
The documentation for this struct was generated from the following file: