File: pps-document-print.c

package info (click to toggle)
papers 49.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 21,044 kB
  • sloc: ansic: 37,728; sh: 197; xml: 127; makefile: 113
file content (28 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// SPDX-License-Identifier: GPL-2.0-or-later
/* pps-document-print.c
 *  this file is part of papers, a gnome document_links viewer
 *
 * Copyright (C) 2009 Carlos Garcia Campos  <carlosgc@gnome.org>
 */

#include "config.h"

#include "pps-document-print.h"
#include "pps-document.h"

G_DEFINE_INTERFACE (PpsDocumentPrint, pps_document_print, 0)

static void
pps_document_print_default_init (PpsDocumentPrintInterface *klass)
{
}

void
pps_document_print_print_page (PpsDocumentPrint *document_print,
                               PpsPage *page,
                               cairo_t *cr)
{
	PpsDocumentPrintInterface *iface = PPS_DOCUMENT_PRINT_GET_IFACE (document_print);

	iface->print_page (document_print, page, cr);
}