Re: few question about MathML

> 
> dear sir/madam,
> 
> I have a few things that I don't understand.
> 
> 1. Why function AbsBoxesCreate and BoxCreate are
> called before and after the document tree is generated
> ? Shouldn't it just be called after the 
> document tree is generated ? What does the first call
> do ? The second call makes the abstract box from the
> document tree, doesn't it ? Please correct me if I am
> wrong.

The first time an empty document is generated. Thot generates
automatically an empty document to let you display a window.
Window information (menus, position, size, etc.) depends on 
the document type and the displayed, view.
The second call displays the actual parsed contents.

> 2. What does the function ChangeConcreteImage do ?
>    The comment is in French and I can't understand it.

This function generates the future displayed image in terms of
boxes. Abstract boxes give presentation contraints and concrete
boxes give the screen position, pixel sizes, etc.
To see that I suggest you to compile amaya with -DAMAYA_DEBUG.
Then you'll click on Help>About Amaya, in your AmayaHome directory
you'll find a file view.debug that describes abstract boxes and
boxes.debu that describes concrete boxes.

> 3. I assume the function DisplayBox is used to display
>    the equation. I remember somebody said that that
> function has some relation ship with presentation
> schema and structure schema, but I can't find the
> implementation in the program. Can someone give me a
> more detail explanation and show which part of the
> program that implements it ?

DisplayBox translates a concrete box into Win32, or X-Window, or
GTK, or Postscript primitives.

Received on Thursday, 12 September 2002 04:16:20 UTC