vendor/vendor_gems/rdp-win32screenshot-0.0.9/lib/win32/screenshot.rb
# captures area of the visible view of the screen
# where *x1* and *y1* are 0 in the upper left corner and
# *x2* specifies the width and *y2* the height of the area to be captured
#
# to make screenshot of the real desktop, all
# windows must be minimized before


to make screenshot of the real desktop, all
windows must be minimized before
to make screenshot of the real desktop all windows must be minimized before
def desktop_area(x1, y1, x2, y2, &proc)
        hwnd = BitmapMaker.desktop_window
        validate_coordinates(hwnd, x1, y1, x2, y2)
        BitmapMaker.capture_area(hwnd, x1, y1, x2, y2, &proc)
      end
def desktop_area ( x1 , y1 , x2 , y2 , & proc ) hwnd = BitmapMaker . desktop_window validate_coordinates ( hwnd , x1 , y1 , x2 , y2 ) BitmapMaker . capture_area ( hwnd , x1 , y1 , x2 , y2 , & proc ) end
captures area of the visible view of the screen
where *x1* and *y1* are 0 in the upper left corner and
x2* specifies the width and *y2* the height of the area to be captured
captures area of the visible view of the screen where * x1 * and * y1 * are 0 in the upper left corner and x2 * specifies the width and * y2 * the height of the area to be captured
x1
y1
x2
y2
proc