Hi, I have 16x16 texture I am loading using Gtkmm Image. Surprsingly, the rendered image pixel size is 14X14, and some unwanted distortion occurs. Following is my code, am I doing something wrong?
int main(int argc, char* argv[]) {
Gtk::Main kit(argc, argv);
Gtk::Window window;
Gtk::Box vbox(Gtk::ORIENTATION_VERTICAL);
window.add(vbox);
Gtk::Image image;
image.set("texture.jpg");
vbox.add(image);
window.show_all();
Gtk::Main::run(window);
return EXIT_SUCCESS;
}