Logo Search packages:      
Sourcecode: inkscape version File versions

NR::IRect SPCanvas::getViewboxIntegers (  )  const

Return canvas window coordinates as IRect (a rectangle defined by integers).

Definition at line 2321 of file sp-canvas.cpp.

{
    GtkWidget const *w = GTK_WIDGET(this);
    return NR::IRect(NR::IPoint(x0, y0),
                    NR::IPoint(x0 + w->allocation.width, y0 + w->allocation.height));
}


Generated by  Doxygen 1.6.0   Back to index