summaryrefslogtreecommitdiff
path: root/src/Fl_Paged_Device.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Paged_Device.cxx')
-rw-r--r--src/Fl_Paged_Device.cxx26
1 files changed, 10 insertions, 16 deletions
diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx
index 3d6f0b09c..368e09856 100644
--- a/src/Fl_Paged_Device.cxx
+++ b/src/Fl_Paged_Device.cxx
@@ -1,6 +1,4 @@
//
-// "$Id$"
-//
// implementation of Fl_Paged_Device class for the Fast Light Tool Kit (FLTK).
//
// Copyright 2010-2016 by Bill Spitzak and others.
@@ -9,11 +7,11 @@
// the file "COPYING" which should have been included with this file. If this
// file is missing or damaged, see the license at:
//
-// http://www.fltk.org/COPYING.php
+// https://www.fltk.org/COPYING.php
//
-// Please report all bugs and problems to:
+// Please see the following page on how to report bugs and issues:
//
-// http://www.fltk.org/str.php
+// https://www.fltk.org/bugs.php
//
/** \file Fl_Paged_Device.cxx
\brief implementation of class Fl_Paged_Device.
@@ -40,7 +38,7 @@ int Fl_Paged_Device::begin_job(int pagecount, int *frompage, int *topage, char *
/**
\brief Begins a new printed page
- The page coordinates are initially in points, i.e., 1/72 inch,
+ The page coordinates are initially in points, i.e., 1/72 inch,
and with origin at the top left of the printable page area.
\return 0 if OK, non-zero if any error
*/
@@ -67,7 +65,7 @@ void Fl_Paged_Device::margins(int *left, int *top, int *right, int *bottom) {}
After a scale() call, do a printable_rect() call to get the new dimensions of the printable page area.
Successive scale() calls don't combine their effects.
\param scale_x Horizontal dimensions of plot are multiplied by this quantity.
- \param scale_y Same as above, vertically.
+ \param scale_y Same as above, vertically.
The value 0. is equivalent to setting \p scale_y = \p scale_x. Thus, scale(factor);
is equivalent to scale(factor, factor);
*/
@@ -76,7 +74,7 @@ void Fl_Paged_Device::scale (float scale_x, float scale_y) {}
/**
\brief Rotates the graphics operations relatively to paper.
- The rotation is centered on the current graphics origin.
+ The rotation is centered on the current graphics origin.
Successive rotate() calls don't combine their effects.
\param angle Rotation angle in counter-clockwise degrees.
*/
@@ -95,10 +93,10 @@ int Fl_Paged_Device::end_page (void) {return 1;}
void Fl_Paged_Device::end_job (void) {}
-const Fl_Paged_Device::page_format Fl_Paged_Device::page_formats[NO_PAGE_FORMATS] = {
+const Fl_Paged_Device::page_format Fl_Paged_Device::page_formats[NO_PAGE_FORMATS] = {
// order of enum Page_Format
// comes from appendix B of 5003.PPD_Spec_v4.3.pdf
-
+
// A* // index(Ai) = i
{2384, 3370, "A0"},
{1684, 2384, "A1"},
@@ -110,7 +108,7 @@ const Fl_Paged_Device::page_format Fl_Paged_Device::page_formats[NO_PAGE_FORMATS
{ 210, 297, "A7"},
{ 148, 210, "A8"},
{ 105, 148, "A9"},
-
+
// B* // index(Bi) = i+10
{2920, 4127, "B0"},
{2064, 2920, "B1"},
@@ -123,7 +121,7 @@ const Fl_Paged_Device::page_format Fl_Paged_Device::page_formats[NO_PAGE_FORMATS
{ 181, 258, "B8"},
{ 127, 181, "B9"},
{ 91, 127, "B10"},
-
+
// others
{ 459, 649, "EnvC5"}, // envelope
{ 312, 624, "EnvDL"}, // envelope
@@ -135,7 +133,3 @@ const Fl_Paged_Device::page_format Fl_Paged_Device::page_formats[NO_PAGE_FORMATS
{ 792, 1224, "Tabloid"},
{ 297, 684, "Env10"} // envelope
};
-
-//
-// End of "$Id$".
-//