C (123/254)

From:Colin Wenzel
Date:01 Apr 00 at 17:33:39
Subject:Re: RastPort values

On 02-Apr-00, andrewmarkwell@ukonline.co.uk wrote:
>
> I read somewhere that SetAPen(), SetBPen() and SetDrMd() are quite
> intensive. I was wondering whether if you used one of these functions
> to set an attribute which is already set, then would the function
> just re-set the value or do nothing? The reason I ask is because I am
> PrintIText() to print a large amount of text and I was wondering
> whether it calls the above functions with the BackPen, FrontPen and
> DrawMode fields each time I call PrintIText() if the desired values
> are already set in the RastPort.
>
> Andrew Markwell

If you are worried about it & want all the text rendered the same
colour & mode, then just call them yourself & use the graphics
libraries Text() instead, it is the fastest of them all...

You only need the strings & not an entire IntuiText structure
for each line...

-------------------------------------
Colin Wenzel. Australia.

EMAIL: mailto:colstv@hotkey.net.au
URL: http://www.hotkey.net.au/~colstv/
ICQ: 17608330
AMIGA: 4000T, 68060/50, 150Mb RAM,
OS 3.5, EGS Spectrum.
---------------------------------------

------------------------------------------------------------------------
DON'T HATE YOUR RATE!
Get a NextCard Visa, in 30 seconds! Get rates as low as
0.0% Intro or 9.9% Fixed APR and no hidden fees.
Apply NOW!
http://click.egroups.com/1/2120/1/_/451227/_/954606935/
------------------------------------------------------------------------