Changeset 78a71936 in mainline for uspace/lib/gfx/include


Ignore:
Timestamp:
2019-10-15T16:33:25Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dcc4cb31
Parents:
159776f
Message:

Bitmap operations (WIP)

Location:
uspace/lib/gfx/include
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfx/include/types/gfx/ops/context.h

    r159776f r78a71936  
    4040
    4141#include <errno.h>
     42#include <types/gfx/bitmap.h>
    4243#include <types/gfx/color.h>
    4344#include <types/gfx/coord.h>
     
    5051        /** Fill rectangle using the current drawing color */
    5152        errno_t (*fill_rect)(void *, gfx_rect_t *);
     53        /** Create bitmap */
     54        errno_t (*bitmap_create)(void *, gfx_bitmap_params_t *, void *,
     55            gfx_bitmap_t **);
     56        /** Delete bitmap */
     57        errno_t (*bitmap_delete)(void *, gfx_bitmap_t *);
     58        /** Render bitmap */
     59        errno_t (*bitmap_render)(void *, gfx_bitmap_t *, gfx_rect_t *,
     60            gfx_coord2_t *);
     61        /** Get bitmap allocation info */
     62        errno_t (*bitmap_get_alloc)(void *, gfx_bitmap_t *,
     63            gfx_bitmap_alloc_t *);
    5264} gfx_context_ops_t;
    5365
Note: See TracChangeset for help on using the changeset viewer.