Note: This is an archived post that was originally sent to the Hollywood mailing list on 26 Dec 2007 16:48:46 +0100
When working with clipregions one has to keep in mind the absolute positions to draw to. Would it be possible to Select an Clipregion and use it e.g. like SelectBrush()?
And another goodie would be becoming able to get metadata of an existing Clipregion, like size and position via GetAttribute().
Thanks a lot.
[26 Dec 2007] clipregions
- airsoftsoftwair
- Posts: 5833
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[27 Dec 2007] Re: clipregions
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 27 Dec 2007 00:10:16 +0100
And done 

Probably not. But it's easy to do it yourself. Just write a convenience function, e.g.When working with clipregions one has to keep in mind the absolute positions to draw to. Would it be possible to Select an Clipregion and use it e.g. like SelectBrush()?
Code: Select all
Function p_MyDisplayBrush(id, x, y)
DisplayBrush(id, x + CLIPREG_X, y + CLIPREG_Y)
EndFunction
Ok, makes sense. I've just implemented it. Your wish is my commandAnd another goodie would be becoming able to get metadata of an existing Clipregion, like size and position via GetAttribute().