VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Four Colour Gradient (one on each corner, Updated with more examples)

by Sunero Technologies (4 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (12 Votes)

This module can draw a gradient with four colours, one on each corner. It is not really hard to draw such a gradient, only it is slow. As the loops get larger, the processing takes more time. Even if you use DIB sections, you still have to perform large loops, slowing down the performance. But, by this method, it is possible to eliminate the larger loops, hence increasing the performance manifold. On my PII 233 MHz, drawing a gradient of 640 * 480 took 0.771 (as seen in the screenshot) seconds in the IDE and 0.44 seconds on compiling. New examples include drawing of Hue/Blackness, Hue/Whiteness and Hue/Saturation (Like VB) colour models.

Rate Four Colour Gradient (one on each corner, Updated with more examples)

Download Four Colour Gradient (one on each corner, Updated with more examples)

Download Four Colour Gradient (one on each corner, Updated with more examples) (5 KB)

Four Colour Gradient (one on each corner, Updated with more examples) Comments

No comments have been posted about Four Colour Gradient (one on each corner, Updated with more examples). Why not be the first to post a comment about Four Colour Gradient (one on each corner, Updated with more examples).

Post your comment

Subject:
Message:
0/1000 characters