Logo Search packages:      
Sourcecode: inkscape version File versions

void NR::Rect::round ( int  places = 0  )  [inline]

Remove some precision from the Rect.

Parameters:
places The number of decimal places left in the end
This function just calls round on the _min and _max points.

Definition at line 143 of file nr-rect.h.

Referenced by sp_export_detect_size().

                                       {
        _min.round(places);
        _max.round(places);
        return;
    }


Generated by  Doxygen 1.6.0   Back to index