I’m using a library written by someone else to handle forms and windows, but it uses GUIClip in several parts of the code. How can I substitute the undocumented GUIClip class with documented functions?
Why? Is the code you have not working? If that’s the case, you should probably contact whoever you got it from for a fixed version
There’s a reasonable chance that the the code you have uses undocumented functions to achieve something that cannot be done using only documented features of the API. In that case, the answer to your question would depend on what problems you’re encountering and/or what compromises you’re willing to make in the way the code works.
Off the top of my head, though, based on that one snippet of code without any other context, the only thing I could suggest would be to look at things like GUI.BeginArea() and other similar GUI functions that establish clipping regions.