Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    g2 0.72

    Download button

    No screenshots available
    Downloads: 509  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ljubomir Milanovic | More programs
    LGPL / FREE
    October 20th, 2006, 20:35 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    g2 description

    g2 is an easy to use, portable and powerful 2D graphics library.

    g2 is an easy to use, portable and powerful 2D graphics library. The project provides a comprehensive set of functions for simultaneous generation of graphical output on different types of devices.

    Following devices are currently supported: PostScript, X11, PNG and JPEG (using gd) and Win32 (xfig is in development). g2 is written in C (ANSI) and additionally has a Fortran, perl and python interface.

    g2 is easy to use

    in C

    d=g2_open_X11(50,50);
    g2_line(d,5,5,45,45);
    g2_circle(d,25,25,20);

    in Fortran

    d=g2_open_X11(50.0,50.0)
    call g2_line(d,5.0,5.0,45.0,45.0)
    call g2_circle(d,25.0,25.0,20.0)

    in perl

    $d=new X11G2::Device(50,50);
    $d->line(5,5,45,45);
    $d->circle(25,25,20);

    in python

    graph = g2.g2_open_X11(50, 50)
    graph.g2_line(5, 5, 45, 45)
    graph.g2_circle(25, 25, 20)

    What's New in This Release:

    · The Python module build process has been fixed.



    Product's homepage

      


    TAGS:

    2D graphics | graphics library | 2D library | g2 | 2D | graphics



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM