It is currently Fri May 24, 2013 5:11 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [4.51] Circle drawing glitch [Ubuntu 10.10]
PostPosted: Thu Mar 24, 2011 12:45 am 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 932
Location: New York
I noticed that the Circle() function (or at least filled circles) draws incorrectly when it touches the edge of the screen.

Example code:
Code:
InitSprite()
If OpenScreen(640, 480, 16, "")
  ClearScreen($000000)
  If StartDrawing(ScreenOutput())
 
    For x = 1 To 10
      Circle(x * 50, 240 - x * 30, 14, $00FF00)
    Next x
   
    StopDrawing()
  EndIf
  FlipBuffers()
  Delay(3000)
  CloseScreen()
EndIf


This is my result on PB 4.51, Ubuntu 10.10, default subsystem:
Image

Sorry for the big image!


Top
 Profile  
 
 Post subject: Re: [4.51] Circle drawing glitch [Ubuntu 10.10]
PostPosted: Thu Mar 24, 2011 10:27 am 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 21, 2005 2:38 pm
Posts: 814
Location: Germany
Confirmed for:
- Ubuntu 10.04 LTS x86 with Gnome 2.30.0 and GTK 2.20.0
- andLinux/Kubuntu 9.04 x86 with KDE 4.2.2 and GTK 2.16.1
- Suse Linux Enterprise Server 10 SP 3 x64 with KDE 3.5.1 and GTK 2.8.11


Top
 Profile  
 
 Post subject: Re: [4.51] Circle drawing glitch [Ubuntu 10.10]
PostPosted: Thu Mar 24, 2011 11:52 am 
Offline
Addict
Addict

Joined: Fri Oct 23, 2009 2:33 am
Posts: 2863
Location: Wales, UK
Also confirmed OK on Win XP x86 platform.

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
 
 Post subject: Re: [4.51] Circle drawing glitch [Ubuntu 10.10]
PostPosted: Sun May 13, 2012 10:26 am 
Offline
Enthusiast
Enthusiast

Joined: Tue May 20, 2008 2:12 am
Posts: 642
Location: Cologne, Germany
Hi,

tried you example on Mac OS X Lion 10.7.4. - had to set the Screen like this: If OpenScreen(1366,768,32, "")
This is the result:

Image

Actually, also the example from Manual seems broken for fullscreen-access!?

_________________
Regards,
JamiroKwai

---
5.10-x64/x86 - MacBook Pro, Mountain Lion
My Blog (German): http://www.quadworks.de


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye