Thanks for any help Alex...
I'm actually having issues on the initial draw of the bitmap - so
visual problems.
While the user rotates and scales the field, everything is fine and
dandy. BUT, when the class for handling the bitmap and the text field
itself is first instantiated, the field is not drawn accurately.
The field draws out at the proper scale, but it doesn't respect the
new 'width' that the field should have once type is added to it.
For example, the initial size of the created field is some width X
height. I'm using autosize on the field itself, so when the text is
changed, the new width and height are used to draw the result onto
the screen (new bitmap size to match). This works fine during live
editing, such as changing the text of the field. When the class first
loads though, I get the right size and color font and Bitmap that it
should be, but all that is drawn is up to the height/width of the
field that it was when it was first created.
I looked to see if there was an event for autosize ... to no avail. I
also tried to use resize events, render events, etc. Nothing has
solved the problem.
My initial guess is that it might have to do with the styles that get
set on the field and some type of delay.
Unfortunately, I can't share the code for the classes on the list,
but I'd be more than happy to send along if you're willing to take a
look.
best,
jon
On Sep 22, 2007, at 2:12 PM, Alex Harui wrote:
If chart labels are looking fine to you, then you should be able to
duplicate. What kind of issues are you having? Is it that you’re
trying to get bitmaps before attaching the text widgets to the
display list? Or are you seeing visual problems over certain
backgrounds or angles?