It is currently Sat Apr 21, 2018 11:42 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [Done] [5.11] DrawRotatedText() does not work
PostPosted: Wed Mar 27, 2013 2:51 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jan 31, 2006 9:43 am
Posts: 475
Location: France
DrawRotatedText() does not work :

Code:
OpenWindow(0, 100, 100, 300, 200, "Test")
CanvasGadget(0, 10, 10, 200, 100, #PB_Canvas_Border)
StartDrawing(CanvasOutput(0))
DrawRotatedText(0, OutputHeight(), "Test", 90, 0)
StopDrawing()

Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow

_________________
Niffo


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.11] DrawRotatedText() does not work
PostPosted: Mon Jul 15, 2013 4:00 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 2916
Location: Planet Earth
DrawRotatedText() works with images. Example: DrawTheImage.

It just does not work with CanvasOutput. PB 5.20 beta 5.


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.11] DrawRotatedText() does not work
PostPosted: Fri Oct 18, 2013 6:26 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jan 31, 2006 9:43 am
Posts: 475
Location: France
Ok, works with images but the coordinates are not at all the same as with Windows

_________________
Niffo


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.11] DrawRotatedText() does not work
PostPosted: Sun Nov 03, 2013 3:09 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13252
Location: France
Fixed the canvas output, but that's true, coordinates are wrong compared to Windows.


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.11] DrawRotatedText() does not work
PostPosted: Thu Nov 02, 2017 11:07 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 5:21 pm
Posts: 5760
Location: Germany
Fixed the coordinate problem.

_________________
quidquid Latine dictum sit altum videtur


Top
 Profile  
Reply with quote  
 Post subject: Re: [Done] [5.11] DrawRotatedText() does not work
PostPosted: Fri Nov 03, 2017 6:50 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jan 31, 2006 9:43 am
Posts: 475
Location: France
Nice news, thank you very much Fred and Freak. I will be able to remove all my hacks in my code.

_________________
Niffo


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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