Method

PurpleWhiteboarddraw_line

since: 2.0

Declaration [src]

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

Description [src]

Draws a line on whiteboard with the given parameters.

Available since: 2.0

Parameters

x1

Type: gint

The top-left x coordinate.

y1

Type: gint

The top-left y coordinate.

x2

Type: gint

The bottom-right x coordinate.

y2

Type: gint

The bottom-right y coordinate.

color

Type: gint

The color to use.

size

Type: gint

The brush size.