[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pixel-based display functions

From: Eli Zaretskii
Subject: Re: Pixel-based display functions
Date: Sun, 08 Feb 2015 20:37:16 +0200

> From: Lars Ingebrigtsen <address@hidden>
> Date: Sat, 07 Feb 2015 23:42:12 +1100
> Cc: address@hidden, address@hidden
> Would it be possible to get a "go to pixel position X on the current
> line" function that's faster than the current `vertical-motion' function
> if there are some ... assumptions we could make?  Or something?  :-)

I think I can make it faster if we add an additional optional argument
that tells vertical-motion the X coordinate at point.  vertical-motion
invests a lot of cycles in finding a place whose X coordinate is
known, so providing that for its starting point will avoid all that
effort.  Will this help you, i.e. can you provide such a value with
each call?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]