Hi,

Shouldn't the following piece of code show the complete rectangle?

  dc.setClipRectangle(x, y, w, h)
  dc.drawRectangle(x, y, w, h)

The bottom and right borders are missing. Is this behaviour correct?

In the same way

  dc.foreground = FXRuby::Black
  dc.drawRectangle(x, y, w, h)
  dc.foreground = FXRuby::Green
  dc.fillRectangle(x+1, y+1, w-2, h-2)

should draw a filled green rectangle with a black border, but does not
unless I modify "w-2" to "w-1" (same for h)!

Are there any reasons for this behaviour?

Regards,

  Michael