KiCad PCB EDA Suite
Loading...
Searching...
No Matches
easypc_design_settings.h
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
21
22
#ifndef EASYPC_DESIGN_SETTINGS_H
23
#define EASYPC_DESIGN_SETTINGS_H
24
25
#include <
math/box2.h
>
26
#include <
page_info.h
>
27
28
class
TITLE_BLOCK
;
29
30
31
namespace
EASYPC
32
{
33
34
struct
DESIGN_DOCUMENT
;
35
36
41
void
FillTitleBlock
(
const
DESIGN_DOCUMENT
& aDoc, TITLE_BLOCK& aTitleBlock );
42
43
45
constexpr
double
PAGE_MARGIN_MM
= 10.0;
46
47
52
PAGE_INFO
PageForExtents
(
const
BOX2L
& aExtentsNm );
53
54
}
// namespace EASYPC
55
56
#endif
// EASYPC_DESIGN_SETTINGS_H
box2.h
BOX2L
BOX2< VECTOR2L > BOX2L
Definition
box2.h:916
PAGE_INFO
Describe the page size and margins of a paper page on which to eventually print or plot.
Definition
page_info.h:75
TITLE_BLOCK
Hold the information shown in the lower right corner of a plot, printout, or editing view.
Definition
title_block.h:38
EASYPC
Definition
easypc_archive.cpp:34
EASYPC::PageForExtents
PAGE_INFO PageForExtents(const BOX2L &aExtentsNm)
Easy-PC stores no page size, so the first of A4 to A0 then A to E, landscape before portrait,...
Definition
easypc_design_settings.cpp:129
EASYPC::PAGE_MARGIN_MM
constexpr double PAGE_MARGIN_MM
Margin added on every side of the drawn extents before choosing a page, in millimetres.
Definition
easypc_design_settings.h:45
EASYPC::FillTitleBlock
void FillTitleBlock(const DESIGN_DOCUMENT &aDoc, TITLE_BLOCK &aTitleBlock)
Fill a title block from the design's SummaryInformation property set: title from Title,...
Definition
easypc_design_settings.cpp:56
page_info.h
EASYPC::DESIGN_DOCUMENT
Definition
easypc_document.h:49
src
common
io
easypc
easypc_design_settings.h
Generated on Wed Oct 7 2026 00:05:53 for KiCad PCB EDA Suite by
1.13.2