|Re: Is it possible to do zooming in a separate thread? [message #232144 is a reply to message #231182]
||Sun, 25 March 2007 12:58
| Steinar Bang
Registered: July 2009
>>>>> "Pratik Shah" <email@example.com>:|
> You need to figure out what's taking up so much time. Zooming is pretty
> much all UI stuff (painting), so it can't be moved to a separate thread.
> How big is your diagram? You're not animating the zoom, are you?
Not intentionally. I may be, due to cut'n paste stuff I don't
entirely understand, from GEF examples, though...
> Do you have any figures that take a lot of time to paint?
> Are you using advanced graphics?
I'm not sure what's advanced or not. There's the table figure, which:
- extends Figure
- has a verdtical toolbar layout holding a label and a fields figure
- has a border, a background colour and a foreground color and is opaque
(in short: it's a box with a label at the top)
The fields figure is a child of the table figure:
- extends figure
- has a flow layout
- has a border, background and foreground colours and is opaque
The fields themselves are just labels dropped into the fields figure.
> How many figures/editparts are there in your diagram?
For edit parts, the numbers are:
- 916 table edit parts
- 13020 field edit pars (children of tables)
- 542 relationship edit parts
That would make the total number of figures:
916 table figures
916 table label figures
916 fields figures
13020 labels for the fields
15768 figures total
In addition comes 542 relationship figures (which may be handled
Is that a lot?
Powered by FUDForum
. Page generated in 0.01749 seconds