Class: Wx::DC
- Inherits:
-
Object
- Object
- Wx::DC
- Defined in:
- lib/mswin/workarounds.rb
Instance Method Summary collapse
Instance Method Details
#draw_bitmap(bitmap, x, y, draw_transp) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/mswin/workarounds.rb', line 4 def draw_bitmap(bitmap, x, y, draw_transp) m = MemoryDC.new m.select_object(bitmap) self.blit(x, y, bitmap.width, bitmap.height, m, 0, 0, self.logical_function, draw_transp) m.select_object(Wx::NULL_BITMAP) end |