AntiAliasing Drawling line

Share your advanced PureBasic knowledge/code with the community.
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

After taking out the Win32 specific stuff, I got the follwowing result with Xubuntu 7.10 running on VirtualBox. (ScreenX set to 800, ScreenY set to 600). I've yet to install the VirtualBox accelleration drivers, so this report is not yet conclusive...

First of all, there are no error messages during the compilation (debugger on).

The values of the three vars per my former post:
  • - 1247703040 (DxMem, yes a 'minus' for this value)
    3200 (DxMul)
    7 (DxPix)
The window remains black, no lines drawn. I've hardcoded the background to RGB(0,0,0) and the line color to RGB(1,1,1).

I also have a Linux box where the OS is not installed on a virtual machine, I'll test that one next...

EDIT: Correction, see two posts lower....
Last edited by dell_jockey on Tue Jan 15, 2008 3:43 pm, edited 1 time in total.
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Post by eesau »

dell_jockey wrote:I've hardcoded the background to RGB(0,0,0) and the line color to RGB(1,1,1)....
RGB(0,0,0) and RGB(1,1,1) are so close to each other that it is impossible to tell them apart (both appear black). Maybe you should try RGB(0,0,0) and RGB(255,255,255)?
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

eesau wrote:
dell_jockey wrote:I've hardcoded the background to RGB(0,0,0) and the line color to RGB(1,1,1)....
RGB(0,0,0) and RGB(1,1,1) are so close to each other that it is impossible to tell them apart (both appear black). Maybe you should try RGB(0,0,0) and RGB(255,255,255)?
Eesau,

you're so right, thank you for pointing this out. I was still thinking GL color values because of some stuff I had done earlier today.

Works like a charm on Xubuntu....
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Post Reply