Sha256: 8822d74d76c93a9558591c1202f0b03e59a9b5e467d88fbc8268612e819b14a9
Contents?: true
Size: 1 KB
Versions: 4
Compression:
Stored size: 1 KB
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
4 entries across 4 versions & 1 rubygems