Sha256: d822a8ba621431356f50a6f7703a32da3f05d323a55e816c9d609ebbba6b469d

Contents?: true

Size: 984 Bytes

Versions: 6

Compression:

Stored size: 984 Bytes

Contents

# :stopdoc:
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# :startdoc:


module Wx

  class GCDC < Wx::DC

    private :initialize

    # Creates a Wx::GCDC instance for target and
    # passes the instance to the given block to draw on.
    # @overload draw_on(dc)
    #   @param [Wx::WindowDC,Wx::MemoryDC] target DC to draw on
    #   @yieldparam [Wx::GCDC] dc GCDC instance to draw on
    #   @return [Object] result from block
    # @overload draw_on(dc)
    #   @param [Wx::PrinterDC] target DC to draw on
    #   @yieldparam [Wx::GCDC] dc GCDC instance to draw on
    #   @return [Object] result from block
    #   @wxrb_require USE_PRINTING_ARCHITECTURE,WXMSW|WXOSX|USE_GTKPRINT
    # @overload draw_on(gc)
    #   @param [Wx::GraphicsContext] gc GraphicsContext to draw on
    #   @yieldparam [Wx::GCDC] dc GCDC instance to draw on
    #   @return [Object] result from block
    def self.draw_on(arg) end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wxruby3-0.9.8 lib/wx/doc/gc_dc.rb
wxruby3-0.9.7 lib/wx/doc/gc_dc.rb
wxruby3-0.9.5 lib/wx/doc/gc_dc.rb
wxruby3-0.9.4 lib/wx/doc/gc_dc.rb
wxruby3-0.9.3 lib/wx/doc/gc_dc.rb
wxruby3-0.9.2 lib/wx/doc/gc_dc.rb