STR #206

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #206

Application:FLTK Library
Status:4 - Pending
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:rotated text drawing
Version:2.0-current
Created By:zaplia.mail
Assigned To:spitzak
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 yuri
22:31 Apr 18, 2005
Rotated.cxx
15k
 
 
#2 yuri
22:31 Apr 18, 2005
Rotated.H
1k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#1 zaplia.mail
22:34 Nov 11, 2003
It would be nice to have ability to draw rotated text and also it will be very nice to apply matrix transformation to text.
At least, drawing of text in 90,180,270 directions should be possible without lot of work.
--
It is not a problem in Win32, but on X it requires some brain.
--
Have You any suggestions, how to make it?
 
 
#2 me.me
09:39 Jun 23, 2004
It not an easy soultion but I produced Rotated text by overloading a widget and using glReadPixels to get an image of the text.  Then rotate the image.  Finally I display the Image in another widget.  
 
#3 shaiay.yahoo
09:05 Nov 10, 2004
but doesn't the widget have to be visible for this to work ?

In order to overcome this shortcoming in fltk I am considering moving all of the text rendering to FTGL which supports arbitrary transforms using OpenGL textures. However, this is not trivial and it's a pity to loose all of fltk's nice text & font andeling routines ...
 
 
#4 yuri
22:38 Apr 18, 2005
as i know there was rotated text function in flwm-1.0 project.
i've post modified files for 1.1.x fltk. some restriction: only 90,180,270,360 on X, it seems not to be stable. sometimes randomly programs crash on this function (may be Xft problems?). on win32 no problems.
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.