player_graphics2d_cmd_polyline Struct Reference

Command: Draw polyline (PLAYER_GRAPHICS2D_CMD_POLYLINE) Draw a series of straight line segments between a set of points. More...

#include <player_interfaces.h>

Collaboration diagram for player_graphics2d_cmd_polyline:
Collaboration graph

Detailed Description

Command: Draw polyline (PLAYER_GRAPHICS2D_CMD_POLYLINE) Draw a series of straight line segments between a set of points.

Public Attributes

uint32_t points_count
 Number of points in this packet. More...
 
player_point_2d_tpoints
 Array of points to be joined by lines. More...
 
player_color_t color
 Color in which the line should be drawn. More...
 

Member Data Documentation

◆ color

player_color_t player_graphics2d_cmd_polyline::color

Color in which the line should be drawn.

◆ points

player_point_2d_t* player_graphics2d_cmd_polyline::points

Array of points to be joined by lines.

◆ points_count

uint32_t player_graphics2d_cmd_polyline::points_count

Number of points in this packet.


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