Skip to main content

News

Topic: Proposed Change to FilledEllipse and OutlinedEllipse (Read 1837 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Proposed Change to FilledEllipse and OutlinedEllipse
It would be useful if the Ellipse functions also took an angle parameter. This would change how the x and y axes were aligned, and let you draw arbitrary ellipses (rather than only cardinally aligned ellipses). It would be an optional parameter, and leaving it out would have the function default to the Sphere 1.5/1.6 behaviour.

Code: [Select]

    OutlinedEllipse(x, y, rx, ry, c [, a])
    FilledEllipse(x, y, rx, ry, c [, a])


This would be a valuable addition to the Sphere API because there is no simple way to do this in script, but it would be very simple in engine.

  • DaVince
  • [*][*][*][*][*]
  • Administrator
  • Used Sphere for, like, half my life
Re: Proposed Change to FilledEllipse and OutlinedEllipse
Reply #1
Sounds interesting, useful, and easy enough to override in original Sphere!

Speaking of which, do we have a "Proposed changes" wiki page? That would be beneficial for the further development of Sphere's API as a whole, I think.

Re: Proposed Change to FilledEllipse and OutlinedEllipse
Reply #2
I looked for such a thing (on the forums and the wiki), but couldn't find one.

  • DaVince
  • [*][*][*][*][*]
  • Administrator
  • Used Sphere for, like, half my life
Re: Proposed Change to FilledEllipse and OutlinedEllipse
Reply #3
Then I'm making one! Reason is mostly to keep an overview of all these changes, especially on what we all decide on for the different implementations of Sphere.

http://wiki.spheredev.org/Proposed_changes_to_the_Sphere_API

Feel free to change it; this is just a draft.