Originator: NO
In inkscape-preferences.cpp, oversampling dialog initialization:
int const num_items = 5; Glib::ustring labels[num_items] = {_("None"), _("2x2"), _("4x4"), _("8x8"), _("16x16")}; int values[num_items] = {0, 1, 2, 3, 4}; _misc_overs_bitmap.set_size_request(_sb_width); _misc_overs_bitmap.init("options.bitmapoversample", "value", labels, values, num_items, 1); _page_misc.add_line( false, _("Oversample bitmaps:"), _misc_overs_bitmap, "", "", false);
In nr-arena-image.cpp, in nr_arena_image_render function :
nr_arena_image_x_sample = prefs_get_int_attribute ("options.bitmapoversample", "value", 1);
Does nr_arena_image_x_sample get the right value in the line above? Since the oversampling code itself in functions like nr_R8G8B8A8_P_R8G8B8A8_P_R8G8B8A8_N_TRANSFORM (nr-compose-transform.cpp) seems to me to be unchanged since 0.38 version.
Originator: NO
In inkscape- preferences. cpp, oversampling dialog initialization:
int const num_items = 5; overs_bitmap. set_size_ request( _sb_width) ; overs_bitmap. init("options. bitmapoversampl e", "value", labels, misc.add_ line( false, _("Oversample bitmaps:"),
Glib::ustring labels[num_items] = {_("None"), _("2x2"), _("4x4"),
_("8x8"), _("16x16")};
int values[num_items] = {0, 1, 2, 3, 4};
_misc_
_misc_
values, num_items, 1);
_page_
_misc_overs_bitmap, "", "", false);
In nr-arena-image.cpp, in nr_arena_ image_render function :
nr_arena_ image_x_ sample = prefs_get_ int_attribute bitmapoversampl e", "value", 1);
("options.
Does nr_arena_ image_x_ sample get the right value in the line above? Since P_R8G8B8A8_ P_R8G8B8A8_ N_TRANSFORM (nr-compose- transform. cpp)
the oversampling
code itself in functions like
nr_R8G8B8A8_
seems to me to be unchanged since 0.38 version.