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.284.467 Times

CAD::Drawing::IO::Tk 0.04

  Date Added: September 06, 2010  |  Visits: 1.614

CAD::Drawing::IO::Tk

Report Broken Link
Printer Friendly Version


Product Homepage
Download (100 downloads)



CAD::Drawing::IO::Tk is a Perl module with GUI I/O methods for CAD::Drawing. This module is considered extremely pre-ALPHA and its use is probably deprecated by the time you read this. Methods There is no constructor for this class, its methods are inherited via CAD::Drawing::IO Thoughts Need to re-structure the entire deal to have its own object which belongs to the drawing object (or does the drawing object belong to this object?) Either way, we need to be able to build-up into interactive commands (possibly using eval("$drw->$command"); ?) Ultimately, the focus here will likely drift toward supporting perlcad and enabling use of perlcad from within CAD::Drawing scripts. However, the nature of lights-out scripting vs the nature of on-screen drafting is quite different, so there will be some tricks involved. Once each entity has its own class, the ability to install callbacks and the resolution of notifications should get easier. But, there will still be the issue that a debug popup does not know it will appear when the entities are created, while a drafting viewport does (or does it?) Possibly, adding a list of tk-ids to each $obj as it is drawn would be a good starting point, but this gets us into trouble with multiple viewports. show Creates a new window (no options are required.) $drw->show(%options); Available Options forkokay => bool -- Attempt to fork the new window window => MainWindow -- Use the pre-existing Tk object stl => Message -- Use pre-existing Message widget size => [W,H] -- Specify window size in pixels width => W -- alias to size height => H -- ditto center => [X,Y] -- Center the drawing at (X,Y) scale => factor -- Zoom by factor (default to fit) bgcolor => color -- defaults to "white" hang => boolean -- if not, you just get the canvas widget items => @list -- sorry, not compatible with select_addr :( Draw Draws geometry on the Tk canvas $cnv. List of items to draw must be specified via addresses stored in $options{items}. The newest fad (:e) is the $options{tag} argument, which uses addr_to_tktag() to tag the item. $drw->Draw($cnv, %options); tkbindings Setup the keybindings. $drw->tkbindings($mw, $cnv); text_size_reset text_size_reset($cnv); free_dist free_dist(); windowzoom Creates temporary bindings to drawing a rubber-band box. windowzoom($cnv); tksetview No longer used $drw->tksetview($cnv, %options); scalebox Returns the scaling required to create a view which most closely matches @ext to @size of canvas. $scale = $drw->scalebox(@size, @ext); dsp subroutine refs each of these should do everything necessary to draw the item on the canvas (but they might like to have a few options available?) and then return a list of the Tk ids of the created items. Caller will then assign identical tags to each id which is returned by each per-entity call. tkpoint Returns only the first and second element of an array reference as a list. @xy_point = tkpoint(@pt); addr_to_tktag Returns a stringified tag of form: ### ### my $tag = $drw->addr_to_tktag($addr); tktag_to_addr Returns an anonymous hash reference which should serve as an address, provided that $tag is a valid < layer >###< type >###< id > tag (and that the entity exists in the $drw object (check this yourself.) my $addr = $drw->tktag_to_addr($tag);.

Requirements: No special requirements
Platforms: Linux
Keyword: Cad Caddrawingiotk Cnv Gui Gui I I O Methods Io Libraries Methods Module Object Perl Module Size Tag
Users rating: 0/10

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


CAD::DRAWING::IO::TK RELATED
Libraries  -  Transparent Parallel I/O Environment 20050912
Transparent Parallel I/O Environment is a software environment (written in C++) that facilitates the implementation of external memory algorithms. The goal of theoretical work in the area of external memory algorithms (also called I/O algorithms...
1.1 MB  
Libraries  -  CAD::Drawing::IO 0.26
CAD::Drawing::IO are I/O methods for the CAD::Drawing module. This module provides the load() and save() functions for CAD::Drawing and provides a point of flow-control to deal with the inheritance and other trickiness of having multiple formats...
39.94 KB  
Libraries  -  Useful Terminal I/O Library 1.2
The Useful Terminal I/O library is a an alternative to ncurses for working with terminfo-defined terminals. Included are raw terminfo string access and output, an efficient buffered output system, and a keyboard driver. Whats New in This...
55.3 KB  
Utilities  -  benchmark i/o workload generation 1.0
benchmark i/o workload generation is a handy and accessible tool that lets you quickly perform i/o benchmarks against your servers. It also allows VM's to quickly diagnose suspect storage (SAN, NAS) and other performance related issues across...
 
Development Editors  -  Simulator Debugger Customizing Kit PDxxSIM I/O DLL Kit 1.20
Simulator Debugger Customizing Kit PDxxSIM I/O DLL Kit supports the creation of I/O DLLs. The I/O DLL refers to a DLL that operates in cooperation with the simulator engine of the M3T-PDxxSIM. Once the necessary settings are made, the M3T-PDxxSIM...
 
File Utilities  -  I/O Grind 0.0.3
I/O Grind software is an I/O simulator & rendering tool. To get an instant idea of what iogrind can show you type: $ ./autogen.sh $ make demo However, in order to use it in anger, you need several things:
4.08 MB  
Board Games  -  A(X)I(O) 2.0
A(X)I(O) is a computer version of the very popular game Tic-Tac-Toe, it's name comes from the combination of the words "AI" and "XO". AXIO is equiped with a simple, yet extremely powerful, AI which will enable you to play at 8 different levels.
21 KB  
Programming  -  PHP Mulitplexed I/O 0.1
The PHP Multiplexed I/O library is an object oriented PHP5 library for managing multiplexed (or non-blocking) I/O. It is loosely based on the selectable channels nonblocking IO implementation from Java's NIO package.
7.77 KB  
Programming  -  File I/O Amanuensis 6.0
File I/O Amanuensis is a teaching tool that generates sample Java source code to read or write the console, a sequential file, a random access file, a String, an array of characters, an array of bytes, URL, HTTP CGI GET/POST, Socket or Pipe.
1.04 MB  
Desktop Toys  -  Disk I/O Space Screenlet 0.8
DiskIOSpace is a screenlet that shows the load of HDD and I/O of device/partition. WARNING! Screenlet depends on iostat utility that's located in the sysstat package! You needed to install systat on your system! Led Bar Gauge...
10.24 KB  
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