Hatching algorythm

klaus

Expert
Licensed User
Longtime User

klaus

Expert
Licensed User
Longtime User
Hi badkarma,

I have a fill routine in the IconEditor, the algoryth comes from here
Polygon Fill Teaching Tool

It's not that fast but it works.

Please post your code, there is always something to learn.

I had a look at the hatching algorythm, if the hatching lines are horizontal the algorythm is the same as the fill algorithm on top.

I will try once to adapt the fill algorithm to hatching with non horizontal lines.

Best regards.
 

agraham

Expert
Licensed User
Longtime User
:sign0006:
Turbo Pascal
Now that takes me back ...

my old TP6 code
TP6 old! I still have TP 3 (best Turbo Pascal ever) and it still runs under Vista! Note that Anders Hejlsberg who wrote Turbo Pascal and many other Borland products is now lead architect of C# and the .NET Framework at Microsoft.
 
Top