Page 1 of 1
Mutliple flags for a path
Posted: Tue Feb 05, 2013 2:42 am
by ColorMeImpressed
How do I Stroke a path that has both the CF::RoundCap and CF::RoundJoin flags at the same time?
Re: Mutliple flags for a path
Posted: Tue Feb 05, 2013 2:04 pm
by MtnViewJohn
You add them: CF::RoundCap + CF::RoundJoin
Re: Mutliple flags for a path
Posted: Sat Apr 16, 2022 8:01 pm
by pakin
MtnViewJohn wrote: ↑Tue Feb 05, 2013 2:04 pm
You add them:
CF::RoundCap + CF::RoundJoin
That doesn't seem to work for ARCTO:
Code: Select all
ARCTO(328, 48, 56, 56, 0, CF::ArcCW + CF::ArcLarge)
produces
Code: Select all
error: Flag expressions must be constant
at least in cfdg 3.3(v33) on Linux.
Re: Mutliple flags for a path
Posted: Sat Apr 23, 2022 10:14 pm
by MtnViewJohn
You're right. That's a bug. Looks like I have to put out a new release.
Re: Mutliple flags for a path
Posted: Sat Apr 23, 2022 11:12 pm
by MtnViewJohn
I just pushed a commit to Github that fixes this issue. Cfdg v3.4(35).
Re: Mutliple flags for a path
Posted: Sun Apr 24, 2022 7:24 pm
by pakin
Cool, thanks!