/* * Draw a pixel at the specified coordinates. * * Note: 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. To disable this * behavior, see the Imlib2::Image::draw_pixel_workaround= method. * * Examples: * im.draw_pixel 10, 10 # draw using context color * im.draw_pixel 10, 10, Imlib2::Color::BLUE # draw blue pixel * im.draw_pixel [10, 10], Imlib2::Color::RED # draw red pixel * */ static VALUE image_draw_pixel(int argc, VALUE *argv, VALUE self) {