[fxruby-users] FXImage.getPixel()

Gonzalo Garramuno ggarra at advancedsl.com.ar
Tue Oct 11 16:12:48 EDT 2005


FXImage.getPixel(x, y) is broken.  It segfaults.  (windows)

Happens on both fxruby1.2 and 1.4.

Sample script:


require 'fox14'

include Fox

application = FXApp.new("bug", "gga")
application.create

image = FXImage.new(application, nil, IMAGE_SHMI|IMAGE_SHMP, 512, 512)
image.create

image.getPixel(0,0)  # <------ will segfault

application.run




More information about the fxruby-users mailing list