equal
deleted
inserted
replaced
144 } |
144 } |
145 #endif |
145 #endif |
146 |
146 |
147 // hack, so we don't have to make QRegion::clipRectangles() public or include |
147 // hack, so we don't have to make QRegion::clipRectangles() public or include |
148 // X11 headers in qregion.h |
148 // X11 headers in qregion.h |
149 Q_AUTOTEST_EXPORT void *qt_getClipRects(const QRegion &r, int &num) |
149 Q_GUI_EXPORT void *qt_getClipRects(const QRegion &r, int &num) |
150 { |
150 { |
151 return r.clipRectangles(num); |
151 return r.clipRectangles(num); |
152 } |
152 } |
153 |
153 |
154 static inline void x11SetClipRegion(Display *dpy, GC gc, GC gc2, |
154 static inline void x11SetClipRegion(Display *dpy, GC gc, GC gc2, |