Sha256: 59b3959ac3d9ec1acbe24f67947938ccc111f86fc02fc54c7ef60f28a59a3313

Contents?: true

Size: 1.3 KB

Versions: 12

Compression:

Stored size: 1.3 KB

Contents

require 'windows/api'
include Windows

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

         DRIVERVERSION = 0
         TECHNOLOGY    = 2
         HORZSIZE      = 4
         VERTSIZE      = 6
         HORZRES       = 8
         VERTRES       = 10
         BITSPIXEL     = 12
         PLANES        = 14
         NUMBRUSHES    = 16
         NUMPENS       = 18
         NUMMARKERS    = 20
         NUMFONTS      = 22
         NUMCOLORS     = 24
         PDEVICESIZE   = 26
         CURVECAPS     = 28
         LINECAPS      = 30
         POLYGONALCAPS = 32
         TEXTCAPS      = 34
         CLIPCAPS      = 36
         RASTERCAPS    = 38
         ASPECTX       = 40
         ASPECTY       = 42
         ASPECTXY      = 44
      
         API.new('CreateCompatibleDC', 'L', 'L', 'gdi32')
         API.new('DeleteDC', 'L', 'B', 'gdi32')
         API.new('DeleteObject', 'L', 'B', 'gdi32')
         API.new('GetDC', 'L', 'L', 'user32')
         API.new('GetDeviceCaps', 'LI', 'I', 'gdi32')
         API.new('ReleaseDC', 'LL', 'I', 'user32')
         API.new('SelectObject', 'LL', 'L', 'gdi32')
      end
   end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
windows-pr-0.8.0 lib/windows/gdi/device_context.rb
windows-pr-0.8.5 lib/windows/gdi/device_context.rb
windows-pr-0.7.4 lib/windows/gdi/device_context.rb
windows-pr-0.8.2 lib/windows/gdi/device_context.rb
windows-pr-0.7.1 lib/windows/gdi/device_context.rb
windows-pr-0.7.2 lib/windows/gdi/device_context.rb
windows-pr-0.7.3 lib/windows/gdi/device_context.rb
windows-pr-0.8.1 lib/windows/gdi/device_context.rb
windows-pr-0.8.3 lib/windows/gdi/device_context.rb
windows-pr-0.8.4 lib/windows/gdi/device_context.rb
windows-pr-0.8.6 lib/windows/gdi/device_context.rb
windows-pr-0.8.7 lib/windows/gdi/device_context.rb