Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when filled arc #29

Closed
hilaire opened this issue Apr 5, 2024 · 0 comments
Closed

Error when filled arc #29

hilaire opened this issue Apr 5, 2024 · 0 comments
Labels
smalltalk sketch Issues related to DrGeo Smalltalk Sketch, i.e. Sktech coded with Smalltalk
Milestone

Comments

@hilaire
Copy link
Owner

hilaire commented Apr 5, 2024

p filled raise an error:

| f  p |
f := DrGeoSketch new.
p := f arc: 1@0  to: 0@0 to: 0@1.
p filled.

The alternative does not work very well either:

| f  p |
f := DrGeoSketch new.
p := f arc: 1@0  to: 0@0 to: 0@1.
p style fill:true

because DrArcStyle>>fill: boolean needs to be removed in the Cuis port.

Then use the #finializeFilledCurve: in both arc method of DrGeoSketch so the user can directly send the #filled message to the arc reference in her code.

@hilaire hilaire added the smalltalk sketch Issues related to DrGeo Smalltalk Sketch, i.e. Sktech coded with Smalltalk label Apr 5, 2024
@hilaire hilaire added this to the 24.05 milestone Apr 5, 2024
@hilaire hilaire closed this as completed in fe7f46c Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
smalltalk sketch Issues related to DrGeo Smalltalk Sketch, i.e. Sktech coded with Smalltalk
Projects
None yet
Development

No branches or pull requests

1 participant