Kite - collection of modules useful in Kite design and construction.
use Kite; my $profile = Kite->profile(...) || die $Kite::ERROR; my $xml2ps = Kite->xml2ps(...) || die $Kite::ERROR; my $xml_parser = Kite->xml_parser(...) || die $Kite::ERROR;
The Kite::* modules are a collection of Perl modules and scripts written to help with various tasks in the design and construction of traction kites.
The Kite module acts as a general interface to the other modules in the collection, providing factory methods for loading and instantiating them.
Loads the Kite::Profile module and calls the new() constructor. All parameters are forwarded to the constructor.
This example:
use Kite; my $profile = Kite->profile( name => 'My Profile', ... ) || die $Kite::ERROR, "\n";
is equivalent to:
use Kite::Profile; my $profile = Kite::Profile->new( name => 'My Profile', ... ) || die $Kite::Profile::ERROR, "\n";
Loads the Kite::XML2PS module and calls the new() constructor. All parameters are forwarded to the constructor as per the previous example.
Loads the Kite::XML::Parser module and calls the new() constructor. All parameters are forwarded to the constructor as per the previous examples.
The following modules are distributed with the Kite bundle.
Front-end for the Kite::* modules. Contains factory methods for loading modules and instantiating objects of other Kite::* classes.
Base class implementing common functionality such as error reporting.
Module defining an object class used to represent and manipulate 2D profiles.
Module to convert a curve definition from OpenKite XML format to PostScript. Provides automatic page tiling, path following text, registration marks, etc.
Module for parsing an XML file and generating a representative tree of node (element) objects.
Base class for XML element nodes created by Kite::XML::Parser.
Derived node elements specific to Kite markup (e.g. Kite, Part, Outline, Curve, Point, etc.)
Module defining a number of PostScript definitions useful for generating PostScript documents for kite part layout, etc.
The following scripts are distributed with the Kite bundle.
Utility script providing a user interface to the Kite::Profile module. Allows 2D profiles to be loaded and manipulated via simple commands. See 'perldoc okprof' or 'okprof -h'.
Utility script for converting XML kite part definition and layout markup to PostScript. Uses the Kite::XML2PS module.
Andy Wardley <abw@kfs.org> is the primary author and current maintainer of the Kite::* bundle.
Simon Stapleton <simon@tufty.co.uk> is another key contributor.
This is version 0.4 of the Kite bundle.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See also Kite::Profile, Kite::XML2PS, Kite::XML::Parser, Kite::XML::Node, Kite::XML::Node::Kite, Kite::PScript::Defs, Kite::Base, okprof and okxml2ps.
To install Kite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kite
CPAN shell
perl -MCPAN -e shell install Kite
For more information on module installation, please visit the detailed CPAN module installation guide.