Drawing a line with Point

Just starting out? Need help? Post your questions and find answers here.
Nubcake
Enthusiast
Enthusiast
Posts: 195
Joined: Thu Feb 03, 2011 7:44 pm

Drawing a line with Point

Post by Nubcake »

First of all it's not really what It seems , yes I know there is a LineXY function already but I really need to know how to draw a from a point(x1,y1) to (x2,y2) using Poiint.
Does anyone know how to do this?

Thanks
Nubcake
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3942
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Drawing a line with Point

Post by wilbert »

If you do a forum search for Bresenham you will probably find what you need.
Windows (x64)
Raspberry Pi OS (Arm64)
Nubcake
Enthusiast
Enthusiast
Posts: 195
Joined: Thu Feb 03, 2011 7:44 pm

Re: Drawing a line with Point

Post by Nubcake »

wilbert wrote:If you do a forum search for Bresenham you will probably find what you need.
Thanks wilbert I found what I was looking for.
Post Reply