VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

GradientFill API ??? Thats Simple

JJJJJJJJ  (41 Submissions)   Graphics   Intermediate   Wed 3rd February 2021

I am sure that this is the 'Fastest' routine in VBC to render 'Positioned' - 'Repeated' gradients. The gradients are 'Smoother' than the same implimentation using 'DIB sections', because it uses 'GradientFill' API. The code is so 'Compact' and 'Simple' because it is based on an excellent thought by 'paul_turcksin' to use 'CopyMemory' to bypass color Bytes to TRIVERTEX Structure used in 'GradientFill' API. The code can draw 'Horizontal' and 'Vertical' gradients with any number of 'Repeats'. Hope you enjoy!! and please leave your comments!!!, Jim Jose ;)

Rate GradientFill API ??? Thats Simple (4(4 Vote))

Download GradientFill API ??? Thats Simple

GradientFill API ??? Thats Simple Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters