Sha256: 1f3eb145ea50c57144200bfc470d5d3f26fbc7b61242e34931beb8b6641a8b7b
Contents?: true
Size: 1.23 KB
Versions: 8
Compression:
Stored size: 1.23 KB
Contents
# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx # A {Wx::PaintDC} must be constructed if an application wishes to paint on the client area of a window from within an EVT_PAINT() event handler. # This should normally be constructed as a temporary stack object; don't store a {Wx::PaintDC} object. If you have an EVT_PAINT() handler, you must create a {Wx::PaintDC} object within it even if you don't actually use it. # Using {Wx::PaintDC} within your EVT_PAINT() handler is important because it automatically sets the clipping area to the damaged area of the window. Attempts to draw outside this area do not appear. # A {Wx::PaintDC} object is initialized to use the same font and colours as the window it is associated with. # === # # Category: Device Contexts # @see Wx::DC # @see Wx::ClientDC # @see Wx::MemoryDC # @see Wx::WindowDC # @see Wx::ScreenDC # # class PaintDC < ClientDC # Constructor. # Pass a pointer to the window on which you wish to paint. # @param window [Wx::Window] # @return [PaintDC] def initialize(window) end end # PaintDC end
Version data entries
8 entries across 8 versions & 1 rubygems