Sha256: 5cce75e0dd373eb1bffca147cb7778c5840b7652fadd4d3769179f57af90d4c1

Contents?: true

Size: 868 Bytes

Versions: 3

Compression:

Stored size: 868 Bytes

Contents

module Wx

  class ClientDC < Wx::DC

    # Executes the given block providing a temporary (client) dc as
    # it's single argument.
    # @param [Wx::Window] win window to draw on
    # @yieldparam [Wx::ClientDC] dc the ClientDC instance to paint on
    # @return [Object] result of the block
    def self.draw_on(win) end

  end

  class PaintDC < Wx::ClientDC

    # Executes the given block providing a temporary dc as
    # it's single argument.
    # Pass a pointer to the window on which you wish to paint.
    # @note In wxRuby this method mostly exists to be consistent with the other DC classes. It is however recommended to use Wx::Window#paint instead.
    # @param [Wx::Window] win window to draw on
    # @yieldparam [Wx::PaintDC] dc the PaintDC instance to paint on
    # @return [Object] result of the block
    def self.draw_on(win) end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 lib/wx/doc/client_dc.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/doc/client_dc.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/doc/client_dc.rb