I would like to be able to limit drawing on a canvas to a particular region using clipping functions. I know it can be done in Windows with SelectClipRgn. However, I'm wondering if this method is cross-platform. I'm working on a component and would love to be able to use it in Linux as well as windows.
I was looking at the source for the TVirtualTreeView from the Lazarus CCR. It appears to be using the SelectClipRgn function. And the wiki page for this component claims it is compatible with Linus (haven't tested myself).
So can I assume that clipping is cross-platform?
Thanks,
JBreits