Sha256: 9c0bb5758b70a1a47f55ed6096d17e5e1d07f412607fc1cfd360c50bdef735cb
Contents?: true
Size: 1003 Bytes
Versions: 13
Compression:
Stored size: 1003 Bytes
Contents
# :stopdoc: # Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # :startdoc: module Wx class ClientDC < Wx::DC # Executes the given block providing a temporary (client) dc as # it's single argument. # @param [Wx::Window] win window to draw on # @yieldparam [Wx::ClientDC] dc the ClientDC instance to paint on # @return [::Object] result of the block def self.draw_on(win) end end class PaintDC < Wx::ClientDC # Executes the given block providing a temporary dc as # it's single argument. # Pass a pointer to the window on which you wish to paint. # @note In wxRuby this method mostly exists to be consistent with the other DC classes. It is however recommended to use Wx::Window#paint instead. # @param [Wx::Window] win window to draw on # @yieldparam [Wx::PaintDC] dc the PaintDC instance to paint on # @return [::Object] result of the block def self.draw_on(win) end end end
Version data entries
13 entries across 13 versions & 1 rubygems