cairo-utils.cpp revision e69a0e74868212310d9036c55d66070190d861b6
/*
* Helper functions to use cairo with inkscape
*
* Copyright (C) 2007 bulia byak
* Copyright (C) 2008 Johan Engelen
*
* Released under GNU GPL
*
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdexcept>
#include <cairo.h>
#include "display/cairo-utils.h"
#include "display/inkscape-cairo.h"
#include "color.h"
namespace Inkscape {
CairoGroup::~CairoGroup() {
if (pushed) {
}
}
void CairoGroup::push() {
pushed = true;
}
pushed = true;
}
if (pushed) {
pushed = false;
return ret;
} else {
}
}
if (pushed) {
pushed = false;
return retmm;
} else {
}
}
void CairoGroup::pop_to_source() {
if (pushed) {
pushed = false;
}
}
{}
{
}
{
}
{
}
{
return ret;
}
} // namespace Inkscape
/*
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:encoding=utf-8:textwidth=99 :