Commit Graph

72 Commits

Author SHA1 Message Date
Manolo Gouy
1a9b72429e Improved how the system-dependent global variable fl_gc is declared
with or without declaring the FL_INTERNALS preprocessor variable.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-09-14 15:17:32 +00:00
Greg Ercolano
4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(to clarify static exception LGPL by changing license references)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Manolo Gouy
b87a0b7390 Added missing FL_EXPORT class declarations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-20 16:39:06 +00:00
Manolo Gouy
1366cc68d3 PostScript support: simplified the Fl_PostScript_Graphics_Driver class by removing the
draw_scaled_image(_mono)() member functions.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 17:41:23 +00:00
Manolo Gouy
80fffdc369 Set member functions draw_scaled_image(_mono)() of class Fl_PostScript_Graphics_Driver
private.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 15:53:05 +00:00
Manolo Gouy
d8822aa74a Fl_Device: removed class_name(char *) member function and set class_name(void) virtual.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-23 14:36:18 +00:00
Manolo Gouy
f5f0cf9908 Added scale(), translate(), and rotate() functions to the Fl_Graphics_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-18 17:22:43 +00:00
Manolo Gouy
199b32d921 Added virtual width(), height(), descent() and text_extents() functions to the Fl_Graphics_Driver
class to prepare for the future definition of graphics drivers that fully deal with text measurement.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8442 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-18 13:39:48 +00:00
Manolo Gouy
777ee1b822 Removed global variables fl_font_ and fl_size_ that are now distinct for each graphics device.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-05 13:54:56 +00:00
Manolo Gouy
7c932c25d6 Added the possibility to call Fl_Paged_Device::scale(factor) with a single argument.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-04 09:17:45 +00:00
Manolo Gouy
535f0c2d3b Introduction of the Fl_Printer class requires all member functions of class
Fl_Paged_Device to be virtual. That is done here.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-31 15:53:23 +00:00
Manolo Gouy
356b3bbc7d Fix STR #2523: unimplemented functions have been removed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-16 19:56:01 +00:00
Manolo Gouy
4beb3b88e8 Renamed Fl_Device::type() to Fl_Device::class_name() to avoid conflict or confusion
with Fl_Widget::type(). Added a setter function Fl_Device::class_name(const char *).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 10:21:45 +00:00
Manolo Gouy
64dd2cfa68 Added right-to-left text drawing to PostScript graphics driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 12:45:28 +00:00
Manolo Gouy
e2e953d13b Necessary after changes brought in r.8113
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 11:07:57 +00:00
Manolo Gouy
495b3b5af5 Moved enums Page_Format and Page_Layout to class Fl_Paged_Device
where they are better located. Small reorganization of device-related include files.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 16:13:55 +00:00
Manolo Gouy
fdc59c9870 Improved Doxygen doc of classes Fl_Graphics_Driver, Fl_PostScript_Printer, Fl_System_Printer, Fl_PostScript_Graphics_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-12 09:25:37 +00:00
Manolo Gouy
f92bb184fe Fl_PostScript.H: better Doxygen doc
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-09-07 11:45:08 +00:00
Manolo Gouy
c0a8d44710 Full support of UTF-8 text for PostScript printing/output in 2 ways:
- Latin characters (unicode <= 17F) and a few other symbols, among which the € (Euro),
are output using vectorial fonts
- All other characters are output as a bitmap copy of their offscreen rendition.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-09-04 15:01:07 +00:00
Manolo Gouy
3f4a81bc88 Fl_PostScript_Graphics_Driver : removed useless member variable color_ because equals to fl_color_
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-08-22 09:11:51 +00:00
Manolo Gouy
85eb95a550 Changed svn properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:50:51 +00:00
Manolo Gouy
26049351e0 Better device hierarchy with surfaces and graphics drivers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:20:18 +00:00