Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.

API: Add Path.addCircle, addRoundRect, close #63

Merged
merged 9 commits into from
Apr 16, 2020
Merged

Conversation

lessp
Copy link
Member

@lessp lessp commented Apr 6, 2020

This adds bindings for Path. addCircle, addRoundRect, close. This is new ground for me, so please make sure I've not missed something! 😄

https://api.skia.org/classSkPath.html#a2daa24dc5e277a487c80e2de4469bfb3

@lessp lessp changed the title API: Add addCircle API: Add Path.addCircle, addRoundRect, close Apr 7, 2020
@giltho giltho mentioned this pull request Apr 7, 2020
Copy link
Member

@Et7f3 Et7f3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why a image is added but unused ?

src/wrapped/bindings/SkiaWrappedBindings.re Outdated Show resolved Hide resolved
@lessp
Copy link
Member Author

lessp commented Apr 9, 2020

Why a image is added but unused ?

Removed it and added it to .gitignore, thanks!

@lessp
Copy link
Member Author

lessp commented Apr 11, 2020

Why a image is added but unused ?

Removed it and added it to .gitignore, thanks!

Anything else holding this back @Et7f3?

@lessp lessp requested a review from Et7f3 April 15, 2020 17:11
src/Skia.re Outdated Show resolved Hide resolved
File "src/Skia.re", line 462, characters 2-53:
Error (warning 34): unused type pathDirection.
File "src/Skia.re", line 463, characters 6-19:
Error (warning 32): unused value pathDirection.
example/TestApp.re Outdated Show resolved Hide resolved
@Et7f3
Copy link
Member

Et7f3 commented Apr 16, 2020

I see in the man that their is a default value to ClockWise. Maybe when you re export you could define a function with a default arg. :) Otherwise seem good to merge.

lessp and others added 2 commits April 16, 2020 16:29
example/TestApp.re Outdated Show resolved Hide resolved
@lessp
Copy link
Member Author

lessp commented Apr 16, 2020

Perfect, thanks @Et7f3!

@Et7f3 Et7f3 merged commit 5726a11 into master Apr 16, 2020
@Et7f3 Et7f3 deleted the feat/add_circle branch April 16, 2020 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants