Page 2 of 2
Re: Defline(style,pix) to 2DDrawing-Library
Posted: Wed Sep 15, 2010 7:04 pm
by blueznl
I wonder if this is still on Fred's 'to do' list

Re: Defline(style,pix) to 2DDrawing-Library
Posted: Mon Oct 18, 2010 6:19 pm
by Falko
blueznl wrote:I wonder if this is still on Fred's 'to do' list

it's very still there.
Updatet to PB 4.51 finale :
Code: Select all
;Code from einander
Procedure Lin(x,y,x1,y1,Width,Color)
hDC=GetDC_(WindowID(0))
pen=CreatePen_(#PS_SOLID,Width,color)
hPenOld=SelectObject_(hDC,pen)
MoveToEx_(hDC,x,y,0):LineTo_(hDC,x1,y1)
DeleteObject_(pen)
DeleteObject_(hPenOld)
EndProcedure
_X=GetSystemMetrics_(#SM_CXSCREEN)-8 : _Y=GetSystemMetrics_(#SM_CYSCREEN)-68
OpenWindow(0,0,0,_X,_Y,"",#WS_OVERLAPPEDWINDOW | #WS_MAXIMIZE)
lin(50,200,300,400,15,#Red)
MessageRequester("","DONE",0)
Re: Defline(style,pix) to 2DDrawing-Library
Posted: Wed Oct 31, 2012 9:48 am
by Falko
Hello Fred, this thread is very old. It would be nice if you like box functions for 2ddraw, cirkel lines and line type another parameter for thickness etc. in the new PB version 5.x would install.
Such an extension is a problem for the current PB version?
Translated with Google
Re:
Posted: Mon Feb 17, 2014 6:24 pm
by Falko
Fred wrote:It's a GFA invasion !
Ok for this command, I put it in the TODO list...
Hello Fred,
your todolist is very, very old an nothing is created for new Defline.
sorry my english, but i hope PB becomes a PB_Defline for linex, boxes,circles ....
Re: Defline(style,pix) to 2DDrawing-Library
Posted: Mon Feb 17, 2014 10:20 pm
by IdeasVacuum
GDI + is still supported on Windows. OK, not cross-platform, but if you are coding for Windows, Danilo has a nice lib:
http://www.purebasic.fr/english/viewtop ... 12&t=46987
Essentially, this is what is required cross-platform as native PB.
Re: Defline(style,pix) to 2DDrawing-Library
Posted: Mon Feb 17, 2014 11:14 pm
by Falko
IdeasVacuum wrote:...OK, not cross-platform...
That is, what i mean.
But Fred has this set into his Todo-List.
Okay, i'm using Danilos GDI+ -Lib on Windows for me, but not on Linux.
Sorry my bad english.
Regards, Falko