Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.239.546 Times

PDL::Graphics::AquaTerm 0.02

  Date Added: August 03, 2010  |  Visits: 1.247

PDL::Graphics::AquaTerm

Report Broken Link
Printer Friendly Version


Product Homepage
Download (93 downloads)



PDL::Graphics::AquaTerm is a Perl module that provides access to the AquaTerm Mac OS-X graphics terminal. SYNOPSIS # example 1 use PDL; use PDL::Graphics::LUT; use PDL::Graphics::AquaTerm; my $x_size = 255; my $y_size = 255; aquaOpen({SIZE_X => $x_size, SIZE_Y => $y_size}); aquaSetColorTable(cat(lut_data(idl5))); my $a = xvals(zeroes(byte,$x_size,$y_size)); aquaBitmap($a); # example 2 use PDL; use PDL::Graphics::AquaTerm; my $x_size = 255; my $y_size = 255; aquaOpen({WIN_NUM => 1, SIZE_X => $x_size, SIZE_Y => $y_size}); my $a = sin(xvals(zeroes(float, $x_size, $y_size)) * 0.1); aquaBitmap($a, {AUTO_SCALE => 1}); This module interfaces PDL directly to the AquaTerm Mac OS-X graphics terminal. It is primarily intended for quickly and easily displaying bitmap images. The coordinate system is defined by the window size (given in pixels) with (0,0) at the bottom left corner of the window. This means that if the window is set to be 300 x 200, then the bottom left corner will have coordinates (0,0) and the upper right corner will have coordinates (300,200). Anything that is drawn outside this boundary will be automatically clipped. FUNCTIONS aquaOpen Open a new AquaTerm window Usage: aquaOpen(); # open the window with the defaults Usage: aquaOpen({SIZE_X => 200, SIZE_Y => 200, BACK_COLOR => [0.0, 0.0, 0.0]}); Opens a new AquaTerm window, it also starts AquaTerm if necessary. Options recognized : SIZE_X - window x size in pixels (default = 400) SIZE_Y - window y size in pixels (default = 300) WIN_NUM - The window number, used by the drawing commands to specify which window to draw in WIN_TITLE - A title for the window, if desired (default = "Aquaterm.pm") BACK_COLOR - [r, g, b] the windows background color (default = [1.0, 1.0, 1.0], i.e. white) WARN_ON - set to 1 to turn on warning messages, 0 to turn off (default = 1) DEBUG_ON - set to 1 to turn on debugging message, 0 to turn off (default = 0) aquaBitmap Display a PDL as a bitmap. Usage: aquaDisplay($my_img); # display $my_img as a bitmap in the currently open window Usage: aquaDisplay($my_img, {AUTO_SCALE => 1.0, TEXT => "my image", TEXT_C => [1.0, 0.0, 0.0]}); Displays a PDL as a bitmap. The PDL can be of size either (m,n) or (3,m,n). PDLs of size (m,n) are converted to indexed color based on the current color table (see aquaSetColorTable). PDLs of size (3,m,n) are displayed as true-color images with the first dimension specifying the color (RGB). Unless a re-scaling is specified, the minimum value displayed is 0.0 and the maximum is 255.0. Options recognized : DEST_X - position of the left side of the bitmap in pixels (default = 0) DEST_Y - position of the bottom of the bitmap in pixels (default = 0) DEST_W - width of the bitmap to be displayed (default = width of the PDL) DEST_H - height of the bitmap to be displayed (default = height of the PDL) AUTO_SCALE - if set equal to 1, the PDL will be rescaled such that its minimum value is 1 and its max is 255 (default = 0) M_MIN - the minimum value to be displayed (default = 0.0) M_MAX - the maximum value to be displayed (default = 255.0) WIN_NUM - specify which window to draw in (default = current window) TEXT - text to display on the bitmap TEXT_X - x location of the text in pixels (default = 6) TEXT_Y - y location of the text in pixels (default = 10) TEXT_C - RGB color of the text, (default = [0.0, 0.0, 0.0], i.e. black) aquaSetColorTable Set the color table Usage: aquaSetColorTable(cat(lut_data(idl5))); # set the color table to idl5 Makes a local copy of a user supplied color table. The color table must be a 256 x 4 pdl of the form (l,r,g,b), as would be generated by the command $ct = cat(lut_data("xyz")). The l value is ignored. The r, g and b values should be in the range 0.0 - 1.0. aquaPolyLine Draws a (2,n) PDL as a line Usage: aquaPolyLine($line, {WIDTH => 3, COLOR => [0.0, 0.0, 0.0]}); # draw $line black with width 3 Draw a poly-line between a set of points given by a PDL of size (2,n). The first dimension of the PDL gives the x & y position of the individual points, n is the total number of points. Options recognized WIN_NUM - which window to draw the line in ERASE - clear the selected window prior to drawing the line WIDTH - line width (default = 1) CAPS - line cap style, Im still unsure exactly what this is... COLOR - RGB color of the line (default is black) aquaText Draw text # draw red hello world at position 20, 30 in the current window Usage: aquaText("hello world", X => 20, Y => 30, COLOR => [1.0, 0.0, 0.0]); Draws text. Options recognized WIN_NUM - which window to draw the text in ERASE - clear the current window prior to drawing the text NAME - name of the font to use (default = "Times-Roman") ANGLE - angle to display the text relative to the horizontal in degrees (default = 0.0) X - position in the window of the text anchor point (which depends on the justification of the text) (default = 6) Y - position in the window of the bottom of the text (default = 10) JUST - text justification, left = 0, center = 1, right = -1? (default = 0) SIZE - font size in points (default = 12) COLOR - text color (default is black) aquaMouse = for ref Returns location of next mouse click in the active window = for usage ($mx, $my) = aquaMouse(); Returns the location of the next mouse click in the active window as a 2 element array. The elements of the array are the x and y coordinates of the mouse click in pixels. The coordinates are relative to the bottom left corner of the active area of the window. Options recognized WIN_NUM - which window to get the mouse click in.

Requirements: No special requirements
Platforms: Linux
Keyword: Aquaterm Aquaterm Mac Os Bottom Left Corner Color Table Default Dest Mac Os-x Mouse Click Num Pdl Perl Module Size To Turn Window
Users rating: 0/10

License: Freeware Size: 8.19 KB
USER REVIEWS
More Reviews or Write Review


PDL::GRAPHICS::AQUATERM RELATED
Wallpaper Tools  -  Mac OS X Bundle 2.1
Mac OS X Bundle provides a Mac OS X-like theme for GTK. "Mac OS X Bundle" includes:. Mac OS X Bundle GNOME-Look.org Community Portal for Gnome Themes Wallpapers Icons Sounds Screenshots Schemes Skins Skinz Screensavers Splash Screens News Forum...
 
Utilities  -  SMS Widget for Mac OS X 1.0
SMS Widget for Mac OS X from CardBoardFish is a complete Dashboard text messaging solution, making it quick and easy to send and receive texts on your Mac. It is compatible with Mac OS X 10.4 Tiger and later, The application supports the ability...
399.36 KB  
Miscellaneous  -  Gather detailed system information on Mac OS X 1.0
This script uses the system_profiler application to retrieve detailed information about a Mac OS X system.There are two useful ways to use it: the first is to ask for a complete Python datastructure containing information about the system (see...
 
Macintosh Software  -  NTFS for Mac OS X Yosemite Preview Preview
NTFS for Mac OS X Yosemite Preview. The first NTFS driver to support OS X Yosemite Developers Preview. Free of charge and extremely easy to use. Advanced support of the HFS+ and NTFS file system features. Fast and transparent access to...
10.49 MB  
Shell & Desktop  -  OS X Login Screen 1.2
OS X Login Screen is a very accurate OS X login Screen Mimic for Kubuntu Linux.. OS X Login Screen KDE-Look.org Community Portal for KDE Themes Wallpapers Icons Sounds Screenshots Schemes Skins Skinz Screensavers Splash Screens K-Jofol IceWM...
317.44 KB  
Science  -  AquaTerm (Mac OS X graphics terminal) rc.1.0.1
AquaTerm is a Mac OS X grahics renderer. It allows command line applications written in ObjC, C, FORTRAN, Lisp, Perl or Python to display vector graphics, text and images using a simple API. Adapters for gnuplot, PGPLOT, and PLplot exists as well.
298.65 KB  
Multimedia & Graphics  -  Windows Media Player for Mac OS X .0 9
Windows Media Player for Mac OS X Sporting a new brushed steel skin for Apples newest operating system, this new version of our player opens the world of Windows Media 9 content to Macintosh users, enabling them to access the best audio and video...
7.7 MB  
MP3 Tools  -  Audacity for Mac OS X 1. 2. 2005
Audacity is a free, easy-to-use audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems. You can use Audacity to: * Record live audio. * Convert tapes and records into digital recordings or CDs. * Edit Ogg...
3.4 MB  
Desktop Utilities  -  LuaLua Mac OS X Desktop Icons - For Dog Lovers 1
About LuaLua Mac OS X Desktop Icons - For Dog Lovers This icon set called, “For Dog Lovers," is the first volume of a series from Lua Lua Icons to be released by Phelios. Included in the set are 6 icons of popular dog breeds: - Bostielu (Boston...
317.44 KB  
Macintosh Software  -  Jigsaw Puzzle Player (Mac OS X edition) 1.0.4
Play jigsaw puzzles on your Mac OS X computer, it's just like the real thing but without the hassle. The free JPP software includes several free jigsaw puzzles. More puzzles are available from the www.jigsawpuzzleplayer.com website. JPP lets you...
2.19 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB