#ifndef SEEN_SP_SVG_VIEW_H
#define SEEN_SP_SVG_VIEW_H
/*
* 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
*/
struct SPCanvasGroup;
struct SPCanvasItem;
/**
* Generic SVG view.
*/
unsigned int _dkey;
bool _keepaspect;
double _width;
double _height;
/**
* Constructs new SPSVGView object and returns pointer to it.
*/
/**
* Rescales SPSVGView to given proportions.
*/
/**
* Rescales SPSVGView and keeps aspect ratio.
*/
/**
* Helper function that sets rescale ratio and emits resize event.
*/
/**
* Callback connected with set_document signal.
*/
/**
* Callback connected with document_resized signal.
*/
virtual void onDocumentResized(double, double);
};
#endif // SEEN_SP_SVG_VIEW_H
/*
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 :