Sha256: e54917de793b4eaee9d33e5dbfaf6d0cdc31e9dad7db59407a32303eb76bd6b1

Contents?: true

Size: 770 Bytes

Versions: 3

Compression:

Stored size: 770 Bytes

Contents

module Wx

  class SVGFileDC < Wx::DC

    # Executes the given block providing a temporary dc as it's single argument.
    # Initializes a wxSVGFileDC with the given filename, width and height at dpi resolution, and an optional title.
    # The title provides a readable name for the SVG document.
    # @param [String] filename name of file to create
    # @param [Integer] width width for SVG image
    # @param [Integer] height height for SVG image
    # @param [Float] dpi resolution for SVG image
    # @param [String] title readable name for the SVG document
    # @yieldparam [Wx::SVGFileDC] dc the SVGFileDC instance to paint on
    # @return [Object] result of the block
    def self.draw_on(filename, width=320, height=240, dpi=72, title='') 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/svg_file_dc.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/doc/svg_file_dc.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/doc/svg_file_dc.rb