diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-01 18:03:10 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-06 20:28:20 +0200 |
| commit | f09e17c3c564e8310125a10c03397cbf473ff643 (patch) | |
| tree | 8d0fd4a28e3686c33aaa140d07ddba26ab28bdc2 /src/Fl_Paged_Device.cxx | |
| parent | b0e0c355edaa2e23148cb0260ada907aec930f05 (diff) | |
Remove $Id$ tags, update URL's, and more
- remove obsolete svn '$Id$' tags from all source files
- update .fl files and generated files accordingly
- replace 'http://www.fltk.org' URL's with 'https://...'
- replace bug report URL 'str.php' with 'bugs.php'
- remove trailing whitespace
- fix other whitespace errors flagged by Git
- add and/or fix missing or wrong standard headers
- convert tabs to spaces in all source files
The only relevant code changes are in the fluid/ folder where
some .fl files and other source files were used to generate
the '$Id' headers and footers.
Diffstat (limited to 'src/Fl_Paged_Device.cxx')
| -rw-r--r-- | src/Fl_Paged_Device.cxx | 26 |
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$". -// |
