Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!wugate!wupost!kuhub.cc.ukans.edu!heping From: HEPING@kuhub.cc.ukans.edu Newsgroups: comp.windows.x Subject: X region and its data structure Message-ID: <7133@kuhub.cc.ukans.edu> Date: 31 Jul 89 21:18:55 GMT Organization: University of Kansas Academic Computing Services Lines: 16 Questions: 1. What is the data structure for X region? 2. I can create a rectangle or polygon region. How can I creat an ellipse region? Do I have to find the edge points for the ellipsefirst and then use XPlolygonRegion? 3. Once a region is set, can I get the region pointer? I mean that I don't know the clipregion and I don't care, but I want to set a new clipmask region by intersecting the current clipmask region with a third region. 4. It is possible to create an arbitrary region by creating a bitmap first But when I set this region, the old clipmask region will be destroyed. Is there a way to keep the old region for later use? ( it is similar to 3) Any comments will be welcome and appreciated. Phil