mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
src/buffer: Automatically adapt to scale attribute
Based on discussion in PR #389
This commit is contained in:
parent
5626c20c44
commit
505f92e733
3 changed files with 17 additions and 4 deletions
|
|
@ -37,6 +37,8 @@ struct lab_data_buffer {
|
|||
uint32_t format;
|
||||
size_t stride;
|
||||
bool free_on_destroy;
|
||||
uint32_t unscaled_width;
|
||||
uint32_t unscaled_height;
|
||||
};
|
||||
|
||||
/* Create a buffer which creates a new cairo CAIRO_FORMAT_ARGB32 surface */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue