Post Reply 
circle filled
06-20-2014, 12:56 AM
Post: #1
circle filled
Is there any command to draw a circle filled with color?
something like fillpolly
thanks
Find all posts by this user
Quote this message in a reply
06-20-2014, 05:16 AM
Post: #2
RE: circle filled
Hello,

no, unfortunately,

even internally, filled circles are done using a fillpoly...

cyrille
Find all posts by this user
Quote this message in a reply
06-20-2014, 10:58 AM (This post was last modified: 06-20-2014 10:58 AM by fabila.)
Post: #3
RE: circle filled
Thank cyrille

using fillpoly has given me an idea

Could it be something like this?


Code:
EXPORT fillcircle()
BEGIN
    LOCAL COORD:={};
    
    dimgrob_p(G1, 200,200,RGB(255,255,255,128));
    
    FOR A FROM 1 TO 90 DO
        COORD(A,1):=99+99*COS(4*A);
        COORD(A,2):=99+99*sin(4*A);
    end;
    
    FILLPOLY_P(G1,COORD,#FF, 128);
    RECT();
    BLIT_P(G1);
    
    WAIT(-1);
END;
Find all posts by this user
Quote this message in a reply
06-22-2014, 02:49 PM
Post: #4
RE: circle filled
There is also this program from MacBernick from a few months ago: http://www.omnimaga.org/hp-prime/fast-fi...tach=16703


http://www.omnimaga.org/hp-prime/fast-fi...#msg373410

I don't know how to get rid of the Select program prompt at the beginning, though.


The program looks somewhat fast and if you want you can modify it so that the circles are translucent.



I'll try your program as well.

-Dream of Omnimaga
https://dreamofomnimaga.page
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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