Method

PurpleWhiteboardui_ops_draw_line

since: 3.0

Declaration [src]

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

Description [src]

Draws a line on whiteboard.

Available since: 3.0

Parameters

x1

Type: gint

The starting point’s x coordinate.

y1

Type: gint

The starting point’s y coordinate.

x2

Type: gint

The end point’s x coordinate.

y2

Type: gint

The end point’s y coordinate.

color

Type: gint

The color for the line.

size

Type: gint

The size of the line.