RE: [gtk-list] plotting text on a pixmap
- From: "Arjan J. Molenaar" <arjan xirion nl>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: RE: [gtk-list] plotting text on a pixmap
- Date: Tue, 12 Oct 1999 08:55:27 +0200
> I am writing a CAD-like application, which needs to display text
> comments (sometimes angled) along with the usual line drawings.
>
> Is there a utility in gtk to print/plot text onto a pixmap?
>
>
> (If not, I will have to 'roll my own'... Are there docs on
> getting the
> graphic info of system fonts?)
>
> Thanks,
> John
Hi, You should use GDK functions to draw a pixmap (GdkPixmap). Their in gdk.h. You can use them the same way as if you ware drawing directly to the screen.
Maybe you want to take a look at my widget: http://www.linuxstart/com/~arjan/diacanvas. If you have any questions, please ask them.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]