Drawing a filled circle
10-09-2015, 11:43 AM
Post: #1
 Powersoft Member Posts: 100 Joined: Feb 2015
Drawing a filled circle
Hi all,

Is it posible to draw a filled circle with one command?

Cheers,

Jan
10-09-2015, 01:51 PM
Post: #2
 Tim Wessman Senior Member Posts: 2,293 Joined: Dec 2013
RE: Drawing a filled circle
Not at the moment.

I hope to be able to go through all the drawing commands to improve consistency, as well as do a complete revisit of the text/string/terminal at some point in the future though.

TW

Although I work for HP, the views and opinions I post here are my own.
10-09-2015, 04:29 PM (This post was last modified: 10-09-2015 04:30 PM by Tyann.)
Post: #3
 Tyann Senior Member Posts: 391 Joined: Oct 2014
RE: Drawing a filled circle
Bonjour
En attendant, je vous propose :
Meanwhile, I propose:
Code:
 EXPORT ARCF_P(g,cx,cy,r,c) BEGIN  LOCAL i,j,p,x,y;  j:=IFTE(HAngle,180,π);  p:=IFTE(HAngle,0.5,0.075);  FOR i FROM 0 TO j STEP p DO   x:=SIN(i)*r;y:=cy+COS(i)*r;   LINE_P(g,cx-x,y,cx+x,y,c);  END; END;
g=G0...G9,cx=Centre x, cy=Centre y, r=rayon, c=couleur
g=G0...G9,cx=Center x, cy=Center y, r=ray, c=color

Sorry for my english
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)