Login | Register
My pages Projects Community openCollabNet

Discussions > dev > [gef-dev] Zoom patch and new layers

gef
Discussion topic

Back to topic list

[gef-dev] Zoom patch and new layers

Reply

Author rogerio <rogerio at inf dot furb dot br>
Full name rogerio <rogerio at inf dot furb dot br>
Date 2004-07-05 07:59:38 PDT
Message I have made some modifications in the layers.
I have created three new layers:
- LayerBackground: draws the background, can be extended to draw a
background image.
- LayerSelection: draw the selection behavior
- LayerLexical: draw the modes behavior.
 
This layers are defined in Editor as follows:
 
|-----------------| |-----------| |-----------------| |-----------------|
|-----------------| |--------------|
| LayerBackground |--| LayerGrid |--| LayerPageBreaks |-| LayerDiagram
|-| LayerSelection |-| LayerLexical |
|-----------------| |-----------| |-----------------| |-----------------|
|-----------------| |--------------|
 
This made possible to simplify the method paint of the Editor transferring
more reponsabilidades to the Layers.
Moreover I modified LayerGrid and LayerPageBreaks so that the width of
the grid lines and the page break lines are not scaled together with
objects.
 
The scaling of the figures now happens in the layers depending on the
function of the layer.
 
These alterations had become zooming faster also in a diagram with many
figures.
 
This approach to is based to that described in paper: "Using the Multi-Layer
Model for
Building Interactive Graphical Applications" Fekete, et al, on which gef is
based.
 
 
I hope to have contributed.
 
Rogério Sorroche.
Attachments

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

[gef-dev] Zoom patch and new layers rogerio <rogerio at inf dot furb dot br> rogerio <rogerio at inf dot furb dot br> 2004-07-05 07:59:38 PDT
     Re: [gef-dev] Zoom patch and new layers Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-07-05 12:49:40 PDT
         [gef-dev] I need help raphaelvilela raphael vilela 2004-07-13 16:19:34 PDT
             Re: [gef-dev] I need help Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-07-13 16:52:27 PDT
Messages per page: