Post Reply 
Bugs in graphic functions
07-12-2017, 05:05 AM
Post: #3
RE: Bugs in graphic functions
I found another bug of the drawing function. The alpha in different functions or different usage gives different effects,for example:
Code:

RECT_P(0,0,100,100,#400000FFh);
FREEZE;

Code:

RECT_P(0,0,100,100,{#FFh,#40h});

Code:

DIMGROB_P(G1,100,100,#FFh);
BLIT_P(G1,0,0,100,100,#0h,#40h); //the usage of alpha is not said in the help, this is another bug.
FREEZE;

Code:

FILLPOLY_P([(0,0),(0,100),(100,100),(100,0)],#FFh,#40h);

Code:

TRIANGLE_P(0,0,100,100,0,100,#FFh,#FFh,#FFh,#40h);

These codes gets completely different results, I think the alpha of FILLPOLY is correct while the RECT is very strange. (you can see it in detail at http://www.hpmuseum.org/forum/thread-6994.html)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bugs in graphic functions - wangchong01 - 07-10-2017, 01:35 PM
RE: Bugs in graphic functions - wangchong01 - 07-12-2017 05:05 AM



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