Sha256: c102971fc1cd5701cf612895d85586a56a815ff0b2fd020018abe130e2d8d1b9

Contents?: true

Size: 1.06 KB

Versions: 13

Compression:

Stored size: 1.06 KB

Contents

require 'windows/api'

module Windows
   module GDI
      module Bitmap
         API.auto_namespace = 'Windows::GDI::Bitmap'
         API.auto_constant  = true
         API.auto_method    = true
         API.auto_unicode   = true

         DIB_RGB_COLORS = 0
         DIB_PAL_COLORS = 1

         # Raster operations
         SRCCOPY      = 0x00CC0020
         SRCPAINT     = 0x00EE0086
         SRCAND       = 0x008800C6
         SRCINVERT    = 0x00660046
         SRCERASE     = 0x00440328
         NOTSRCCOPY   = 0x00330008
         NOTSRCERASE  = 0x001100A6
         MERGECOPY    = 0x00C000CA
         MERGEPAINT   = 0x00BB0226
         PATCOPY      = 0x00F00021
         PATPAINT     = 0x00FB0A09
         PATINVERT    = 0x005A0049
         DSTINVERT    = 0x00550009
         BLACKNESS    = 0x00000042
         WHITENESS    = 0x00FF0062
         
         API.new('BitBlt', 'LIIIILIIL', 'B', 'gdi32')
         API.new('CreateCompatibleBitmap', 'LII', 'L', 'gdi32')
         API.new('GetDIBits', 'LLIIPPI', 'I', 'gdi32')
      end
   end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
windows-pr-1.0.0 lib/windows/gdi/bitmap.rb
windows-pr-0.9.8 lib/windows/gdi/bitmap.rb
windows-pr-0.9.9 lib/windows/gdi/bitmap.rb
windows-pr-0.9.5 lib/windows/gdi/bitmap.rb
windows-pr-0.9.3 lib/windows/gdi/bitmap.rb
windows-pr-0.9.6 lib/windows/gdi/bitmap.rb
windows-pr-0.9.7 lib/windows/gdi/bitmap.rb
windows-pr-1.0.2 lib/windows/gdi/bitmap.rb
windows-pr-0.9.0 lib/windows/gdi/bitmap.rb
windows-pr-0.9.1 lib/windows/gdi/bitmap.rb
windows-pr-0.9.2 lib/windows/gdi/bitmap.rb
windows-pr-0.9.4 lib/windows/gdi/bitmap.rb
windows-pr-1.0.1 lib/windows/gdi/bitmap.rb