🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ClipRect help wanted

#11560
From: Robin Rosenberg, Computer Scienc...
Date: Wed, 22 Feb 1989 14:27
12 lines
963 bytes
A simple question: What is the best way of doing clipping. I.e
I would like to render some text and images into a part of a window. If
the object goes outside the required borders (a rectangle) I want that part
chopped of. I know the ROMS have a InstallClipRect() function but how do
I use it?
Could anyone give me an example of how to do this the right way?

---
Robin Rosenberg,  ]bo Akademi, FINLAND
Address: Finn|, 22340 Geta, ]LAND - FINLAND
     or  Studentbyn 40A3, 20510 ]BO, FINLAND
Translation: ']' is an 'A' with a ring on top, '|' is an 'o' with two dots.
Technical Details
Message-ID: <5379@abo.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!kth!draken!tut!tucos!abo.fi!rosenbergr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!kth!draken!tut!tucos!abo.fi!rosenbergr
From: rosenbergr@abo.fi (Robin Rosenberg, Computer Science, ]bo Akademi)
Newsgroups: comp.sys.amiga.tech
Subject: ClipRect help wanted
Message-ID: <5379@abo.fi>
Date: 22 Feb 89 14:27:08 GMT
Organization: Abo Academy, Finland
Lines: 12