01-18-2005, 10:47 PM
ok, new version released, same location:
http://www.ecplusplus.com/index.php?page...fxlib2.zip
Changes:
* PALETTE now supports EGA emulation
* MMX optimized PUT routines (PSET, PRESET, AND, OR, XOR and TRANS)
* CIRCLE start/end arc parameters not limited to 0-2PI anymore: negative values behave like in QB (plot lines)
* Added safe guards to functions so your app doesn't crash if you use gfx statements while not in gfx mode
* Fixed FLIP compatibility
* Fixed a bug with relative coordinates via STEP
steven_basic, with this version your brix works like a charm 8)
Just had to change CHR$(0) to CHR$(255)...
retsyo: I'm still investigating for the problem with your program... But let me first say that whoever coded that stuff is a fool and should be interned! Anyway... the problem is not with PAINT, but with CIRCLE: the app uses a lot of arcs, and the ellipse algorithm I used for CIRCLE obviously differs from the one used by QB, so it's not equal to it pixel-by-pixel. As your app requires pixel precision due to the many PAINTs used, that causes problems.
I'll see if I can make my CIRCLE more similar to the QB one...
http://www.ecplusplus.com/index.php?page...fxlib2.zip
Changes:
* PALETTE now supports EGA emulation
* MMX optimized PUT routines (PSET, PRESET, AND, OR, XOR and TRANS)
* CIRCLE start/end arc parameters not limited to 0-2PI anymore: negative values behave like in QB (plot lines)
* Added safe guards to functions so your app doesn't crash if you use gfx statements while not in gfx mode
* Fixed FLIP compatibility
* Fixed a bug with relative coordinates via STEP
steven_basic, with this version your brix works like a charm 8)
Just had to change CHR$(0) to CHR$(255)...
retsyo: I'm still investigating for the problem with your program... But let me first say that whoever coded that stuff is a fool and should be interned! Anyway... the problem is not with PAINT, but with CIRCLE: the app uses a lot of arcs, and the ellipse algorithm I used for CIRCLE obviously differs from the one used by QB, so it's not equal to it pixel-by-pixel. As your app requires pixel precision due to the many PAINTs used, that causes problems.
I'll see if I can make my CIRCLE more similar to the QB one...
ngelo Mottola - EC++