The command of Line() or LineXY() in Purebasic is good. But where can i do pixel or styles for this line?
I will make big lines (1,2.. Pixel) etc. for Vector Corel or CAD.
@Fred: It is very good when you can make commands Defline(style,pix) in
purebasic 2DDraw-Library, please.
Thanks all here, and sorry for my little english.

greathing Falko

____________________________________________________________________________
In GFA-basic i can do that you can see here:

And here my GFA-source:
Code: Select all
OpenW Top 1, 100, 100, 200, 300
AutoRedraw = 1
DefLine PS_SOLID, 15
Line 10, 10, 100, 100
DefLine PS_SOLID, 3
Color RGB(255, 0, 0)
Line 100, 100, 100, 200
DefLine PS_SOLID, 10
Color RGB(0, 255, 0)
Line 100, 200, 10, 100
Color RGB(255, 0, 100)
DefLine PS_DASH, 1
Line 10, 230, 150, 230
DefLine PS_DASHDOTDOT, 1
Line 10, 240, 150, 240
DefLine PS_DOT, 1
Line 10, 250, 150, 250