summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 790d6e5)
raw | patch | inline | side by side (parent: 790d6e5)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 9 Jul 2006 17:12:52 +0000 (17:12 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 9 Jul 2006 17:12:52 +0000 (17:12 +0000) |
src/display/nr-filter.cpp | patch | blob | history |
index 5ec39424675a584e836a8fe851a0a0179ca7d56b..026aa4ee00ece0243af2ee8286b6ddedfa0fbee2 100644 (file)
}
} else if (_filter_units == SP_FILTER_UNITS_USERSPACEONUSE) {
/* TODO: make sure bbox and fe region are in same coordinate system */
- bbox.x0 = (NR::ICoord) _region_x.computed;
- bbox.x1 = bbox.x0 + (NR::ICoord) _region_width.computed;
- bbox.y0 = (NR::ICoord) _region_y.computed;
- bbox.y1 = bbox.y0 + (NR::ICoord) _region_height.computed;
+ bbox.x0 = (ICoord) _region_x.computed;
+ bbox.x1 = bbox.x0 + (ICoord) _region_width.computed;
+ bbox.y0 = (ICoord) _region_y.computed;
+ bbox.y1 = bbox.y0 + (ICoord) _region_height.computed;
} else {
g_warning("Error in NR::Filter::bbox_enlarge: unrecognized value of _filter_units");
}