Method

PurpleWhiteboardui_ops_draw_line

unstable since: 3.0

Declaration [src]

void
purple_whiteboard_ui_ops_draw_line (
  PurpleWhiteboard* whiteboard,
  int x1,
  int y1,
  int x2,
  int y2,
  int color,
  int size
)

Description [src]

Draws a line on whiteboard.

Available since: 3.0

Parameters

x1

Type: int

The starting point’s x coordinate.

y1

Type: int

The starting point’s y coordinate.

x2

Type: int

The end point’s x coordinate.

y2

Type: int

The end point’s y coordinate.

color

Type: int

The color for the line.

size

Type: int

The size of the line.