Changes in uspace/lib/gfx/src/render.c [045186b:7470d97] in mainline
- File:
-
- 1 edited
-
uspace/lib/gfx/src/render.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfx/src/render.c
r045186b r7470d97 1 1 /* 2 * Copyright (c) 20 19Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 37 37 #include "../private/context.h" 38 38 39 /** Set clipping rectangle. 40 * 41 * @param gc Graphic context 42 * @param rect Rectangle or @c NULL (no extra clipping) 43 * 44 * @return EOK on success, ENOMEM if insufficient resources, 45 * EIO if grahic device connection was lost 46 */ 47 errno_t gfx_set_clip_rect(gfx_context_t *gc, gfx_rect_t *rect) 48 { 49 return gc->ops->set_clip_rect(gc->arg, rect); 50 } 51 39 52 /** Set drawing color. 40 53 * … … 63 76 } 64 77 78 /** Update display. 79 * 80 * Finish any deferred rendering. 81 * 82 * @param gc Graphic context 83 * 84 * @return EOK on success, ENOMEM if insufficient resources, 85 * EIO if grahic device connection was lost 86 */ 87 errno_t gfx_update(gfx_context_t *gc) 88 { 89 return gc->ops->update(gc->arg); 90 } 91 65 92 /** @} 66 93 */
Note:
See TracChangeset
for help on using the changeset viewer.
