Orbiter-Forum  

Go Back   Orbiter-Forum > Projects > ORBITER: 2010-P1 and newer > Feature
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Function to draw arcs in Sketchpad Issue Tools
issueid=1244 06-17-2016 11:32 AM
GLS GLS is offline
Addon Developer
Function to draw arcs in Sketchpad

Could a function be added to Sketchpad so we can draw arcs "directly", instead of having to draw a circle and then cover part of it? (with a similar interface as gdi::Arc() or not)
Issue Details
Issue Type Feature
Project ORBITER: 2010-P1 and newer
Status Request
Priority 8
Suggested Version Revision denoted in description
Implemented Version (none)
Votes for this feature 0
Votes against this feature 0
Assigned Users (none)
Tags (none)

06-18-2016 06:57 PM
Beta Tester
 
In the D3D9, Ellipses() are drawn by using a pre-computed (sin, cos) table from where the ellipse is drawn as a polyline. Arc() would likely require computing each point in a real time to form a polyline to get the endpoints appear correctly.

One possibility would be having an utility library containing function like the Arc().
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT. The time now is 01:44 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.