On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what information is
stored inside the BufferView.offset_ref_ variable.
At a first glance, it would seem that anchor_ref_
stores the paragraph offset that is displayed from
the WorkArea top
On Sun, Sep 16, 2007 at 09:00:50AM +0300, Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what information is
stored inside the BufferView.offset_ref_ variable.
At a first glance, it would seem that anchor_ref_
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what information is
stored inside the BufferView.offset_ref_ variable.
At a first glance, it would seem that anchor_ref_
stores the paragraph offset that is displayed from
On Sun, Sep 16, 2007 at 10:41:21AM +0200, Abdelrazak Younes wrote:
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what information is
stored inside the BufferView.offset_ref_ variable.
At a first glance, it would
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 10:41:21AM +0200, Abdelrazak Younes wrote:
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what information is
stored inside the BufferView.offset_ref_ variable.
At a first
On Sun, Sep 16, 2007 at 11:35:09AM +0200, Abdelrazak Younes wrote:
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 10:41:21AM +0200, Abdelrazak Younes wrote:
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what
And, what about ParagraphMetrics.position_, ascent
and discent ?
Ok, they're y coords, they represent the paragraph vertical
dimension and position, but I couldn't really figure out what
are they relative to, and why I always see in the code
*) position()-ascent()
*) position()+descent()
Thanx
On Sun, Sep 16, 2007 at 02:42:11PM +0200, Tommaso Cucinotta wrote:
And, what about ParagraphMetrics.position_, ascent
and discent ?
Ok, they're y coords, they represent the paragraph vertical
dimension and position, but I couldn't really figure out what
are they relative to, and why I
On Sun, Sep 16, 2007 at 02:53:56PM +0200, Andre Poenitz wrote:
On Sun, Sep 16, 2007 at 02:42:11PM +0200, Tommaso Cucinotta wrote:
And, what about ParagraphMetrics.position_, ascent
and discent ?
Ok, they're y coords, they represent the paragraph vertical
dimension and position, but I
Tommaso Cucinotta wrote:
And, what about ParagraphMetrics.position_, ascent
and discent ?
Ok, they're y coords, they represent the paragraph vertical
dimension and position, but I couldn't really figure out what
are they relative to,
All inset and paragraph coords are absolute WRT the screen.
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 11:35:09AM +0200, Abdelrazak Younes wrote:
Moreover, what var decides how the gray text background
is cut at the end of the doc ?
Yes, that is tricky. It's years ago that I looked at this :-(
I suspect it is in GuiWorkArea::setScrollbarParams():
Hope this helps. Feel free to synthesize all these information and write
some documentation ;-)
btw i'm trying to catch such threads and put them into
http://wiki.lyx.org/Devel/Diagrams .
pavel
Pavel Sanda wrote:
Hope this helps. Feel free to synthesize all these information and write
some documentation ;-)
btw i'm trying to catch such threads and put them into
http://wiki.lyx.org/Devel/Diagrams .
Very good initiative. Proper doxygen documentation should also go in the
header...
Pavel Sanda ha scritto:
btw i'm trying to catch such threads and put them into
http://wiki.lyx.org/Devel/Diagrams .
Great. Also, the (reference point of the) return
value of buffer_view::coordOffset() and buffer_view::getPos(),
and the role of BufferView.wh_ would complete the
picture.
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
> Hi,
>
> I couldn't really understand what information is
> stored inside the BufferView.offset_ref_ variable.
> At a first glance, it would seem that anchor_ref_
> stores the "paragraph offset" that is displayed from
> the
On Sun, Sep 16, 2007 at 09:00:50AM +0300, Martin Vermeer wrote:
> On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
> > Hi,
> >
> > I couldn't really understand what information is
> > stored inside the BufferView.offset_ref_ variable.
> > At a first glance, it would seem that
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what information is
stored inside the BufferView.offset_ref_ variable.
At a first glance, it would seem that anchor_ref_
stores the "paragraph offset" that is displayed
On Sun, Sep 16, 2007 at 10:41:21AM +0200, Abdelrazak Younes wrote:
> Martin Vermeer wrote:
> >On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
> >>Hi,
> >>
> >>I couldn't really understand what information is
> >>stored inside the BufferView.offset_ref_ variable.
> >>At a first
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 10:41:21AM +0200, Abdelrazak Younes wrote:
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
Hi,
I couldn't really understand what information is
stored inside the BufferView.offset_ref_ variable.
At a first
On Sun, Sep 16, 2007 at 11:35:09AM +0200, Abdelrazak Younes wrote:
> Martin Vermeer wrote:
> >On Sun, Sep 16, 2007 at 10:41:21AM +0200, Abdelrazak Younes wrote:
> >>Martin Vermeer wrote:
> >>>On Sun, Sep 16, 2007 at 04:27:04AM +0200, Tommaso Cucinotta wrote:
> Hi,
>
> I couldn't
And, what about ParagraphMetrics.position_, ascent
and discent ?
Ok, they're y coords, they represent the paragraph vertical
dimension and position, but I couldn't really figure out what
are they relative to, and why I always see in the code
*) position()-ascent()
*) position()+descent()
Thanx
On Sun, Sep 16, 2007 at 02:42:11PM +0200, Tommaso Cucinotta wrote:
> And, what about ParagraphMetrics.position_, ascent
> and discent ?
>
> Ok, they're y coords, they represent the paragraph vertical
> dimension and position, but I couldn't really figure out what
> are they relative to, and why I
On Sun, Sep 16, 2007 at 02:53:56PM +0200, Andre Poenitz wrote:
> On Sun, Sep 16, 2007 at 02:42:11PM +0200, Tommaso Cucinotta wrote:
> > And, what about ParagraphMetrics.position_, ascent
> > and discent ?
> >
> > Ok, they're y coords, they represent the paragraph vertical
> > dimension and
Tommaso Cucinotta wrote:
And, what about ParagraphMetrics.position_, ascent
and discent ?
Ok, they're y coords, they represent the paragraph vertical
dimension and position, but I couldn't really figure out what
are they relative to,
All inset and paragraph coords are absolute WRT the screen.
Martin Vermeer wrote:
On Sun, Sep 16, 2007 at 11:35:09AM +0200, Abdelrazak Younes wrote:
Moreover, what var decides how the gray text background
is cut at the end of the doc ?
Yes, that is tricky. It's years ago that I looked at this :-(
I suspect it is in GuiWorkArea::setScrollbarParams():
> Hope this helps. Feel free to synthesize all these information and write
> some documentation ;-)
btw i'm trying to catch such threads and put them into
http://wiki.lyx.org/Devel/Diagrams .
pavel
Pavel Sanda wrote:
Hope this helps. Feel free to synthesize all these information and write
some documentation ;-)
btw i'm trying to catch such threads and put them into
http://wiki.lyx.org/Devel/Diagrams .
Very good initiative. Proper doxygen documentation should also go in the
header...
Pavel Sanda ha scritto:
btw i'm trying to catch such threads and put them into
http://wiki.lyx.org/Devel/Diagrams .
Great. Also, the (reference point of the) return
value of buffer_view::coordOffset() and buffer_view::getPos(),
and the role of BufferView.wh_ would complete the
picture.
28 matches
Mail list logo