Re: Using the FTC as an editor, then drawing rendered text

Ryan Dary wrote:
Yes, I will give these steps a try. I assume then, to render the initial graphics for my display I'll need to create a "hidden" FTC window to do the rendering. So that when my app opens a saved document, it can go through and produce the renderings of the text to display.

Yes, that is something you would want to do.

It would be nice if the rendering were de-coupled from the controls so that I could just command the FTDocument to draw into a rect, as well as tell me the dimensions necessary, given a maximum width. Then we could use the rendering facilities to display the text in other places than just the editor.

Unfortunately there is not a way at this time to decouple them at
this time, but don't think I haven't thought about it!

FTC Website: 
http://www.truenorthsoftware.com/FormattedTextControl/FormattedTextControl.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.



Other related posts: