Class: Wx::ScaledDC

Inherits:
DC
  • Object
show all
Defined in:
lib/wx/doc/scaled_dc.rb

Class Method Summary collapse

Class Method Details

.draw_on(target, scale) {|dc| ... } ⇒ ::Object

Creates a Wx::ScaledDC instance for target and scale and passes the instance to the given block to draw on.

Parameters:

  • target (Wx::DC)

    DC to draw on (scaled)

  • scale (Float)

    scale factor

Yield Parameters:

Returns:

  • (::Object)

    result from block



20
# File 'lib/wx/doc/scaled_dc.rb', line 20

def self.draw_on(target, scale) end