Hi,
I would like to write a string to a pixmap, but have the string be rotated.
i.e. vertical text.
I have looked at the gdk_draw_string function, and font objects, and have
not managed to locate a switch to control text rotation.
Any hints on where I should be looking ??
I look forward to
If I wanted to use gif/jpeg files for icons or other images in the
application, what's my best route to take? GdkPixbuf and then use its
gdk_pixbuf_render_to_drawable() function?
-Andrei
Perl - the only language that looks the same
before and after RSA encryption. -Keith Bostic
You are doomed, GTK just uses the underlying X string-drawing
mechanism, and X does not support this.
The only thing you can do is use some sort of client-side font
rendering, then push a big bitmap of your string onto the X
server. People sometimes use FreeType for that.
Havoc
If you do,
Andrei Zmievski [EMAIL PROTECTED] writes:
If I wanted to use gif/jpeg files for icons or other images in the
application, what's my best route to take? GdkPixbuf and then use its
gdk_pixbuf_render_to_drawable() function?
Yep, since pixbuf will be in GTK 2 it's the clear choice for image
Havoc Pennington wrote:
You are doomed, GTK just uses the underlying X string-drawing
mechanism, and X does not support this.
Am I right in remembering that GTK has a pixmap rotation jobby? If so,
you could write a /fairly/ simple wrapper to write the text to a temporary
1-bit pixmap (there
Neil Bird [EMAIL PROTECTED] writes:
Am I right in remembering that GTK has a pixmap rotation jobby?
Nope. ;-) That's the fatal flaw in your plan! muhahahaha
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
Colin Thomas [EMAIL PROTECTED] writes:
Now I need to write to one of the drawing areas BEFORE the window has ever been
displayed, and had a configure_event.
Assuming you could do this, it would be a no-op; X/GTK does not remember
the contents of the drawing area. Only the visible contents
Havoc You are doomed, GTK just uses the underlying X string-drawing
Havoc mechanism, and X does not support this.
X itself doesn't, but the cool little xvertext package does. It can be
found in one of the contrib directories on the X.Org sites (http://www.x.org
or ftp://ftp.x.org).
Havoc Pennington wrote:
Neil Bird [EMAIL PROTECTED] writes:
Am I right in remembering that GTK has a pixmap rotation jobby?
Nope. ;-) That's the fatal flaw in your plan! muhahahaha
@rse. I know asclock does rotation somehow from when I was poking around
inside it, but now I come to think
Havoc Pennington [EMAIL PROTECTED] writes:
Colin Thomas [EMAIL PROTECTED] writes:
I would like to write a string to a pixmap, but have the string be rotated.
i.e. vertical text.
You are doomed, GTK just uses the underlying X string-drawing
mechanism, and X does not support this.
Well,
On 2001.05.04 17:12:36 +0200 Neil Bird wrote:
Havoc Pennington wrote:
Neil Bird [EMAIL PROTECTED] writes:
Am I right in remembering that GTK has a pixmap rotation jobby?
Nope. ;-) That's the fatal flaw in your plan! muhahahaha
@rse. I know asclock does rotation somehow from when I
You can change the orientation of Toolbar widgets. Why doesn't the Scale
class support an orientation attribute so you can avoid having separate
HScale and VScale widgets?
--
Skip Montanaro ([EMAIL PROTECTED])
(847)971-7098
___
gtk-list mailing
hi all,
i am developing a gui application in gtk with redhat linux6.2.
my application uses threads along with gtk.
i am creating an gui using gtk in one thread
and doing some processing in another thread.
based on some results in later thread , i insert some
text in the text widget in the
successfully compiling Glib-1.3.4 and after finally successfully
compiling Pango-0.15 I can't configure Gtk+-1.3.4. When I use
[...]
Did you look at the config.log errors? Did you look at /etc/ld.so.conf?
ld.so.conf is just a list of directories where you've installed stuff,
in this
On 04 May 2001 09:54:50 -0400
Havoc Pennington [EMAIL PROTECTED] wrote:
Colin Thomas [EMAIL PROTECTED] writes:
I would like to write a string to a pixmap, but have the string be rotated.
i.e. vertical text.
I have looked at the gdk_draw_string function, and font objects, and have
Havoc Pennington [EMAIL PROTECTED] writes:
Colin Thomas [EMAIL PROTECTED] writes:
I would like to write a string to a pixmap, but have the string be rotated.
i.e. vertical text.
I have looked at the gdk_draw_string function, and font objects, and have
not managed to locate a
Otto I did look at ld.so.conf but I wasn't sure how to change
Otto it. Adding /usr/local/lib and running ldconfig solved the
Otto problem. Could it be possible to print this library path in the
Otto error text. So I might have been able to fix it myself.
When install actions
17 matches
Mail list logo