Re: Using the FTC as an editor, then drawing rendered text
- From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Mon, 12 Jan 2009 13:01:08 -0600
Ryan Dary wrote:
> Unfortunately, I must have a misunderstanding about this, because it
> doesn't work. Can you tell me where I went wrong? I saw your step
> about "getDisplay", but it looks like that returns a Graphics object,
> not a picture, so I'm not sure how I could use that in this case.
>
> I'm sure you'll find the holes in my thinking.
My bad. getDisplay returns a graphics object so you can draw into
it. What you want is the picture so that you can draw it into your
target display. So add the following function to the FormattedText
class and use this to get the picture of the display.
Function getDisplayPicture() As Picture
#if not DebugBuild
#pragma BoundsChecking FTC_BOUNDSCHECKING
#pragma NilObjectChecking FTC_NILOBJECTCHECKING
#pragma StackOverflowChecking FTC_STACKOVERFLOWCHECKING
#endif
' Return the display picture.
return display
End Function
I will put this in the next beta.
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:
- » Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Peter Karlsson
- » Re: Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Peter Karlsson
- » Re: Using the FTC as an editor, then drawing rendered text - Brendan Murphy
- » Re: Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Brendan Murphy
- » Re: Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Brendan Murphy
- » Re: Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Brendan Murphy
- » Re: Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Ryan Dary
- » Re: Using the FTC as an editor, then drawing rendered text - Brendan Murphy