"Fossies" - the Fresh Open Source Software Archive

Member "plplot-5.15.0/doc/wiki_source/Libgd" (1 Jun 2019, 1910 Bytes) of package /linux/misc/plplot-5.15.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!---
    2 N.B.  The definitive Markdown source of this file is located in the
    3 doc/wiki_source subdirectory of the PLplot source tree.  So only use
    4 the ctrl-v and delete capabilities of the GUI file editor at
    5 SourceForge to make changes to the SourceForge version of this file,
    6 where ctrl-v is used to complete a cut and paste from the definitive
    7 version of this file in the PLplot source tree that is being edited
    8 with your favorite file editor, and delete used to remove extraneous
    9 unmodified text whose changed form has been copied with the cut and
   10 paste.
   11 -->
   12 
   13 Description
   14 -----------
   15 
   16 [gd](http://www.libgd.org) is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a PNG or JPEG file. This is particularly useful in World Wide Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers.
   17 
   18 *Note:* This driver has been deprecated in favour of more modern library like libcairo and libpango. See the relevant Wiki pages for these.
   19 
   20 Instructions for Mac OS X
   21 -------------------------
   22 
   23 N/A
   24 
   25 Instructions for Linux
   26 ----------------------
   27 
   28 N/A
   29 
   30 Instructions for Windows
   31 ------------------------
   32 
   33 -   Download [gd 2.34 library as zip](http://www.libgd.org/releases/gd-latest-win32.zip)
   34 -   Unzip gd-latest-win32.zip into a folder of your choice
   35 
   36 ### Set CMake paths
   37 
   38 -   set environment variables (for MinGW and Visual C++) and add bin directory to PATH
   39 
   40 `set LIBGDDIR=c:\libraries\libgd`
   41 `set PATH=%LIBGDDIR%\bin;%PATH%`
   42 `set CMAKE_INCLUDE_PATH=%LIBGDDIR%\include;%CMAKE_INCLUDE_PATH%`
   43 `set CMAKE_LIBRARY_PATH=%LIBGDDIR%\lib;%CMAKE_LIBRARY_PATH%`
   44 
   45 CMake is now able to find the libgd library and headers.
   46 
   47 
   48 The content of this page is available under the [GNU Free Documentation License 1.2](http://www.gnu.org/copyleft/fdl.html).