Struct
PurpleWhiteboardOps
Description [src]
struct PurpleWhiteboardOps {
void (* start) (
PurpleWhiteboard* wb
);
void (* end) (
PurpleWhiteboard* wb
);
void (* get_dimensions) (
const PurpleWhiteboard* wb,
int* width,
int* height
);
void (* set_dimensions) (
PurpleWhiteboard* wb,
int width,
int height
);
void (* get_brush) (
const PurpleWhiteboard* wb,
int* size,
int* color
);
void (* set_brush) (
PurpleWhiteboard* wb,
int size,
int color
);
void (* send_draw_list) (
PurpleWhiteboard* wb,
GList* draw_list
);
void (* clear) (
PurpleWhiteboard* wb
);
}
Whiteboard protocol operations.
Structure members
start
Start function.
end
End function.
get_dimensions
Get whiteboard dimensions.
set_dimensions
Set whiteboard dimensions.
get_brush
Get the brush size and color.
set_brush
Set the brush size and color.
send_draw_list
Send_draw_list function.
clear
Clear whiteboard.