/* * Are we using the buggy imlib_image_draw_pixel() work-around? * * Versions of Imlib2 up to and including 1.0.5 had a broken * imlib_image_draw_pixel() call. Imlib2-Ruby has a work-around, which * simulates drawing a pixel with a 1x1 rectangle. This method allows * you to check whether the work-around behavior is enabled. * * Examples: * puts 'work-around is enabled' if Imlib2::Image::draw_pixel_workaround? * puts 'work-around is enabled' if Imlib2::Image::bypass_draw_pixel? * */ VALUE image_dp_workaround(VALUE klass) {