src/gui/painting/qpaintengine_x11.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   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,