Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfx/src/render.c

    r045186b r7470d97  
    11/*
    2  * Copyright (c) 2019 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3737#include "../private/context.h"
    3838
     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 */
     47errno_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
    3952/** Set drawing color.
    4053 *
     
    6376}
    6477
     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 */
     87errno_t gfx_update(gfx_context_t *gc)
     88{
     89        return gc->ops->update(gc->arg);
     90}
     91
    6592/** @}
    6693 */
Note: See TracChangeset for help on using the changeset viewer.