mirror of
https://github.com/labwc/labwc.git
synced 2026-02-05 04:06:33 -05:00
buffer: create cairo_t inside buffer_create()
This commit is contained in:
parent
ba909e4fc7
commit
f22bfc96b2
3 changed files with 22 additions and 26 deletions
|
|
@ -38,7 +38,7 @@ struct lab_data_buffer {
|
|||
size_t stride;
|
||||
};
|
||||
|
||||
struct lab_data_buffer *buffer_create(cairo_t *cairo);
|
||||
void buffer_destroy(struct lab_data_buffer *buffer);
|
||||
struct lab_data_buffer *buffer_create(uint32_t width, uint32_t height,
|
||||
float scale);
|
||||
|
||||
#endif /* __LABWC_BUFFER_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue