VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



LaVolpe Window Shaper 3 w/Full Region Class

by LaVolpe (66 Submissions)
Category: Graphics
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (29 Votes)

(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

Download LaVolpe Window Shaper 3 w/Full Region Class

Download LaVolpe Window Shaper 3 w/Full Region Class (154 KB)

LaVolpe Window Shaper 3 w/Full Region Class Comments

No comments have been posted about LaVolpe Window Shaper 3 w/Full Region Class. Why not be the first to post a comment about LaVolpe Window Shaper 3 w/Full Region Class.

Post your comment

Subject:
Message:
0/1000 characters