Changeset cea9f0c in mainline for uspace/lib/guigfx/private/canvas.h
- Timestamp:
- 2020-05-29T19:04:46Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f8375f7
- Parents:
- d8e2485
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/guigfx/private/canvas.h
rd8e2485 rcea9f0c 44 44 #include <gfx/coord.h> 45 45 #include <io/pixel.h> 46 #include <memgfx/memgc.h> 46 47 47 48 /** Actual structure of canvas GC. */ … … 53 54 /** Surface */ 54 55 surface_t *surface; 55 /** Current drawing color */ 56 pixel_t color; 56 /** Memory GC */ 57 mem_gc_t *mgc; 58 /** Base GC for memory GC */ 59 gfx_context_t *mbgc; 57 60 }; 58 61 … … 61 64 /** Containing canvas GC */ 62 65 struct canvas_gc *cgc; 63 /** Allocation info */ 64 gfx_bitmap_alloc_t alloc; 65 /** @c true if we allocated the bitmap, @c false if allocated by caller */ 66 bool myalloc; 67 /** Surface */ 68 surface_t *surface; 69 /** Rectangle covered by bitmap */ 70 gfx_rect_t rect; 71 /** Bitmap flags */ 72 gfx_bitmap_flags_t flags; 73 /** Key color */ 74 pixel_t key_color; 66 /** Memory GC bitmap */ 67 gfx_bitmap_t *mbitmap; 75 68 } canvas_gc_bitmap_t; 76 69
Note:
See TracChangeset
for help on using the changeset viewer.