Skip to content

Commit

Permalink
add more wasm functions
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjipeng committed Nov 2, 2023
1 parent 8c5ff32 commit cd9f2e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion include/picasso.h
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,7 @@ PEXPORT void PICAPI ps_set_line_inner_join(ps_context* ctx, ps_line_inner_join l
*
* \param ctx Pointer to an existing context object.
* \param width The line width to use, in pixels, must be greater than 0.
* Default value is 1.
*
* \return If the function succeeds, the return value is the old width.
* If the function fails, the return value is 0.
Expand All @@ -1352,7 +1353,8 @@ PEXPORT float PICAPI ps_set_line_width(ps_context* ctx, float width);
* \brief Set the miter limit for the joins of connected lines in a graphics context.
*
* \param ctx Pointer to an existing context object.
* \param limit The miter limit to use.
* \param limit The miter limit to use, must be greater than 0.
* Default value is 4.
*
* \return If the function succeeds, the return value is the old miter limit.
* If the function fails, the return value is 0.
Expand Down
2 changes: 0 additions & 2 deletions wasm/pconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@

#define ENABLE_FORMAT_RGBA 1

#define ENABLE_FORMAT_ABGR 1

Binary file modified wasm/picasso.wasm
Binary file not shown.

0 comments on commit cd9f2e1

Please sign in to comment.