svg-view.h revision caf60ce95aac2d44c7cdd41125e9f4ab32ded886
#ifndef __SP_SVG_VIEW_H__
#define __SP_SVG_VIEW_H__
/** \file
* SPSVGView, SPSVGSPViewWidget: Generic SVG view and widget
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Ralf Stephan <ralf@ark.in-berlin.de>
*
* Copyright (C) 2001-2002 Lauris Kaplinski
* Copyright (C) 2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
/**
* Generic SVG view.
*/
unsigned int _dkey;
bool _rescale; ///< whether to rescale automatically
bool _keepaspect;
/// Rescales SPSVGView to given proportions.
/// Rescales SPSVGView and keeps aspect ratio.
virtual void onPositionSet (double, double) {}
virtual void onRedrawRequested() {}
virtual void onDocumentResized (double, double);
};
#endif
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :