glbarcode++
 
Loading...
Searching...
No Matches
Constants.hpp
Go to the documentation of this file.
1// Constants.hpp
2//
3// Copyright (C) 2013-2026 Jaye Evins <evins@snaught.com>
4//
5// This file is part of glbarcode++.
6//
7// glbarcode++ is free software: you can redistribute it and/or modify
8// it under the terms of the GNU Lesser General Public License as published by
9// the Free Software Foundation, either version 3 of the License, or
10// (at your option) any later version.
11//
12// glbarcode++ is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU Lesser General Public License for more details.
16//
17// You should have received a copy of the GNU Lesser General Public License
18// along with glbarcode++. If not, see <http://www.gnu.org/licenses/>.
19//
20
21#ifndef glbarcode_Constants_hpp
22#define glbarcode_Constants_hpp
23
24
25namespace glbarcode
26{
27
28 namespace Constants
29 {
30 const double PTS_PER_INCH = 72.0;
31 const double PTS_PER_MM = 2.83464566929;
32 const double PTS_PER_CM = 10*PTS_PER_MM;
33 }
34
35}
36
37
38#endif // glbarcode_Constants_hpp
const double PTS_PER_INCH
Definition Constants.hpp:30
const double PTS_PER_CM
Definition Constants.hpp:32
const double PTS_PER_MM
Definition Constants.hpp:31
Definition Barcode.hpp:38