Comment 5 for bug 168346

Revision history for this message
Polybe (polybe) wrote : Re: bitmap oversampling

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.