I was just wondering if it would be alright to dual boot a machine with both UNIX using XTERM for the interface and windows 98 or if people consider this a bad idea? if you consider it bad do tell me some possible alternatives..also would it be better to get linux over pure unix? I'd like a visual... (8 Replies)
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Hi All,
I have got an echo statement with "\c" in it to avoid getting into a newline. Ths script is using #!\bin\sh
Any idea what could make it to escape "\c" (4 Replies)
txt file like this,
1 2 3 4456
a bb c d 3 f e
1 k 32 d m f e
123 m 2 k
every line contains 3 or more columns, all the columns are separated by space, and every column includes 1 to 3 character.
what I wanna do is deleting the first three columns, and keep the rest no matter how long... (7 Replies)
Hi all,
I am new to redhat/fedora linux.
In fedora linux 6,we created one file system(hda3 - /fs).
in this mount poing we were installed mounta vista os.
while booting we are getting below error messages.
1)
Booting 'mountaVisat(2.6.18_pro 500_pc_target-x86_586 smp)'
root(hd0,1)... (2 Replies)
Hi,
I have a shell script where a lot of the code is repeated. I wanted to make the code much more compact so I spoke to a guy and he suggested using arrays, like follows:
#!/bin/bash
readonly -a nginx=('nginx' '--prefix=/opt' '-j 4'
'http://nginx.org/download/nginx-1.2.2.tar.gz'
)... (2 Replies)
Hello Experts,
I am performing performance tests on a few mysql select queries.
I use the following command to clear the memory disk caches.
sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
I however see that the above command works on RHEL6 but doesn't work on Solaris 10.
I asked... (4 Replies)
Hello,
/proc/sys/net/ipv4/ip_local_port_range returns 32000 - 61000,
i have a client TCP and a Server TCP. i have used bind() only on the server, the port of socket client is given by the OS that's it ?
it retrieves this port from this range (/proc/sys/net/ipv4/ip_local_port_range) ?
... (5 Replies)
Discussion started by: chercheur111
5 Replies
LEARN ABOUT DEBIAN
gtk2::gdk::pixbuf::draw::cache
Gtk2::Gdk::Pixbuf::Draw::Cache(3pm) User Contributed Perl Documentation Gtk2::Gdk::Pixbuf::Draw::Cache(3pm)NAME
Gtk2::Gdk::Pixbuf::Draw::Cache - Cache for drawing scaled pixbufs
DESCRIPTION
Gtk2::Gdk::Pixbuf::Draw::Cache provides a cache that should be used by the Gtk2::ImageView::Tool when redrawing the Gtk2::ImageView.
HIERARCHY
Glib::Boxed
+----Gtk2::Gdk::Pixbuf::Draw::Cache
METHODS
cache = Gtk2::Gdk::Pixbuf::Draw::Cache->new
Returns a new pixbuf draw cache.
$cache->draw ($opts, $drawable)
o $opts (Gtk2::Gdk::Pixbuf::Draw::Opts)
o $drawable (Gtk2::Gdk::Drawable)
Redraws the area specified in the pixbuf draw options in an efficient way by using caching.
cache : a GdkPixbufDrawCache
opts : the Gtk2::Gdk::Pixbuf::Draw::Opts to use in this draw
drawable : a GdkDrawable to draw on
$cache->free
Deallocates a pixbuf draw cache and all its data.
$cache->invalidate
Force the pixbuf draw cache to scale the pixbuf at the next draw.
Gtk2::Gdk::Pixbuf::Draw::Cache tries to minimize the number of scale operations needed by caching the last drawn pixbuf. It would be
inefficient to check the individual pixels inside the pixbuf so it assumes that if the memory address of the pixbuf has not changed, then
the cache is good to use.
However, when the image data is modified, this assumtion breaks, which is why this method must be used to tell draw cache about it.
method = Gtk2::Gdk::Pixbuf::Draw::Cache->get_method ($old, $new)
o $old (Gtk2::Gdk::Pixbuf::Draw::Opts)
o $new (Gtk2::Gdk::Pixbuf::Draw::Opts)
Gets the fastest method to draw the specified draw options. old is assumed to be the last PixbufDrawOpts used and new is the one to use
this time.
ENUMS AND FLAGS
enum Gtk2::Gdk::Pixbuf::Draw::Method
o 'scale' / 'GDK_PIXBUF_DRAW_METHOD_SCALE'
o 'contains' / 'GDK_PIXBUF_DRAW_METHOD_CONTAINS'
o 'scroll' / 'GDK_PIXBUF_DRAW_METHOD_SCROLL'
SEE ALSO
Gtk2::ImageView, Glib::Boxed
COPYRIGHT
Copyright (C) 2007 by Jeffrey Ratcliffe.
This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice.
perl v5.14.2 2011-11-16 Gtk2::Gdk::Pixbuf::Draw::Cache(3pm)