player_graphics2d_cmd_multiline Struct Reference

Command: Draw multiple lines (PLAYER_GRAPHICS2D_CMD_MULTILINE) Draw a set of lines. More...

#include <player_interfaces.h>

Collaboration diagram for player_graphics2d_cmd_multiline:
Collaboration graph

Detailed Description

Command: Draw multiple lines (PLAYER_GRAPHICS2D_CMD_MULTILINE) Draw a set of lines.

End points of lines are at points[2n] and points[2n+1] where 2n+1<count

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_multiline::color

Color in which the line should be drawn.

◆ points

player_point_2d_t* player_graphics2d_cmd_multiline::points

Array of points to be joined by lines.

◆ points_count

uint32_t player_graphics2d_cmd_multiline::points_count

Number of points in this packet.


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