nanogui: GRText and the current cursor position.
Subject:
Re: GRText and the current cursor position.
From:
"Aaron J. Grier" ####@####.####
Date:
6 Aug 2007 18:17:28 +0100
Message-Id: <20070806171722.GZ22036@mordor.unix.fryenet>
On Sun, Aug 05, 2007 at 06:46:09PM -0400, David Siebert wrote:
> Can you quickly find out where a string that GrText renders ends? I
> could alway do a GrGetGcTextsize but that takes to much time on my
> system. What I want to do is render the string and find out where it
> ends in one fast operation.
cheat, and use a monospace font? (:
better to figure out why GrGetGcTextsize() is taking excessive time.
are you able to profile it?
--
Aaron J. Grier | Frye Electronics, Tigard, OR | ####@####.####