I think that’s what clip are used for but I can’t find any example to do this.
I need to:
- Limit the region by setting a new clipmask (altering the GC)
- Draw
- Set the GC back to its previous state
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it by using
XSetClipRectangles()referenced here andXSetClipMask()referenced hereSo:
For further information type
man functionNamein your terminal.