Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
db7c8cfd
Commit
db7c8cfd
authored
Mar 06, 2012
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove clamping from PAGE_INFO setters
parent
ed5585eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
class_page_info.cpp
common/class_page_info.cpp
+5
-0
No files found.
common/class_page_info.cpp
View file @
db7c8cfd
...
...
@@ -204,20 +204,25 @@ void PAGE_INFO::SetPortrait( bool isPortrait )
static
int
clampWidth
(
int
aWidthInMils
)
{
/* was giving EESCHEMA single component SVG plotter grief
if( aWidthInMils < 4000 ) // 4" is about a baseball card
aWidthInMils = 4000;
else if( aWidthInMils > 44000 ) //44" is plotter size
aWidthInMils = 44000;
*/
return
aWidthInMils
;
}
static
int
clampHeight
(
int
aHeightInMils
)
{
/* was giving EESCHEMA single component SVG plotter grief
if( aHeightInMils < 4000 )
aHeightInMils = 4000;
else if( aHeightInMils > 44000 )
aHeightInMils = 44000;
*/
return
aHeightInMils
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment