Log In  


The extended color bits to specify the fill pattern are applied to the next draw command.

There is no way to remove the fill pattern by specifying a draw command color unless fillp() is called.

	circfill(64,64,20,0x114e.abcd)	
	-- expected: solid white
        -- actual: 0xabcd pattern is applied
	circfill(32,45,12,7)

Example cart:

Cart #53676 | 2018-06-21 | Code ▽ | Embed ▽ | No License



1

You'd need to tell the API to change the fill pattern to solid by setting the high nybble to 1, e.g.

circfill(32,45,12,0x1007)

Otherwise it uses the existing pattern, which was set by the previous circfill(), as usual.


Ok - got it (the doc is a bit confusing, as I am actually setting the ‘use pattern’ bit to zero :/)



[Please log in to post a comment]