Sha256: a2ec4725434b3474445f70ee345144ff0821434fdfcc02646bd17ddb82a839a8
Contents?: true
Size: 906 Bytes
Versions: 8
Compression:
Stored size: 906 Bytes
Contents
# :stopdoc: # Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # :startdoc: module Wx::PRT class PrinterDC < Wx::DC # Executes the given block providing a temporary (printer) dc as # it's single argument. # @param [Wx::PRT::PrintData] print_data print_data defining the print settings # @yieldparam [Wx::PrinterDC] dc the PrinterDC instance to paint on # @return [::Object] result of the block def self.draw_on(print_data) end end class PostScriptDC < Wx::DC # Executes the given block providing a temporary (postscript) dc as # it's single argument. # @param [Wx::PRT::PrintData] print_data print_data defining the print settings # @yieldparam [Wx::PostScriptDC] dc the PostScriptDC instance to paint on # @return [::Object] result of the block def self.draw_on(print_data) end end end
Version data entries
8 entries across 8 versions & 1 rubygems