Sha256: 198aaf645d78b1ac1579ccf6279856670730aac704346cefa9d2ed07fc261bd3

Contents?: true

Size: 1.75 KB

Versions: 8

Compression:

Stored size: 1.75 KB

Contents

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


module Wx

  # 
  BUFFER_VIRTUAL_AREA = 1
  
  # 
  BUFFER_CLIENT_AREA = 2
  
  # 
  BUFFER_USES_SHARED_BUFFER = 4
  
  # Check if the window is natively double buffered and will return a {Wx::PaintDC} if it is, a {Wx::BufferedPaintDC} otherwise.
  # It is the caller's responsibility to delete the {Wx::DC} pointer when finished with it.
  # @param window [Wx::Window] 
  # @return [Wx::DC]
  def self.auto_buffered_paint_dc_factory(window) end
  
  # This {Wx::DC} derivative can be used inside of an <code>EVT_PAINT()</code> event handler to achieve double-buffered drawing.
  # Just use this class instead of {Wx::PaintDC} and make sure {Wx::Window#set_background_style} is called with {Wx::BackgroundStyle::BG_STYLE_PAINT} somewhere in the class initialization code, and that's all you have to do to (mostly) avoid flicker.
  # The difference between {Wx::BufferedPaintDC} and this class is that this class won't double-buffer on platforms which have native double-buffering already, avoiding any unnecessary buffering to avoid flicker.
  # {Wx::AutoBufferedPaintDC} is simply a typedef of {Wx::PaintDC} on platforms that have native double-buffering, otherwise, it is a typedef of {Wx::BufferedPaintDC}.
  # === 
  # 
  # Category:  Device Contexts
  # @see Wx::DC
  # @see  Wx::BufferedPaintDC
  # @see  Wx::PaintDC 
  # 
  # 
  class AutoBufferedPaintDC < BufferedPaintDC
  
    # Constructor.
    # Pass a pointer to the window on which you wish to paint.
    # @param window [Wx::Window] 
    # @return [AutoBufferedPaintDC]
    def initialize(window) end
    
  end # AutoBufferedPaintDC
  

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/auto_buffered_paint_dc.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt lib/wx/doc/gen/auto_buffered_paint_dc.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt lib/wx/doc/gen/auto_buffered_paint_dc.rb
wxruby3-0.9.0.pre.beta.10-x64-mingw-ucrt lib/wx/doc/gen/auto_buffered_paint_dc.rb
wxruby3-0.9.0.pre.beta.9-x64-mingw-ucrt lib/wx/doc/gen/auto_buffered_paint_dc.rb
wxruby3-0.9.0.pre.beta.8-x64-mingw-ucrt lib/wx/doc/gen/auto_buffered_paint_dc.rb
wxruby3-0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2 lib/wx/doc/gen/auto_buffered_paint_dc.rb
wxruby3-0.9.0.pre.beta.1-x64-mingw-ucrt-3.2 lib/wx/doc/gen/auto_buffered_paint_dc.rb