print.cpp revision e5183c603c61d36c2c145e99693cbc62463122f3
#define __SP_PRINT_C__
/** \file
* Frontend to printing
*/
/*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
* Kees Cook <kees@outflux.net>
*
* This code is in public domain
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "inkscape.h"
#include "desktop.h"
#include "sp-item.h"
#include "print.h"
/* Identity typedef */
{
}
unsigned int
{
}
unsigned int
{
}
unsigned int
{
}
unsigned int
sp_print_fill(SPPrintContext *ctx, const_NRBPath const *bpath, NR::Matrix const *ctm, SPStyle const *style,
{
}
unsigned int
sp_print_stroke(SPPrintContext *ctx, const_NRBPath const *bpath, NR::Matrix const *ctm, SPStyle const *style,
{
}
unsigned int
{
}
{
}
#include "display/nr-arena.h"
#include "display/nr-arena-item.h"
/* UI */
void
{
unsigned int ret;
if (ret) {
/* fixme: This has to go into module constructor somehow */
/* Create new arena */
/* Print document */
/* Release arena */
}
return;
}
void
{
// Build arena
// Run print dialog
Gtk::PrintOperationResult res = printop.run(Gtk::PRINT_OPERATION_ACTION_PRINT_DIALOG, parentWindow);
(void)res; // TODO handle this
// Release arena
}
void
{
unsigned int ret;
/* Start */
/* fixme: This has to go into module constructor somehow */
/* Create new arena */
/* Print document */
/* Release arena */
/* end */
return;
}
/*
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 :