VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

LaVolpe Window Shaper 3 w/Full Region Class

LaVolpe  (66 Submissions)   Graphics   Intermediate   Wed 3rd February 2021

(Updated w/more Functions) The attached code will shape a window around a bitmap faster than anything else I've seen on any other site. A simple modification to the code (really optional parameters), can produce the desired results up to 4x faster! Surprised I haven't considered it before. This time the code is moved into a class that has many region-related functions. If the only reason you download is to strip out the RegionFromBitmap function, I think you will also appreciate learning about those other functions. Oh, why is this one faster; cause it uses a method none of the others do -- documented in the code. Patched: 18Nov/1430. SaveRegionToFile fixed, added 1 more ImportRegion option, cleaned-up code, made IsRegion public, & minor touch ups, more comments. 31Jan06/1800z: correct calc errors for rare cases in RegionFromBitmap() & minor tweaks throughout. 1Feb/0200z. Added many more region functions, added more examples in sample project, commented the code to death. History of changes at top of the class module. 2Feb/2130z: Added all remaining functions I can think of and even threw in a Region Collision routine. Short of bugs or bone-head errors, this class is done and now contains 99% of all known functions that actually create, destroy or modify regions.

Rate LaVolpe Window Shaper 3 w/Full Region Class (29(29 Vote))

Download LaVolpe Window Shaper 3 w/Full Region Class

LaVolpe Window Shaper 3 w/Full Region Class Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters