triple triad silver
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 52
Triple Triad Silver 0.1b4
Triple Triad Silver is a remake of the famous game Triple Triad from Final Fantasy VIII. more>>
Triple Triad Silver is a remake of the famous game Triple Triad from Final Fantasy VIII
Triple Triad Silver is a cardgame, the goal is to flip more cards than your enemy. Triple Triad Silver beta version does not include all functions yet.
<<lessTriple Triad Silver is a cardgame, the goal is to flip more cards than your enemy. Triple Triad Silver beta version does not include all functions yet.
Download (1.1MB)
Added: 2007-08-01 License: Freeware Price:
818 downloads

Clearlooks-XPSilver
Clearlooks-XPSilver is yet another excellent addition for Gnome users. It is actually a theme that aims to replicate Windows XP Silver color scheme, but the final result is a little different more>>
Clearlooks-XPSilver is yet another excellent addition for Gnome users. It is actually a theme that aims to replicate Windows XP Silver color scheme, but the final result is a little different.
Requirements:
- Gnome
Added: 2008-10-29 License: GPL Price: FREE
13 downloads
Tripoli 0.3.1
Tripoli project is a Python triplespace implementation. more>>
Tripoli project is a Python triplespace implementation.
Tripoli is a Python implementation of a "triple space": that is, a triple store with tuple space semantics. It supports the synchronization of concurrent processes via a shared data structure.
Processes can add triples to the store, and read or take triples from the store using pattern matching.
If a triple matching a pattern is not yet in the store, a query will block until a suitable triple is added by some other process.
Many synchronization patterns can be expressed using these primitives.
Tripoli extends the semantics of tuple spaces with two additional operations, copy_graph and copy_collect_graph.
These copy or move the graph of all triples that are connected to a given subject to a new triple space, and can be used together with the other pattern matching operations to express procedural queries over triple data.
<<lessTripoli is a Python implementation of a "triple space": that is, a triple store with tuple space semantics. It supports the synchronization of concurrent processes via a shared data structure.
Processes can add triples to the store, and read or take triples from the store using pattern matching.
If a triple matching a pattern is not yet in the store, a query will block until a suitable triple is added by some other process.
Many synchronization patterns can be expressed using these primitives.
Tripoli extends the semantics of tuple spaces with two additional operations, copy_graph and copy_collect_graph.
These copy or move the graph of all triples that are connected to a given subject to a new triple space, and can be used together with the other pattern matching operations to express procedural queries over triple data.
Download (0.009MB)
Added: 2007-02-16 License: GPL (GNU General Public License) Price:
982 downloads
RDF::Simple::Parser 0.3
RDF::Simple::Parser is a simple RDF/XML parser that reads a string containing RDF in XML. more>>
RDF::Simple::Parser is a simple RDF/XML parser that reads a string containing RDF in XML.
SYNOPSIS
my $uri = http://www.zooleika.org.uk/bio/foaf.rdf;
my $rdf = LWP::Simple::get($uri);
my $parser = RDF::Simple::Parser->new(base => $uri)
my @triples = $parser->parse_rdf($rdf);
# returns an array of array references which are triples
<<lessSYNOPSIS
my $uri = http://www.zooleika.org.uk/bio/foaf.rdf;
my $rdf = LWP::Simple::get($uri);
my $parser = RDF::Simple::Parser->new(base => $uri)
my @triples = $parser->parse_rdf($rdf);
# returns an array of array references which are triples
Download (0.017MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1129 downloads
Silver Spider
Silver Spider is a KDE theme like Fluxbox style. more>>
Silver Spider is a KDE theme like Fluxbox style.
Wallpaper von Deviant with copyright by dayvid.net
It is for 1024x768 screen resolution. Wallpaper is from Deviant with copyright by dayvid.net. The symbols style is "Amaranth by Michael Doches(Doches@linuxcult.com)"
Windowsdeco, Bar & Button style: Keramik
You have to take same changes in KDE Design Control to look the same as in the preview. Take a look at all the screenshots to know want you have to change (KDE Control, Look&Feel, Symbols, Extra..).Thats why it depends on KDE 3.3, also because the transparency effect for the control bar, and for the menues when do you like that.
<<lessWallpaper von Deviant with copyright by dayvid.net
It is for 1024x768 screen resolution. Wallpaper is from Deviant with copyright by dayvid.net. The symbols style is "Amaranth by Michael Doches(Doches@linuxcult.com)"
Windowsdeco, Bar & Button style: Keramik
You have to take same changes in KDE Design Control to look the same as in the preview. Take a look at all the screenshots to know want you have to change (KDE Control, Look&Feel, Symbols, Extra..).Thats why it depends on KDE 3.3, also because the transparency effect for the control bar, and for the menues when do you like that.
Download (0.47MB)
Added: 2007-04-19 License: GPL (GNU General Public License) Price:
924 downloads
GreyList Sendmail milter 2.1.0
smf-grey is a Sendmail milter that implements the GreyList Anti SPAM technology. more>>
smf-grey is a Sendmail milter that implements the GreyList Anti SPAM technology.
This technology can significantly reduce the amount of SPAM and viruses going from zombie computers (infected Windows PC), which produce more than 80% of SPAM.
GreyList Sendmail milter has a very effective GreyList algorithm on the base of the tuple: sender IP address (C class subnet), sender envelope and recipient envelope.
Its very recommended to use the smf-grey milter combined with the smf-zombie and the smf-spf milters. Its a triple impact on SPAM and viruses, that will seriously increase the efficiency of filtration.
This milter aims to be lightweight, reliable and simple. Its written in C.
Main features:
- It has a hosts/networks whitelist;
- It has an autowhitelist;
- It can add the information header with GreyList results to scanned messages;
- It can log all milter activities through the syslog service.
Advantages:
- Small code;
- Fast work;
- Stability (production quality);
- Few system resources are required.
Enhancements:
- Whitelists auto reloading was implemented.
- Autowhitelisted records regular dumping and reloading was implemented.
- The default greylisting time period was increased.
- New TODO tasks were added.
- Cosmetic enhancements were made.
<<lessThis technology can significantly reduce the amount of SPAM and viruses going from zombie computers (infected Windows PC), which produce more than 80% of SPAM.
GreyList Sendmail milter has a very effective GreyList algorithm on the base of the tuple: sender IP address (C class subnet), sender envelope and recipient envelope.
Its very recommended to use the smf-grey milter combined with the smf-zombie and the smf-spf milters. Its a triple impact on SPAM and viruses, that will seriously increase the efficiency of filtration.
This milter aims to be lightweight, reliable and simple. Its written in C.
Main features:
- It has a hosts/networks whitelist;
- It has an autowhitelist;
- It can add the information header with GreyList results to scanned messages;
- It can log all milter activities through the syslog service.
Advantages:
- Small code;
- Fast work;
- Stability (production quality);
- Few system resources are required.
Enhancements:
- Whitelists auto reloading was implemented.
- Autowhitelisted records regular dumping and reloading was implemented.
- The default greylisting time period was increased.
- New TODO tasks were added.
- Cosmetic enhancements were made.
Download (0.017MB)
Added: 2007-02-01 License: GPL (GNU General Public License) Price:
996 downloads
E.V.E. Paradox 1.2
E.V.E. Paradox is a game suite consisting of three games. more>>
E.V.E. Paradox is a game suite consisting of three games. Flick is a turn-based puzzler, Orbit is an arcade puzzler, and Arena is a top-view action game.
The Free Edition of E.V.E. Paradox contains a number of levels and is not otherwise restricted. Enhanced editions are available for purchase with additional levels and features for those who want a little something more. It includes an integrated online chat system. Hardware 3D acceleration is highly recommended.
Enhancements:
- A new game, called Board, was added.
- There are now five games in E.V.E. Paradox.
- New levels were added for Board and existing games.
- Keyboard shortcuts were added to most menus.
- Chat messages are held on Central if youre not around.
- Online high scores and ribbons are now displayed in-game.
- Support for monthly high scores was added.
- stderr/stdout now go to a file by default under Linux.
- Silver editions now emphasize their core game.
- Many bugfixes, stability improvements, optimizations, and bugfixes were made.
<<lessThe Free Edition of E.V.E. Paradox contains a number of levels and is not otherwise restricted. Enhanced editions are available for purchase with additional levels and features for those who want a little something more. It includes an integrated online chat system. Hardware 3D acceleration is highly recommended.
Enhancements:
- A new game, called Board, was added.
- There are now five games in E.V.E. Paradox.
- New levels were added for Board and existing games.
- Keyboard shortcuts were added to most menus.
- Chat messages are held on Central if youre not around.
- Online high scores and ribbons are now displayed in-game.
- Support for monthly high scores was added.
- stderr/stdout now go to a file by default under Linux.
- Silver editions now emphasize their core game.
- Many bugfixes, stability improvements, optimizations, and bugfixes were made.
Download (20.7MB)
Added: 2006-10-08 License: Free To Use But Restricted Price:
1111 downloads
TrueCrypt 4.3a
TrueCrypt is free open-source disk encryption software. more>>
TrueCrypt is free open-source disk encryption software.
Main features:
- It can create a virtual encrypted disk within a file and mount it as a real disk.
- It can encrypt an entire hard disk partition or a device, such as USB memory stick, floppy disk, etc.
- Provides two levels of plausible deniability, in case an adversary forces you to reveal the password:
- 1) Hidden volume (more information may be found here).
- 2) No TrueCrypt volume can be identified (TrueCrypt volumes cannot be distinguished from random data).
- Encryption algorithms: AES-256, Blowfish (448-bit key), CAST5, Serpent (256-bit key), Triple DES, and Twofish (256-bit key). Supports cascading (e.g., AES-Twofish-Serpent).
- Based on Encryption for the Masses (E4M) 2.02a, which was conceived in 1997.
Enhancements:
- Access rights are now elevated using sudo.
- Volumes can be dismounted only by the user who mounted it or by root.
- Support for writing data to file-hosted volumes located on devices that use a sector size other than 512 bytes (e.g. new HDD types, DVD-RAM, some flash drives) was added.
- A TrueCrypt volume is now automatically dismounted if its host device is inadvertently removed.
- The maximum allowed size of FAT32 volumes was increased to 2 TB.
- Support for big-endian platforms was improved. 64-bit block ciphers are being phased out; such volumes can still be mounted, but not created.
<<lessMain features:
- It can create a virtual encrypted disk within a file and mount it as a real disk.
- It can encrypt an entire hard disk partition or a device, such as USB memory stick, floppy disk, etc.
- Provides two levels of plausible deniability, in case an adversary forces you to reveal the password:
- 1) Hidden volume (more information may be found here).
- 2) No TrueCrypt volume can be identified (TrueCrypt volumes cannot be distinguished from random data).
- Encryption algorithms: AES-256, Blowfish (448-bit key), CAST5, Serpent (256-bit key), Triple DES, and Twofish (256-bit key). Supports cascading (e.g., AES-Twofish-Serpent).
- Based on Encryption for the Masses (E4M) 2.02a, which was conceived in 1997.
Enhancements:
- Access rights are now elevated using sudo.
- Volumes can be dismounted only by the user who mounted it or by root.
- Support for writing data to file-hosted volumes located on devices that use a sector size other than 512 bytes (e.g. new HDD types, DVD-RAM, some flash drives) was added.
- A TrueCrypt volume is now automatically dismounted if its host device is inadvertently removed.
- The maximum allowed size of FAT32 volumes was increased to 2 TB.
- Support for big-endian platforms was improved. 64-bit block ciphers are being phased out; such volumes can still be mounted, but not created.
Download (1.0MB)
Added: 2007-05-09 License: Other/Proprietary License Price:
909 downloads
Silver XCursors 3D 0.4
Silver XCursors 3D provides the same animated cursors as in my Golden Xcursors 3D theme, but this time rendered in Silver. more>>
Silver XCursors 3D provides the same animated cursors as in my Golden Xcursors 3D theme, but this time rendered in Silver.
Installation:
Copy the two folders Silver and default to your ~/.icons directory and
restart your X-Server.
If you want to have bigger cursors, you have to create an .Xdefaults file
in your home directory and insert the following two lines:
Xcursor.theme: Silver
Xcursor.size: 48
The default size is 32.
Thats it!
Note: If the animations are flickering on your nvidia card with the latest
driver, add the following line to your XF86Config file, into the nvidia
device section, to fix it:
Option "HWCursor" "off"
Enhancements:
- added pirate
- a little less animation (requested)
<<lessInstallation:
Copy the two folders Silver and default to your ~/.icons directory and
restart your X-Server.
If you want to have bigger cursors, you have to create an .Xdefaults file
in your home directory and insert the following two lines:
Xcursor.theme: Silver
Xcursor.size: 48
The default size is 32.
Thats it!
Note: If the animations are flickering on your nvidia card with the latest
driver, add the following line to your XF86Config file, into the nvidia
device section, to fix it:
Option "HWCursor" "off"
Enhancements:
- added pirate
- a little less animation (requested)
Download (MB)
Added: 2007-03-02 License: LGPL (GNU Lesser General Public License) Price:
972 downloads
GD::Simple 2.35
GD::Simple module is a simplified interface to GD library. more>>
GD::Simple module is a simplified interface to GD library.
SYNOPSIS
use GD::Simple;
# create a new image
$img = GD::Simple->new(400,250);
# draw a red rectangle with blue borders
$img->bgcolor(red);
$img->fgcolor(blue);
$img->rectangle(10,10,50,50);
# draw an empty rectangle with green borders
$img->bgcolor(undef);
$img->fgcolor(green);
$img->rectangle(30,30,100,100);
# move to (80,80) and draw a green line to (100,190)
$img->moveTo(80,80);
$img->lineTo(100,190);
# draw a solid orange ellipse
$img->moveTo(110,100);
$img->bgcolor(orange);
$img->fgcolor(orange);
$img->ellipse(40,40);
# draw a black filled arc
$img->moveTo(150,150);
$img->fgcolor(black);
$img->arc(50,50,0,100,gdNoFill|gdEdged);
# draw a string at (10,180) using the default
# built-in font
$img->moveTo(10,180);
$img->string(This is very simple);
# draw a string at (280,210) using 20 point
# times italic, angled upward 90 degrees
$img->moveTo(280,210);
$img->font(Times:italic);
$img->fontsize(20);
$img->angle(-90);
$img->string(This is very fancy);
# some turtle graphics
$img->moveTo(300,100);
$img->penSize(3,3);
$img->angle(0);
$img->line(20); # 20 pixels going to the right
$img->turn(30); # set turning angle to 30 degrees
$img->line(20); # 20 pixel line
$img->line(20);
$img->line(20);
$img->turn(-90); # set turning angle to -90 degrees
$img->line(50); # 50 pixel line
# draw a cyan polygon edged in blue
my $poly = new GD::Polygon;
$poly->addPt(150,100);
$poly->addPt(199,199);
$poly->addPt(100,199);
$img->bgcolor(cyan);
$img->fgcolor(blue);
$img->penSize(1,1);
$img->polygon($poly);
# convert into png data
print $img->png;
GD::Simple is a subclass of the GD library that shortens many of the long GD method calls by storing information about the pen color, size and position in the GD object itself. It also adds a small number of "turtle graphics" style calls for those who prefer to work in polar coordinates. In addition, the library allows you to use symbolic names for colors, such as "chartreuse", and will manage the colors for you.
The Pen
GD::Simple maintains a "pen" whose settings are used for line- and shape-drawing operations. The pen has the following properties:
fgcolor
The pen foreground color is the color of lines and the borders of filled and unfilled shapes.
bgcolor
The pen background color is the color of the contents of filled shapes.
pensize
The pen size is the width of the pen. Larger sizes draw thicker lines.
position
The pen position is its current position on the canvas in (X,Y) coordinates.
angle
When drawing in turtle mode, the pen angle determines the current direction of lines of relative length.
turn
When drawing in turtle mode, the turn determines the clockwise or counterclockwise angle that the pen will turn before drawing the next line.
font
The font to use when drawing text. Both built-in bitmapped fonts and TrueType fonts are supported.
fontsize
The size of the font to use when drawing with TrueType fonts.
One sets the position and properties of the pen and then draws. As the drawing progresses, the position of the pen is updated.
Methods
GD::Simple introduces a number of new methods, a few of which have the same name as GD::Image methods, and hence change their behavior. In addition to these new methods, GD::Simple objects support all of the GD::Image methods. If you make a method call that isnt directly supported by GD::Simple, it refers the request to the underlying GD::Image object. Hence one can load a JPEG image into GD::Simple and declare it to be TrueColor by using this call, which is effectively inherited from GD::Image:
my $img = GD::Simple->newFromJpeg(./myimage.jpg,1);
The rest of this section describes GD::Simple-specific methods.
$img->moveTo($x,$y)
This call changes the position of the pen without drawing. It moves the pen to position ($x,$y) on the drawing canvas.
$img->move($dx,$dy)
$img->move($dr)
This call changes the position of the pen without drawing. When called with two arguments it moves the pen $dx pixels to the right and $dy pixels downward. When called with one argument it moves the pen $dr pixels along the vector described by the current pen angle.
$img->lineTo($x,$y)
The lineTo() call simultaneously draws and moves the pen. It draws a line from the current pen position to the position defined by ($x,$y) using the current pen size and color. After drawing, the position of the pen is updated to the new position.
$img->line($dx,$dy)
$img->line($dr)
The line() call simultaneously draws and moves the pen. When called with two arguments it draws a line from the current position of the pen to the position $dx pixels to the right and $dy pixels down. When called with one argument, it draws a line $dr pixels long along the angle defined by the current pen angle.
$img->clear
This method clears the canvas by painting over it with the current background color.
$img->rectangle($x1,$y1,$x2,$y2)
This method draws the rectangle defined by corners ($x1,$y1), ($x2,$y2). The rectangles edges are drawn in the foreground color and its contents are filled with the background color. To draw a solid rectangle set bgcolor equal to fgcolor. To draw an unfilled rectangle (transparent inside), set bgcolor to undef.
$img->ellipse($width,$height)
This method draws the ellipse centered at the current location with width $width and height $height. The ellipses border is drawn in the foreground color and its contents are filled with the background color. To draw a solid ellipse set bgcolor equal to fgcolor. To draw an unfilled ellipse (transparent inside), set bgcolor to undef.
$img->arc($cx,$cy,$width,$height,$start,$end [,$style])
This method draws filled and unfilled arcs. See GD for a description of the arguments. To draw a solid arc (such as a pie wedge) set bgcolor equal to fgcolor. To draw an unfilled arc, set bgcolor to undef.
$img->polygon($poly)
This method draws filled and unfilled polygon using the current settings of fgcolor for the polygon border and bgcolor for the polygon fill color. See GD for a description of creating polygons. To draw a solid polygon set bgcolor equal to fgcolor. To draw an unfilled polygon, set bgcolor to undef.
$img->polyline($poly)
This method draws polygons without closing the first and last vertices (similar to GD::Image->unclosedPolygon()). It uses the fgcolor to draw the line.
$img->string($string)
This method draws the indicated string starting at the current position of the pen. The pen is moved to the end of the drawn string. Depending on the font selected with the font() method, this will use either a bitmapped GD font or a TrueType font. The angle of the pen will be consulted when drawing the text. For TrueType fonts, any angle is accepted. For GD bitmapped fonts, the angle can be either 0 (draw horizontal) or -90 (draw upwards).
For consistency between the TrueType and GD font behavior, the string is always drawn so that the current position of the pen corresponds to the bottom left of the first character of the text. This is different from the GD behavior, in which the first character of bitmapped fonts hangs down from the pen point.
This method returns a polygon indicating the bounding box of the rendered text. If an error occurred (such as invalid font specification) it returns undef and an error message in $@.
$metrics = $img->fontMetrics
($metrics,$width,$height) = GD::Simple->fontMetrics($font,$fontsize,$string)
This method returns information about the current font, most commonly a TrueType font. It can be invoked as an instance method (on a previously-created GD::Simple object) or as a class method (on the GD::Simple class).
When called as an instance method, fontMetrics() takes no arguments and returns a single hash reference containing the metrics that describe the currently selected font and size. The hash reference contains the following information:
xheight the base height of the font from the bottom to the top of
a lowercase m
ascent the length of the upper stem of the lowercase d
descent the length of the lower step of the lowercase j
lineheight the distance from the bottom of the j to the top of
the d
leading the distance between two adjacent lines
($delta_x,$delta_y)= $img->stringBounds($string)
This method indicates the X and Y offsets (which may be negative) that will occur when the given string is drawn using the current font, fontsize and angle. When the string is drawn horizontally, it gives the width and height of the strings bounding box.
$delta_x = $img->stringWidth($string)
This method indicates the width of the string given the current font, fontsize and angle. It is the same as ($img->stringBounds($string))[0]
($x,$y) = $img->curPos
Return the current position of the pen. Set the current position using moveTo().
$font = $img->font([$newfont] [,$newsize])
Get or set the current font. Fonts can be GD::Font objects, TrueType font file paths, or fontconfig font patterns like "Times:italic" (see fontconfig). The latter feature requires that you have the fontconfig library installed and are using libgd version 2.0.33 or higher.
As a shortcut, you may pass two arguments to set the font and the fontsize simultaneously. The fontsize is only valid when drawing with TrueType fonts.
$size = $img->fontsize([$newfontsize])
Get or set the current font size. This is only valid for TrueType fonts.
$size = $img->penSize([$newpensize])
Get or set the current pen width for use during line drawing operations.
$angle = $img->angle([$newangle])
Set the current angle for use when calling line() or move() with a single argument.
Here is an example of using turn() and angle() together to draw an octagon. The first line drawn is the downward-slanting top right edge. The last line drawn is the horizontal top of the octagon.
$img->moveTo(200,50);
$img->angle(0);
$img->turn(360/8);
for (1..8) { $img->line(50) }
$angle = $img->turn([$newangle])
Get or set the current angle to turn prior to drawing lines. This value is only used when calling line() or move() with a single argument. The turning angle will be applied to each call to line() or move() just before the actual drawing occurs.
Angles are in degrees. Positive values turn the angle clockwise.
$color = $img->fgcolor([$newcolor])
Get or set the pens foreground color. The current pen color can be set by (1) using an (r,g,b) triple; (2) using a previously-allocated color from the GD palette; or (3) by using a symbolic color name such as "chartreuse." The list of color names can be obtained using color_names().
$color = $img->bgcolor([$newcolor])
Get or set the pens background color. The current pen color can be set by (1) using an (r,g,b) triple; (2) using a previously-allocated color from the GD palette; or (3) by using a symbolic color name such as "chartreuse." The list of color names can be obtained using color_names().
$index = $img->translate_color(@args)
Translates a color into a GD palette or TrueColor index. You may pass either an (r,g,b) triple or a symbolic color name. If you pass a previously-allocated index, the method will return it unchanged.
$index = $img->alphaColor(@args,$alpha)
Creates an alpha color. You may pass either an (r,g,b) triple or a symbolic color name, followed by an integer indicating its opacity. The opacity value ranges from 0 (fully opaque) to 127 (fully transparent).
@names = GD::Simple->color_names
$translate_table = GD::Simple->color_names
Called in a list context, color_names() returns the list of symbolic color names recognized by this module. Called in a scalar context, the method returns a hash reference in which the keys are the color names and the values are array references containing [r,g,b] triples.
$gd = $img->gd
Return the internal GD::Image object. Usually you will not need to call this since all GD methods are automatically referred to this object.
($red,$green,$blue) = GD::Simple->HSVtoRGB($hue,$saturation,$value)
Convert a Hue/Saturation/Value (HSV) color into an RGB triple. The hue, saturation and value are integers from 0 to 255.
($hue,$saturation,$value) = GD::Simple->RGBtoHSV($hue,$saturation,$value)
Convert a Red/Green/Blue (RGB) value into a Hue/Saturation/Value (HSV) triple. The hue, saturation and value are integers from 0 to 255.
COLORS
This script will create an image showing all the symbolic colors.
#!/usr/bin/perl
use strict;
use GD::Simple;
my @color_names = GD::Simple->color_names;
my $cols = int(sqrt(@color_names));
my $rows = int(@color_names/$cols)+1;
my $cell_width = 100;
my $cell_height = 50;
my $legend_height = 16;
my $width = $cols * $cell_width;
my $height = $rows * $cell_height;
my $img = GD::Simple->new($width,$height);
$img->font(gdSmallFont);
for (my $c=0; $cfgcolor($color);
$img->rectangle(@topleft,@botright);
$img->moveTo($topleft[0]+2,$botright[1]+$legend_height-2);
$img->fgcolor(black);
$img->string($color);
}
}
print $img->png;
<<lessSYNOPSIS
use GD::Simple;
# create a new image
$img = GD::Simple->new(400,250);
# draw a red rectangle with blue borders
$img->bgcolor(red);
$img->fgcolor(blue);
$img->rectangle(10,10,50,50);
# draw an empty rectangle with green borders
$img->bgcolor(undef);
$img->fgcolor(green);
$img->rectangle(30,30,100,100);
# move to (80,80) and draw a green line to (100,190)
$img->moveTo(80,80);
$img->lineTo(100,190);
# draw a solid orange ellipse
$img->moveTo(110,100);
$img->bgcolor(orange);
$img->fgcolor(orange);
$img->ellipse(40,40);
# draw a black filled arc
$img->moveTo(150,150);
$img->fgcolor(black);
$img->arc(50,50,0,100,gdNoFill|gdEdged);
# draw a string at (10,180) using the default
# built-in font
$img->moveTo(10,180);
$img->string(This is very simple);
# draw a string at (280,210) using 20 point
# times italic, angled upward 90 degrees
$img->moveTo(280,210);
$img->font(Times:italic);
$img->fontsize(20);
$img->angle(-90);
$img->string(This is very fancy);
# some turtle graphics
$img->moveTo(300,100);
$img->penSize(3,3);
$img->angle(0);
$img->line(20); # 20 pixels going to the right
$img->turn(30); # set turning angle to 30 degrees
$img->line(20); # 20 pixel line
$img->line(20);
$img->line(20);
$img->turn(-90); # set turning angle to -90 degrees
$img->line(50); # 50 pixel line
# draw a cyan polygon edged in blue
my $poly = new GD::Polygon;
$poly->addPt(150,100);
$poly->addPt(199,199);
$poly->addPt(100,199);
$img->bgcolor(cyan);
$img->fgcolor(blue);
$img->penSize(1,1);
$img->polygon($poly);
# convert into png data
print $img->png;
GD::Simple is a subclass of the GD library that shortens many of the long GD method calls by storing information about the pen color, size and position in the GD object itself. It also adds a small number of "turtle graphics" style calls for those who prefer to work in polar coordinates. In addition, the library allows you to use symbolic names for colors, such as "chartreuse", and will manage the colors for you.
The Pen
GD::Simple maintains a "pen" whose settings are used for line- and shape-drawing operations. The pen has the following properties:
fgcolor
The pen foreground color is the color of lines and the borders of filled and unfilled shapes.
bgcolor
The pen background color is the color of the contents of filled shapes.
pensize
The pen size is the width of the pen. Larger sizes draw thicker lines.
position
The pen position is its current position on the canvas in (X,Y) coordinates.
angle
When drawing in turtle mode, the pen angle determines the current direction of lines of relative length.
turn
When drawing in turtle mode, the turn determines the clockwise or counterclockwise angle that the pen will turn before drawing the next line.
font
The font to use when drawing text. Both built-in bitmapped fonts and TrueType fonts are supported.
fontsize
The size of the font to use when drawing with TrueType fonts.
One sets the position and properties of the pen and then draws. As the drawing progresses, the position of the pen is updated.
Methods
GD::Simple introduces a number of new methods, a few of which have the same name as GD::Image methods, and hence change their behavior. In addition to these new methods, GD::Simple objects support all of the GD::Image methods. If you make a method call that isnt directly supported by GD::Simple, it refers the request to the underlying GD::Image object. Hence one can load a JPEG image into GD::Simple and declare it to be TrueColor by using this call, which is effectively inherited from GD::Image:
my $img = GD::Simple->newFromJpeg(./myimage.jpg,1);
The rest of this section describes GD::Simple-specific methods.
$img->moveTo($x,$y)
This call changes the position of the pen without drawing. It moves the pen to position ($x,$y) on the drawing canvas.
$img->move($dx,$dy)
$img->move($dr)
This call changes the position of the pen without drawing. When called with two arguments it moves the pen $dx pixels to the right and $dy pixels downward. When called with one argument it moves the pen $dr pixels along the vector described by the current pen angle.
$img->lineTo($x,$y)
The lineTo() call simultaneously draws and moves the pen. It draws a line from the current pen position to the position defined by ($x,$y) using the current pen size and color. After drawing, the position of the pen is updated to the new position.
$img->line($dx,$dy)
$img->line($dr)
The line() call simultaneously draws and moves the pen. When called with two arguments it draws a line from the current position of the pen to the position $dx pixels to the right and $dy pixels down. When called with one argument, it draws a line $dr pixels long along the angle defined by the current pen angle.
$img->clear
This method clears the canvas by painting over it with the current background color.
$img->rectangle($x1,$y1,$x2,$y2)
This method draws the rectangle defined by corners ($x1,$y1), ($x2,$y2). The rectangles edges are drawn in the foreground color and its contents are filled with the background color. To draw a solid rectangle set bgcolor equal to fgcolor. To draw an unfilled rectangle (transparent inside), set bgcolor to undef.
$img->ellipse($width,$height)
This method draws the ellipse centered at the current location with width $width and height $height. The ellipses border is drawn in the foreground color and its contents are filled with the background color. To draw a solid ellipse set bgcolor equal to fgcolor. To draw an unfilled ellipse (transparent inside), set bgcolor to undef.
$img->arc($cx,$cy,$width,$height,$start,$end [,$style])
This method draws filled and unfilled arcs. See GD for a description of the arguments. To draw a solid arc (such as a pie wedge) set bgcolor equal to fgcolor. To draw an unfilled arc, set bgcolor to undef.
$img->polygon($poly)
This method draws filled and unfilled polygon using the current settings of fgcolor for the polygon border and bgcolor for the polygon fill color. See GD for a description of creating polygons. To draw a solid polygon set bgcolor equal to fgcolor. To draw an unfilled polygon, set bgcolor to undef.
$img->polyline($poly)
This method draws polygons without closing the first and last vertices (similar to GD::Image->unclosedPolygon()). It uses the fgcolor to draw the line.
$img->string($string)
This method draws the indicated string starting at the current position of the pen. The pen is moved to the end of the drawn string. Depending on the font selected with the font() method, this will use either a bitmapped GD font or a TrueType font. The angle of the pen will be consulted when drawing the text. For TrueType fonts, any angle is accepted. For GD bitmapped fonts, the angle can be either 0 (draw horizontal) or -90 (draw upwards).
For consistency between the TrueType and GD font behavior, the string is always drawn so that the current position of the pen corresponds to the bottom left of the first character of the text. This is different from the GD behavior, in which the first character of bitmapped fonts hangs down from the pen point.
This method returns a polygon indicating the bounding box of the rendered text. If an error occurred (such as invalid font specification) it returns undef and an error message in $@.
$metrics = $img->fontMetrics
($metrics,$width,$height) = GD::Simple->fontMetrics($font,$fontsize,$string)
This method returns information about the current font, most commonly a TrueType font. It can be invoked as an instance method (on a previously-created GD::Simple object) or as a class method (on the GD::Simple class).
When called as an instance method, fontMetrics() takes no arguments and returns a single hash reference containing the metrics that describe the currently selected font and size. The hash reference contains the following information:
xheight the base height of the font from the bottom to the top of
a lowercase m
ascent the length of the upper stem of the lowercase d
descent the length of the lower step of the lowercase j
lineheight the distance from the bottom of the j to the top of
the d
leading the distance between two adjacent lines
($delta_x,$delta_y)= $img->stringBounds($string)
This method indicates the X and Y offsets (which may be negative) that will occur when the given string is drawn using the current font, fontsize and angle. When the string is drawn horizontally, it gives the width and height of the strings bounding box.
$delta_x = $img->stringWidth($string)
This method indicates the width of the string given the current font, fontsize and angle. It is the same as ($img->stringBounds($string))[0]
($x,$y) = $img->curPos
Return the current position of the pen. Set the current position using moveTo().
$font = $img->font([$newfont] [,$newsize])
Get or set the current font. Fonts can be GD::Font objects, TrueType font file paths, or fontconfig font patterns like "Times:italic" (see fontconfig). The latter feature requires that you have the fontconfig library installed and are using libgd version 2.0.33 or higher.
As a shortcut, you may pass two arguments to set the font and the fontsize simultaneously. The fontsize is only valid when drawing with TrueType fonts.
$size = $img->fontsize([$newfontsize])
Get or set the current font size. This is only valid for TrueType fonts.
$size = $img->penSize([$newpensize])
Get or set the current pen width for use during line drawing operations.
$angle = $img->angle([$newangle])
Set the current angle for use when calling line() or move() with a single argument.
Here is an example of using turn() and angle() together to draw an octagon. The first line drawn is the downward-slanting top right edge. The last line drawn is the horizontal top of the octagon.
$img->moveTo(200,50);
$img->angle(0);
$img->turn(360/8);
for (1..8) { $img->line(50) }
$angle = $img->turn([$newangle])
Get or set the current angle to turn prior to drawing lines. This value is only used when calling line() or move() with a single argument. The turning angle will be applied to each call to line() or move() just before the actual drawing occurs.
Angles are in degrees. Positive values turn the angle clockwise.
$color = $img->fgcolor([$newcolor])
Get or set the pens foreground color. The current pen color can be set by (1) using an (r,g,b) triple; (2) using a previously-allocated color from the GD palette; or (3) by using a symbolic color name such as "chartreuse." The list of color names can be obtained using color_names().
$color = $img->bgcolor([$newcolor])
Get or set the pens background color. The current pen color can be set by (1) using an (r,g,b) triple; (2) using a previously-allocated color from the GD palette; or (3) by using a symbolic color name such as "chartreuse." The list of color names can be obtained using color_names().
$index = $img->translate_color(@args)
Translates a color into a GD palette or TrueColor index. You may pass either an (r,g,b) triple or a symbolic color name. If you pass a previously-allocated index, the method will return it unchanged.
$index = $img->alphaColor(@args,$alpha)
Creates an alpha color. You may pass either an (r,g,b) triple or a symbolic color name, followed by an integer indicating its opacity. The opacity value ranges from 0 (fully opaque) to 127 (fully transparent).
@names = GD::Simple->color_names
$translate_table = GD::Simple->color_names
Called in a list context, color_names() returns the list of symbolic color names recognized by this module. Called in a scalar context, the method returns a hash reference in which the keys are the color names and the values are array references containing [r,g,b] triples.
$gd = $img->gd
Return the internal GD::Image object. Usually you will not need to call this since all GD methods are automatically referred to this object.
($red,$green,$blue) = GD::Simple->HSVtoRGB($hue,$saturation,$value)
Convert a Hue/Saturation/Value (HSV) color into an RGB triple. The hue, saturation and value are integers from 0 to 255.
($hue,$saturation,$value) = GD::Simple->RGBtoHSV($hue,$saturation,$value)
Convert a Red/Green/Blue (RGB) value into a Hue/Saturation/Value (HSV) triple. The hue, saturation and value are integers from 0 to 255.
COLORS
This script will create an image showing all the symbolic colors.
#!/usr/bin/perl
use strict;
use GD::Simple;
my @color_names = GD::Simple->color_names;
my $cols = int(sqrt(@color_names));
my $rows = int(@color_names/$cols)+1;
my $cell_width = 100;
my $cell_height = 50;
my $legend_height = 16;
my $width = $cols * $cell_width;
my $height = $rows * $cell_height;
my $img = GD::Simple->new($width,$height);
$img->font(gdSmallFont);
for (my $c=0; $cfgcolor($color);
$img->rectangle(@topleft,@botright);
$img->moveTo($topleft[0]+2,$botright[1]+$legend_height-2);
$img->fgcolor(black);
$img->string($color);
}
}
print $img->png;
Download (0.25MB)
Added: 2007-07-23 License: Perl Artistic License Price:
825 downloads
Secure Java Diary 0.3.0a
Secure Java Diary is a Java Diary with Strong Encryption. more>>
Secure Diary is a Java application that uses the Bouncy Castle JCE to provide strong encryption for your diary.
It stores the entries using blowfish and triple DES. It allows you to enter/view/export diary enteries in multiple diaries.
<<lessIt stores the entries using blowfish and triple DES. It allows you to enter/view/export diary enteries in multiple diaries.
Download (0.82MB)
Added: 2005-04-26 License: GPL (GNU General Public License) Price:
1649 downloads
Sepia 0.70
Sepia is a simple Emacs-Perl Interface. more>>
Sepia is a simple Emacs-Perl Interface.
@compls = completions($string [, $type])
Find a list of completions for $string with glob type $type. Completion operates on word subparts separated by [:_], so e.g. "S:m_w" completes to "Sepia::my_walksymtable".
@locs = location(@names)
Return a list of [file, line, name] triples, one for each function name in @names.
@matches = apropos($name [, $is_regex])
Search for function $name, either in all packages or, if $name is qualified, only in one package. If $is_regex is true, the non-package part of $name is a regular expression.
@names = mod_subs($pack)
Find subs in package $pack.
@decls = mod_decls($pack)
Generate a list of declarations for all subroutines in package $pack.
$info = module_info($module, $type)
Emacs-called function to get module information.
$file = mod_file($mod)
Find the likely file owner for module $mod.
@mods = package_list
Gather a list of all distributions on the system. XXX UNUSED
@mods = module_list
Gather a list of all packages (.pm files, really) installed on the system, grouped by distribution. XXX UNUSED
@mods = doc_list
Gather a list of all documented packages (.?pm files, really) installed on the system, grouped by distribution. XXX UNUSED
lexicals($subname)
Return a list of $subnames lexical variables. Note that this includes all nested scopes -- I dont know if or how Perl distinguishes inner blocks.
$lisp = tolisp($perl)
Convert a Perl scalar to some ELisp equivalent.
printer(@res [, $iseval])
Print @res appropriately on the current filehandle. If $iseval is true, use terse format. Otherwise, use human-readable format.
repl(*FH)
Execute a command interpreter on FH. The prompt has a few bells and whistles, including:
* Obviously-incomplete lines are treated as multiline input.
* C< die > is overridden to enter a recursive interpreter at the point
C< die > is called. From within this interpreter, you can examine a
backtrace by calling "bt", return from C< die > with "r EXPR", or
go ahead and die by pressing Control-c.
Behavior is controlled in part through the following package-globals:
$PS1 -- the default prompt
$STOPDIE -- true to enter the inspector on die()
$STOPWARN -- true to enter the inspector on warn()
%REPL -- maps shortcut names to handlers
$PACKAGE -- evaluation package
$WANTARRAY -- evaluation context
$PRINTER -- result printer (default: print_dumper)
<<less@compls = completions($string [, $type])
Find a list of completions for $string with glob type $type. Completion operates on word subparts separated by [:_], so e.g. "S:m_w" completes to "Sepia::my_walksymtable".
@locs = location(@names)
Return a list of [file, line, name] triples, one for each function name in @names.
@matches = apropos($name [, $is_regex])
Search for function $name, either in all packages or, if $name is qualified, only in one package. If $is_regex is true, the non-package part of $name is a regular expression.
@names = mod_subs($pack)
Find subs in package $pack.
@decls = mod_decls($pack)
Generate a list of declarations for all subroutines in package $pack.
$info = module_info($module, $type)
Emacs-called function to get module information.
$file = mod_file($mod)
Find the likely file owner for module $mod.
@mods = package_list
Gather a list of all distributions on the system. XXX UNUSED
@mods = module_list
Gather a list of all packages (.pm files, really) installed on the system, grouped by distribution. XXX UNUSED
@mods = doc_list
Gather a list of all documented packages (.?pm files, really) installed on the system, grouped by distribution. XXX UNUSED
lexicals($subname)
Return a list of $subnames lexical variables. Note that this includes all nested scopes -- I dont know if or how Perl distinguishes inner blocks.
$lisp = tolisp($perl)
Convert a Perl scalar to some ELisp equivalent.
printer(@res [, $iseval])
Print @res appropriately on the current filehandle. If $iseval is true, use terse format. Otherwise, use human-readable format.
repl(*FH)
Execute a command interpreter on FH. The prompt has a few bells and whistles, including:
* Obviously-incomplete lines are treated as multiline input.
* C< die > is overridden to enter a recursive interpreter at the point
C< die > is called. From within this interpreter, you can examine a
backtrace by calling "bt", return from C< die > with "r EXPR", or
go ahead and die by pressing Control-c.
Behavior is controlled in part through the following package-globals:
$PS1 -- the default prompt
$STOPDIE -- true to enter the inspector on die()
$STOPWARN -- true to enter the inspector on warn()
%REPL -- maps shortcut names to handlers
$PACKAGE -- evaluation package
$WANTARRAY -- evaluation context
$PRINTER -- result printer (default: print_dumper)
Download (0.081MB)
Added: 2007-05-08 License: Perl Artistic License Price:
899 downloads
Morla 0.13
Morla is an editor of RDF documents, written in C for the GNU/Linux operating system. more>>
Morla is an editor of RDF documents, written in C for the GNU/Linux operating system. It is based on libnxml and librdf libraries.
With Morla you can manage more RDF documents simultaneously, visualize graphs and use templates for quick writing.
With Morla you can import RDFS documents and use its content to write new RDF triples. Templates are also RDF documents and they make Morla easily personalizeble and expandable.
You can also use Morla as RDF navigator, wandering among the net knots of the RDF documents present on internet exactly as we are used to do with normal browsers.
Morla is a free software project released under the GPL v2.0 license.
<<lessWith Morla you can manage more RDF documents simultaneously, visualize graphs and use templates for quick writing.
With Morla you can import RDFS documents and use its content to write new RDF triples. Templates are also RDF documents and they make Morla easily personalizeble and expandable.
You can also use Morla as RDF navigator, wandering among the net knots of the RDF documents present on internet exactly as we are used to do with normal browsers.
Morla is a free software project released under the GPL v2.0 license.
Download (0.67MB)
Added: 2007-07-24 License: GPL (GNU General Public License) Price:
823 downloads
Redland RDF library 1.0.6
Redland RDF library is an RDF (Resource Description Framework) library. more>>
Redland RDF library is a set of free software packages that provide support for the Resource Description Framework (RDF).
Main features:
- Modular, object based libraries written in C.
- APIs for manipulating the RDF graph, triples, URIs and Literals.
- Triple sequences for efficient streaming.
- Parsers and Serializers for reading and writing RDF as RDF/XML, N-Triples and Turtle Terse RDF Triple Language syntaxes via the Raptor RDF Parser Toolkit.
- Storage for graphs in memory, with Sleepycat/Berkeley DB, MySQL 3/4, AKT Triplestore, SQLite, files or URIs.
- Querying with RDQL and SPARQL using the Rasqal RDF Query Library.
- Redland contexts for managing data aggregation and recording provenance.
- Language Bindings in C#, Java, Obj-C, Perl, PHP, Python, Ruby and Tcl via the Redland Bindings package.
- Command line utility programs rdfproc (RDF), rapper (parsing) and roqet (query).
- Portable, fast and with no known memory leaks.
Enhancements:
- The code was updated to use Rasqal RDF query library 0.9.14 and Raptor RDF parser/serializer library 1.4.15.
- A new transaction API was added, implemented with MySQL for consistent changes to the graph.
- A new query results formatter class was added.
- Many other bugs were fixed.
<<lessMain features:
- Modular, object based libraries written in C.
- APIs for manipulating the RDF graph, triples, URIs and Literals.
- Triple sequences for efficient streaming.
- Parsers and Serializers for reading and writing RDF as RDF/XML, N-Triples and Turtle Terse RDF Triple Language syntaxes via the Raptor RDF Parser Toolkit.
- Storage for graphs in memory, with Sleepycat/Berkeley DB, MySQL 3/4, AKT Triplestore, SQLite, files or URIs.
- Querying with RDQL and SPARQL using the Rasqal RDF Query Library.
- Redland contexts for managing data aggregation and recording provenance.
- Language Bindings in C#, Java, Obj-C, Perl, PHP, Python, Ruby and Tcl via the Redland Bindings package.
- Command line utility programs rdfproc (RDF), rapper (parsing) and roqet (query).
- Portable, fast and with no known memory leaks.
Enhancements:
- The code was updated to use Rasqal RDF query library 0.9.14 and Raptor RDF parser/serializer library 1.4.15.
- A new transaction API was added, implemented with MySQL for consistent changes to the graph.
- A new query results formatter class was added.
- Many other bugs were fixed.
Download (0.43MB)
Added: 2007-05-06 License: GPL (GNU General Public License) Price:
902 downloads
Ezail 0.3.2
Ezail provides an application for securely transferring files of any size. more>>
Ezail provides an application for securely transferring files of any size.
ezail is an application for securely transferring files of any size through the Internet.
Files are sent directly from senders to recipients without servers, with no limits on attachment sizes, no mailbox quotas, and no bounced messages.
Unlike email, the identity of senders and recipients is authenticated by signed certificates. Files sent are encrypted end-to-end with the Triple-DES algorithm.
<<lessezail is an application for securely transferring files of any size through the Internet.
Files are sent directly from senders to recipients without servers, with no limits on attachment sizes, no mailbox quotas, and no bounced messages.
Unlike email, the identity of senders and recipients is authenticated by signed certificates. Files sent are encrypted end-to-end with the Triple-DES algorithm.
Download (0.58MB)
Added: 2007-04-27 License: Freeware Price:
910 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above triple triad silver search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed