Sha256: 84df80b56f67ea72b146586a39bb3dba4dce1596aa4f0d25248267df27dbd529

Contents?: true

Size: 1.62 KB

Versions: 8

Compression:

Stored size: 1.62 KB

Contents

# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation 
# generator. Do not alter this file.
# :startdoc:


module Wx::PRT

  # A printer device context is specific to MSW and Mac, and allows access to any printer with a Windows or Macintosh driver.
  # See {Wx::DC} for further information on device contexts, and {Wx::DC#get_size} for advice on achieving the correct scaling for the page.
  # === 
  # 
  # Category:  Printing Framework
  # @see Printing Framework Overview
  # @see  Wx::DC 
  # 
  # 
  class PrinterDC < DC
  
    # Constructor.
    # Pass a {Wx::PRT::PrintData} object with information necessary for setting up a suitable printer device context. This is the recommended way to construct a {Wx::PRT::PrinterDC}. Make sure you specify a reference to a {Wx::PRT::PrintData} object, not a pointer - you may not even get a warning if you pass a pointer instead.
    # @param printData [Wx::PrintData] 
    # @return [PrinterDC]
    def initialize(printData) end
    
    # Return the rectangle in device coordinates that corresponds to the full paper area, including the nonprinting regions of the paper.
    # The point (0,0) in device coordinates is the top left corner of the page rectangle, which is the printable area on MSW and Mac. The coordinates of the top left corner of the paper rectangle will therefore have small negative values, while the bottom right coordinates will be somewhat larger than the values returned by {Wx::DC#get_size}.
    # @return [Wx::Rect]
    def get_paper_rect; end
    alias_method :paper_rect, :get_paper_rect
    
  end # PrinterDC
  

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt lib/wx/doc/gen/prt/printer_dc.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/gen/prt/printer_dc.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/gen/prt/printer_dc.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/gen/prt/printer_dc.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/gen/prt/printer_dc.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/gen/prt/printer_dc.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/gen/prt/printer_dc.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/gen/prt/printer_dc.rb