Struct

PurpleWhiteboardUiOps

Description [src]

struct PurpleWhiteboardUiOps {
  void (* create) (
    PurpleWhiteboard* wb
  );
  void (* destroy) (
    PurpleWhiteboard* wb
  );
  void (* set_dimensions) (
    PurpleWhiteboard* wb,
    int width,
    int height
  );
  void (* set_brush) (
    PurpleWhiteboard* wb,
    int size,
    int color
  );
  void (* draw_point) (
    PurpleWhiteboard* wb,
    int x,
    int y,
    int color,
    int size
  );
  void (* draw_line) (
    PurpleWhiteboard* wb,
    int x1,
    int y1,
    int x2,
    int y2,
    int color,
    int size
  );
  void (* clear) (
    PurpleWhiteboard* wb
  );
}

The PurpleWhiteboard UI Operations.

Structure members
create No description available.
destroy No description available.
set_dimensions No description available.
set_brush No description available.
draw_point No description available.
draw_line No description available.
clear No description available.