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

Tk_CreateImageType 804.027

  Date Added: October 22, 2010  |  Visits: 678

Tk_CreateImageType

Report Broken Link
Printer Friendly Version


Product Homepage
Download (95 downloads)



Tk_CreateImageType is a Perl module to define new kind of image. SYNOPSIS #include < tk.h > Tk_CreateImageType(typePtr) ClientData Tk_GetImageMasterData(interp, name, typePtrPtr) ARGUMENTS Tk_ImageType *typePtr (in) Structure that defines the new type of image. Must be static: a pointer to this structure is retained by the image code. Tcl_Interp *interp (in) Interpreter in which image was created. char *name (in) Name of existing image. Tk_ImageType **typePtrPtr (out) Points to word in which to store a pointer to type information for the given image, if it exists. Tk_CreateImageType is invoked to define a new kind of image. An image type corresponds to a particular value of the type argument for the image create command. There may exist any number of different image types, and new types may be defined dynamically by calling Tk_CreateImageType. For example, there might be one type for 2-color bitmaps, another for multi-color images, another for dithered images, another for video, and so on. The code that implements a new image type is called an image manager. It consists of a collection of procedures plus three different kinds of data structures. The first data structure is a Tk_ImageType structure, which contains the name of the image type and pointers to five procedures provided by the image manager to deal with images of this type: typedef struct Tk_ImageType { char *name; Tk_ImageCreateProc *createProc; Tk_ImageGetProc *getProc; Tk_ImageDisplayProc *displayProc; Tk_ImageFreeProc *freeProc; Tk_ImageDeleteProc *deleteProc; } Tk_ImageType; The fields of this structure will be described in later subsections of this entry. The second major data structure manipulated by an image manager is called an image master; it contains overall information about a particular image, such as the values of the configuration options specified in an image create command. There will usually be one of these structures for each invocation of the image create command. The third data structure related to images is an image instance. There will usually be one of these structures for each usage of an image in a particular widget. It is possible for a single image to appear simultaneously in multiple widgets, or even multiple times in the same widget. Furthermore, different instances may be on different screens or displays. The image instance data structure describes things that may vary from instance to instance, such as colors and graphics contexts for redisplay. There is usually one instance structure for each -image option specified for a widget or canvas item..

Requirements: No special requirements
Platforms: Linux
Keyword: Createimagetype Data Structure Image Kind Of Libraries Name New New Kind Perl Module Programming Structure Tk Tkcreateimagetype Type
Users rating: 0/10

License: Freeware Size: 5.7 MB
USER REVIEWS
More Reviews or Write Review


TK_CREATEIMAGETYPE RELATED
Libraries  -  GraphViz::Data::Structure 0.15
GraphViz::Data::Structure can visualise data structures. SYNOPSIS use GraphViz::Data::Structure; my $gvds = GraphViz:Data::Structure->new($data_structure); print $gvds->graph()->as_png; This module makes it easy to visualise data...
40.96 KB  
Miscellaneous  -  Union Find data structure 1.0
This script implements the Union Find data structure and algorithm. This data structure allows one to find out which set an object belongs to, as well as join two sets. The algorithm's performance, given m union/find operations of any ordering, on...
 
Programming  -  Data Structure & Algorithm Library(DSAL) 1.0.51
The Data Structure & Algorithm Library (DSAL) is a library of classical data structure and algorithm.
55.37 KB  
Development Tools  -  Data Structure: A Cell Array List Container 1.0
Intent: Provides a useful 1D data structure (or container) for storing an ordered heterogeneous set of elements.Motivation: MATLABdlT« R2009a provides the "containers.Map" data structure for storing an unordered heterogeneous set of elements -...
30.72 KB  
Miscellaneous  -  An interval mapping data structure 1.2
This structure is a kind of dictionary which allows you to map data intervals to values. You can then query the structure for a given point, and it returns the value associated to the interval which contains the point.Boundary values don't need to...
 
Libraries  -  Image::MetaData::JPEG::Structures 0.15
Image::MetaData::JPEG::Structures is a Perl module that describes the structure of a JPEG file; it is an appendix to the main manual page of the Image::MetaData::JPEG module, which the reader should refer to for further details and the general...
286.72 KB  
Libraries  -  Erwin Data Structures 2.1.58633
Erwin Data Structures is a library that is meant to be the ultimate data structure library for mixed usage of C and C++. Arbitrary key and value types are implemented by template files that dont use C++ templates, but are instantiated by a Perl...
686.08 KB  
Libraries  -  Data::Diff 0.01
Data::Diff is a data structure comparison module. SYNOPSIS use Data::Diff qw(diff); # simple procedural interface to raw difference output $out = diff( $a, $b ); # OO usage $diff = Data::Diff->new( $a, $b ); $new = $diff->apply();...
6.14 KB  
Libraries  -  Image::WorldMap 0.14
Image::WorldMap is a Perl module to create graphical world maps of data. SYNOPSIS use Image::WorldMap; my $map = Image::WorldMap->new("earth-small.png", "maian/8"); $map->add(4.91, 52.35, "Amsterdam.pm"); $map->add(-2.355399, 51.3828,...
84.99 KB  
Libraries  -  Tk_CreateItemType 804.027
Tk_CreateItemType is a Perl module that define new kind of canvas item. SYNOPSIS #include Tk_CreateItemType(typePtr) Tk_ItemType * Tk_GetItemTypes() ARGUMENTS Tk_ItemType *typePtr (in) Structure that defines the new type of canvas...
5.7 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