diff options
author | Erik Reider <[email protected]> | 2023-07-27 07:02:25 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-27 01:02:25 -0400 |
commit | 67103a7c47ffcbedd876eeba2d0aa439616359e3 (patch) | |
tree | 05fc2d2595958b68232ac0b2db83954439558f22 /include/render/fx_renderer/fx_renderer.h | |
parent | 4d988e489fa651c09ccd4df2175485301056a42f (diff) |
feat: add corner radius parameter (#10)
Diffstat (limited to 'include/render/fx_renderer/fx_renderer.h')
-rw-r--r-- | include/render/fx_renderer/fx_renderer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/render/fx_renderer/fx_renderer.h b/include/render/fx_renderer/fx_renderer.h index 085cd1c..2067c04 100644 --- a/include/render/fx_renderer/fx_renderer.h +++ b/include/render/fx_renderer/fx_renderer.h @@ -71,8 +71,10 @@ void fx_renderer_clear(const float color[static 4]); void fx_renderer_scissor(struct wlr_box *box); -bool fx_render_subtexture_with_matrix(struct fx_renderer *renderer, struct wlr_texture *wlr_texture, - const struct wlr_fbox *src_box, const struct wlr_box *dst_box, const float matrix[static 9]); +bool fx_render_subtexture_with_matrix(struct fx_renderer *renderer, + struct wlr_texture *wlr_texture, const struct wlr_fbox *src_box, + const struct wlr_box *dst_box, const float matrix[static 9], + float opacity, int corner_radius); void fx_render_rect(struct fx_renderer *renderer, const struct wlr_box *box, const float color[static 4], const float projection[static 9]); |