Trying to figure algorithm to draw and paint polygons - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2) +--- Thread: Trying to figure algorithm to draw and paint polygons (/showthread.php?tid=1900) Pages:
1
2
|
RE: Trying to figure algorithm to draw and paint polygons - CharlieJV - 08-18-2023 Okay, this floats my boat something silly. Macro-programming to generate standard BASIC code for polygon generation. Although the BAM source code is useless for QB64PE, the exported program is post-processing: so the end result is a BASIC program that will work A-1 with QB64PE. Well, EXCEPTION: I've got an instance of IFF in the generated code. Regardless, I think anybody will find in there what they need to create proper QB64PE code. Details: Testing: POLYGON macro and support library Well, proof will be in the pudding. I've got to test everything for various polygons to see if the code breaks. RE: Trying to figure algorithm to draw and paint polygons - CharlieJV - 08-24-2023 This test program is kind of fun: |