klaus Expert Licensed User Longtime User Aug 26, 2008 #1 Hi Micheal (ceasar) I opend a new thread about your question on how to do hatching in post #10 here. http://www.b4x.com/forum/questions-help-needed/2845-capture-basic-drawings.html Perhaps there are other people interested in, and it would be easier to find it. I was googeling a bit and found this, An Algorithm -- Hatching Polygons hopefully it could attenuate a bit your headache. I haven't tried it yet. It looks similar to a fill algorythm. Best regards.
Hi Micheal (ceasar) I opend a new thread about your question on how to do hatching in post #10 here. http://www.b4x.com/forum/questions-help-needed/2845-capture-basic-drawings.html Perhaps there are other people interested in, and it would be easier to find it. I was googeling a bit and found this, An Algorithm -- Hatching Polygons hopefully it could attenuate a bit your headache. I haven't tried it yet. It looks similar to a fill algorythm. Best regards.
klaus Expert Licensed User Longtime User Aug 26, 2008 #2 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.
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 Aug 26, 2008 #3 :sign0006: badkarma said: Turbo Pascal Click to expand... Now that takes me back ... my old TP6 code Click to expand... 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.
:sign0006: badkarma said: Turbo Pascal Click to expand... Now that takes me back ... my old TP6 code Click to expand... 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.