summaryrefslogtreecommitdiff
path: root/examples/SVG_File_Surface.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-06-27 14:43:17 +0000
committerManolo Gouy <Manolo>2018-06-27 14:43:17 +0000
commite0cfcc5dda9702bb32b54842c64e20fa08298e0a (patch)
treee9a006a5ad5c0624ddef3a5bbddd4ac05600988a /examples/SVG_File_Surface.cxx
parent8473a71e48f45a56ad95c4d2d13269c47f39c300 (diff)
Add proper FLTK header and footer to this new source file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples/SVG_File_Surface.cxx')
-rw-r--r--examples/SVG_File_Surface.cxx26
1 files changed, 25 insertions, 1 deletions
diff --git a/examples/SVG_File_Surface.cxx b/examples/SVG_File_Surface.cxx
index bd36d0f9a..8ac5e30c5 100644
--- a/examples/SVG_File_Surface.cxx
+++ b/examples/SVG_File_Surface.cxx
@@ -1,3 +1,25 @@
+//
+// "$Id$"
+//
+// Subclassing Fl_Surface_Device and Fl_Graphics_Driver in the Fast Light Tool Kit (FLTK).
+//
+// Copyright 2018 by Bill Spitzak and others.
+//
+// This library is free software. Distribution and use rights are outlined in
+// 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
+//
+// Please report all bugs and problems on the following page:
+//
+// http://www.fltk.org/str.php
+//
+
+// Partial, working implementation of how to draw into an SVG file using the standard
+// FLTK drawing API.
+// File hello.svg is created in the current directory.
+
#include <FL/fl_draw.H>
#include <stdio.h>
#include <FL/Fl_Device.H>
@@ -231,4 +253,6 @@ int main(int argc, char **argv) {
return Fl::run();
}
-
+//
+// End of "$Id$".
+//