ClipOutput (X , Y, Width, Height)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

ClipOutput (X , Y, Width, Height)

Post by eesau »

I would like to have a ClipOutput(X , Y, Width, Height) -function to set a clipping area on the current (image)output, so that all drawing happens inside that area only.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: ClipOutput (X , Y, Width, Height)

Post by srod »

I know this is an old request, but it is a good one and I would like to add clipping for drawing to canvas gadgets please. Would be mighty useful. :) There are workarounds, but nothing as quick or efficient as SelectClipRgn_() on Windows etc.

Thanks.
I may look like a mule, but I'm not a complete ass.
Post Reply