diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-04-10 08:22:21 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-04-10 08:22:21 +0200 |
| commit | e9f311def74bf9f4e124ca0d73a70e40bdbd3cfb (patch) | |
| tree | 3d31429ee9a39fbcefce8833321a9ccf51d0bc28 /include | |
| parent | 88996c4e1f4844e183189eb578eff70d3bf09384 (diff) | |
vkvg_rectangle
Diffstat (limited to 'include')
| -rw-r--r-- | include/vkvg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vkvg.h b/include/vkvg.h index 2c86cbf..c5d8f32 100644 --- a/include/vkvg.h +++ b/include/vkvg.h @@ -4,7 +4,7 @@ #include <vulkan/vulkan.h> #include <math.h> -#define VKVG_SAMPLES VK_SAMPLE_COUNT_4_BIT +#define VKVG_SAMPLES 4 typedef enum _vkvg_direction { VKVG_HORIZONTAL = 0, @@ -81,6 +81,7 @@ void vkvg_line_to (VkvgContext ctx, float x, float y); void vkvg_move_to (VkvgContext ctx, float x, float y); void vkvg_arc (VkvgContext ctx, float xc, float yc, float radius, float a1, float a2); void vkvg_curve_to (VkvgContext ctx, float x1, float y1, float x2, float y2, float x3, float y3); +void vkvg_rectangle (VkvgContext ctx, float x, float y, float w, float h); void vkvg_stroke (VkvgContext ctx); void vkvg_stroke_preserve (VkvgContext ctx); void vkvg_fill (VkvgContext ctx); |