Mutliple flags for a path
Moderators: MtnViewJohn, chris, mtnviewmark
-
- Posts: 7
- Joined: Tue May 05, 2009 5:07 pm
Mutliple flags for a path
How do I Stroke a path that has both the CF::RoundCap and CF::RoundJoin flags at the same time?
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: Mutliple flags for a path
You add them: CF::RoundCap + CF::RoundJoin
Re: Mutliple flags for a path
That doesn't seem to work for ARCTO:
Code: Select all
ARCTO(328, 48, 56, 56, 0, CF::ArcCW + CF::ArcLarge)
Code: Select all
error: Flag expressions must be constant
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: Mutliple flags for a path
You're right. That's a bug. Looks like I have to put out a new release.
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: Mutliple flags for a path
I just pushed a commit to Github that fixes this issue. Cfdg v3.4(35).
Re: Mutliple flags for a path
Cool, thanks!