Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Segmentation fault with FXImage.rotate

#32

FXImage.rotate results in a segmentation fault if the rotation is used for other than 0, 90, 180 or 270 degrees. The Fox toolkit only supports these degrees for rotating FXImages, but the documentation of FXRuby doesn't state this clear and the warning from Fox isn't passed to FXRuby.

img = FXImage.new(app, nil, IMAGE_OWNED | IMAGE_KEEP, 20, 20)
img.setPixel(5, 5, FXColor::Yellow)
img.create
dc.drawImage(img, 50, 50)
img.rotate(45) # <- segmentation fault
dc.drawImage(img, 80, 80)

Reported by lyle (at lylejohnson) · November 11th, 2009 @ 10:42 PM

State: new
Milestone: none
Assigned to: lyle (at lylejohnson) lyle (at lylejohnson)

Activity

  1. Lars Kanis
    Lars Kanis
    • Milestone order changed from 0 to 0

    This is solved in 1.6.22.

    February 16th, 2012 @ 07:30 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.