nanogui: GRText and the current cursor position.


Previous by date: 6 Aug 2007 18:17:28 +0100 GRText and the current cursor position., David Siebert
Next by date: 6 Aug 2007 18:17:28 +0100 Problem in building Microwindows, animesh
Previous in thread: 6 Aug 2007 18:17:28 +0100 GRText and the current cursor position., David Siebert
Next in thread:

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   |  ####@####.####

Previous by date: 6 Aug 2007 18:17:28 +0100 GRText and the current cursor position., David Siebert
Next by date: 6 Aug 2007 18:17:28 +0100 Problem in building Microwindows, animesh
Previous in thread: 6 Aug 2007 18:17:28 +0100 GRText and the current cursor position., David Siebert
Next in thread:


Powered by ezmlm-browse 0.20.