+ if (m_brush.GetStyle() != wxTRANSPARENT)
+ {
+ if ((m_brush.GetStyle() == wxSTIPPLE_MASK_OPAQUE) && (m_brush.GetStipple()->GetMask()))
+ {
+ XSetTSOrigin( (Display*) m_display, (GC) m_textGC,
+ m_deviceOriginX % m_brush.GetStipple()->GetWidth(),
+ m_deviceOriginY % m_brush.GetStipple()->GetHeight() );
+
+ XFillArc( (Display*) m_display, (Window) m_window,
+ (GC) m_textGC, xx, yy, ww, hh, 0, 360*64 );
+
+ XSetTSOrigin( (Display*) m_display, (GC) m_textGC, 0, 0 );
+ } else
+ if (IS_15_PIX_HATCH(m_brush.GetStyle()))
+ {
+ XSetTSOrigin( (Display*) m_display, (GC) m_brushGC,
+ m_deviceOriginX % 15, m_deviceOriginY % 15 );
+
+ XFillArc( (Display*) m_display, (Window) m_window,
+ (GC) m_brushGC, xx, yy, ww, hh, 0, 360*64 );
+
+ XSetTSOrigin( (Display*) m_display, (GC) m_brushGC, 0, 0 );
+ } else
+ if (IS_16_PIX_HATCH(m_brush.GetStyle()))
+ {
+ XSetTSOrigin( (Display*) m_display, (GC) m_brushGC,
+ m_deviceOriginX % 16, m_deviceOriginY % 16 );
+
+ XFillArc( (Display*) m_display, (Window) m_window,
+ (GC) m_brushGC, xx, yy, ww, hh, 0, 360*64 );
+
+ XSetTSOrigin( (Display*) m_display, (GC) m_brushGC, 0, 0 );
+ } else
+ if (m_brush.GetStyle() == wxSTIPPLE)
+ {
+ XSetTSOrigin( (Display*) m_display, (GC) m_brushGC,
+ m_deviceOriginX % m_brush.GetStipple()->GetWidth(),
+ m_deviceOriginY % m_brush.GetStipple()->GetHeight() );
+
+ XFillArc( (Display*) m_display, (Window) m_window,
+ (GC) m_brushGC, xx, yy, ww, hh, 0, 360*64 );
+
+ XSetTSOrigin( (Display*) m_display, (GC) m_brushGC, 0, 0 );
+ }
+ else
+ {
+ XFillArc( (Display*) m_display, (Window) m_window,
+ (GC) m_brushGC, xx, yy, ww, hh, 0, 360*64 );
+ }
+ }
+
+ if (m_pen.GetStyle () != wxTRANSPARENT)
+ {
+ XDrawArc( (Display*) m_display, (Window) m_window,
+ (GC) m_penGC, xx, yy, ww, hh, 0, 360*64 );
+ }