emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel-based display functions


From: Lars Ingebrigtsen
Subject: Re: Pixel-based display functions
Date: Sat, 07 Feb 2015 23:42:12 +1100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> But before you proceed with this, this interface function may not
> actually be what's needed at all.  Sorry for the confusion.  What was
> attractive about it was that it would provide cacheable information when
> strings have to be filled in several different ways.

I've got one question about `vertical-motion': Why is it apparently
slower than `window-text-pixel-size'?

shr-vertical-motion                  854         2.0539825089  0.0024051317
shr-pixel-buffer-width               988         1.0268266620  0.0010392982

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?  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

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