W3C home > Mailing lists > Public > www-amaya-dev@w3.org > September 2002

Re: few question about MathML

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Thu, 12 Sep 2002 10:16:15 +0200
To: Chen Fe Pong <thefeping@yahoo.com>
Cc: www-amaya-dev@w3.org, Irene.Vatton@inrialpes.fr
Message-Id: <20020912081615.39903C@maiaina.inrialpes.fr>

> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:48 UTC