🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5924

ClipRect's, Intuition & User code..

#5924
From: Brian J Syme IE88
Date: Wed, 17 Oct 1990 10:03
28 lines
1902 bytes
Given the number of file requesters out there, I'm sure someone must have
come across this before.. RastPort's have a clipping rectangle facility
used (amongst other things) to implement overlapping windows. Is it possible
to 'and' in an additional clipping rectangle without disturbing Intuition's
use of them (for gadgets, etc.) in a manner similar to Begin/EndUpdate()
(or whatever it's called.)

I ask because I'm writing a file-requester type utility and I'd like to
be able to use proportional fonts in it, using a straightforward
Text(rp,string,strlen(string)); rather than working out the number of
characters of each string that will completely fit, or any other
indirect method.

I assume the answer to my question is "no, you can't" - if not is there
any other good way of doing this that someone would like to tell me!

...oh, and what's been done in 2.0 to support variable font's, colors, etc.
in string gadgets? Anything? Is it compatible with 1.3? Hmm?

Sorry if all this has been brought up before.

-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> Brian Syme            <> Why make things difficult, when with just a     <>
<> bsyme@cs.strath.ac.uk <> little more effort you could make them          <>
<>                       <> impossible.                                     <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Technical Details
Message-ID: <4863@baird.cs.strath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!strath-cs!bsyme

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!strath-cs!bsyme
From: bsyme@cs.strath.ac.uk (Brian J Syme IE88)
Newsgroups: comp.sys.amiga.tech
Subject: ClipRect's, Intuition & User code..
Summary: Can I do this without bugging intuition...
Message-ID: <4863@baird.cs.strath.ac.uk>
Date: 17 Oct 90 10:03:20 GMT
Distribution: comp.sys.amiga.tech
Organization: Comp. Sci. Dept., Strathclyde Univ., Scotland.
Lines: 28