Sha256: cb6603fde5f241c67deb26a57bbc67162317f591a0bb09f5d171101d4719ee06
Contents?: true
Size: 934 Bytes
Versions: 7
Compression:
Stored size: 934 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
7 entries across 7 versions & 1 rubygems