Whole document tree
    

Whole document tree

GIMP-Print: 2.1 Code prerequisites
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.1 Code prerequisites

To use libgimpprint with a program, several steps must be taken:

  1. Include the master libgimpprint header <gimp-print/gimp-print.h>.
  2. Call stp_init().
  3. Link with libgimpprint.

The following is a short example program. It does not do anything useful, but it does everything required to link with libgimpprint and call other functions from libgimpprint.

 
#include <gimp-print/gimp-print.h>

int
main (int argc, char *argv[])
{
  stp_init ();
  return (0);
}



This document was generated by Eric Sharkey on February, 16 2002 using texi2html