Quote Originally Posted by softv View Post
Actually, I made addendums to my original message, in the form of 2 separate 'Edit's (Edit and Edit-2)...
Ok - to answer the "Angle-Param"-question first.

As it currently is, with the procedure-signature:
Sub RenderToFormOrPicBox(Canvas, AngDeg0to90, ColorStops)

... it will always be insufficient, in describing where exactly the Gradient-Vector starts, and where it ends.

Much better would be, to give the start- and end-coords of the Vector instead explicitely like:
Sub RenderToFormOrPicBox(Canvas, X0, Y0, X1, Y1, ColorStops)

... then passed directly into the Cairo.CreateLinearPattern- Constructor-Method.

As for regfree usage of the RC5 or RC6-libs, just use the (top-centered here) Google-Searchbox with the terms:
[RC5 regfree] or [RC5 regfree Olaf]

And you should find appropriate articles and threads pretty fast (same goes for [Cairo Rotate] or [Cairo Gradient], whatever).

HTH

Olaf