Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
template-paper.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
/*
3
* Paper sizes that can have an orientation.
4
*
5
* Authors:
6
* Martin Owens <doctormo@geek-2.com>
7
*
8
* Copyright (C) 2021 Authors
9
*
10
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
11
*/
12
13
#ifndef EXTENSION_INTERNAL_TEMPLATE_PAPER_H
14
#define EXTENSION_INTERNAL_TEMPLATE_PAPER_H
15
16
#include "
extension/internal/template-base.h
"
17
18
namespace
Inkscape::Extension::Internal
{
19
20
class
TemplatePaper
:
public
TemplateBase
21
{
22
public
:
23
static
void
init
();
24
25
protected
:
26
Geom::Point
get_template_size
(
Inkscape::Extension::Template
*tmod)
const override
;
27
};
28
29
}
// namespace Inkscape::Extension::Internal
30
31
#endif
/* EXTENSION_INTERNAL_TEMPLATE_PAPER_H */
Geom::Point
Two-dimensional point that doubles as a vector.
Definition
point.h:66
Inkscape::Extension::Internal::TemplateBase
Definition
template-base.h:24
Inkscape::Extension::Internal::TemplatePaper
Definition
template-paper.h:21
Inkscape::Extension::Internal::TemplatePaper::get_template_size
Geom::Point get_template_size(Inkscape::Extension::Template *tmod) const override
Return the width and height of the new page with the orientation.
Definition
template-paper.cpp:25
Inkscape::Extension::Internal::TemplatePaper::init
static void init()
Definition
template-paper.cpp:39
Inkscape::Extension::Template
Definition
template.h:97
Inkscape::Extension::Internal
Definition
adaptiveThreshold.cpp:18
template-base.h
src
extension
internal
template-paper.h
Generated on Sun Jul 13 2025 04:02:15 for Inkscape by
1.9.8