Ignore:
File:
1 edited

Legend:

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

    r7470d97 r045186b  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2019 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  */
    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 
    5239/** Set drawing color.
    5340 *
     
    7663}
    7764
    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 
    9265/** @}
    9366 */
Note: See TracChangeset for help on using the changeset viewer.