drawing.h revision d2e42b9425ccd4c2d4c20c2217455da177035e48
/**
* @file
* SVG drawing for display.
*//*
* Authors:
* Krzysztof KosiĆski <tweenk.pl@gmail.com>
*
* Copyright (C) 2011 Authors
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef SEEN_INKSCAPE_DISPLAY_DRAWING_H
#define SEEN_INKSCAPE_DISPLAY_DRAWING_H
#include <boost/operators.hpp>
#include <boost/utility.hpp>
#include <set>
#include "display/drawing-item.h"
#include "display/rendermode.h"
#include "nr-filter-colormatrix.h"
typedef struct _SPCanvasArena SPCanvasArena;
typedef unsigned int guint32;
: boost::noncopyable
{
struct OutlineColors {
};
~Drawing();
RenderMode renderMode() const;
bool outline() const;
bool renderFilters() const;
int blurQuality() const;
int filterQuality() const;
void setBlurQuality(int q);
void setFilterQuality(int q);
void setExact(bool e);
void update(Geom::IntRect const &area = Geom::IntRect::infinite(), UpdateContext const &ctx = UpdateContext(), unsigned flags = DrawingItem::STATE_ALL, unsigned reset = 0);
void _pickItemsForCaching();
// TODO: remove these temporarily public members
double delta;
bool _exact; // if true then rendering must be exact
int _blur_quality;
int _filter_quality;
double _cache_score_threshold; ///< do not consider objects for caching below this score
// but used for export etc.
};
} // end namespace Inkscape
#endif // !SEEN_INKSCAPE_DRAWING_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:fileencoding=utf-8:textwidth=99 :