Sha256: e5a39266d7aea721f5caefeee936e49a7627bd4f3b23cc3fb7b59da698751e74

Contents?: true

Size: 1001 Bytes

Versions: 18

Compression:

Stored size: 1001 Bytes

Contents

# :stopdoc:
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# :startdoc:


module Wx

  # A generic (non-native) static bitmap control to display bitmap.
  #
  # Unlike the native control implemented by {Wx::StaticBitmap}, which on some platforms is only meant for display of
  # the small icons in the dialog boxes, you may use this implementation to display larger images portably.
  # Notice that for the best results, the size of the control should be the same as the size of the image displayed in
  # it, as happens by default if it's not resized explicitly. Otherwise, behaviour depends on the platform: under MSW,
  # the bitmap is drawn centred inside the control, while elsewhere it is drawn at the origin of the control. You can
  # use {Wx::GenericStaticBitmap#set_scale_mode} to control how the image is scaled inside the control.
  #
  # @see Wx::Bitmap
  # @see Wx::StaticBitmap
  class GenericStaticBitmap < Control

  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
wxruby3-1.5.1 lib/wx/doc/static_bitmap.rb
wxruby3-1.5.0 lib/wx/doc/static_bitmap.rb
wxruby3-1.4.2 lib/wx/doc/static_bitmap.rb
wxruby3-1.4.1 lib/wx/doc/static_bitmap.rb
wxruby3-1.4.0 lib/wx/doc/static_bitmap.rb
wxruby3-1.3.1 lib/wx/doc/static_bitmap.rb
wxruby3-1.3.0 lib/wx/doc/static_bitmap.rb
wxruby3-1.2.1 lib/wx/doc/static_bitmap.rb
wxruby3-1.2.0 lib/wx/doc/static_bitmap.rb
wxruby3-1.1.2 lib/wx/doc/static_bitmap.rb
wxruby3-1.1.1 lib/wx/doc/static_bitmap.rb
wxruby3-1.1.0 lib/wx/doc/static_bitmap.rb
wxruby3-1.0.1 lib/wx/doc/static_bitmap.rb
wxruby3-0.9.8 lib/wx/doc/static_bitmap.rb
wxruby3-0.9.7 lib/wx/doc/static_bitmap.rb
wxruby3-0.9.5 lib/wx/doc/static_bitmap.rb
wxruby3-0.9.4 lib/wx/doc/static_bitmap.rb
wxruby3-0.9.3 lib/wx/doc/static_bitmap.rb