HP Forums

Full Version: circle filled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any command to draw a circle filled with color?
something like fillpolly
thanks
Hello,

no, unfortunately,

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

cyrille
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;
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.
Reference URL's