How to center the text
- From: Jyothi <jyothi ncoretech com>
- To: gtk-list gnome org
- Subject: How to center the text
- Date: Thu, 21 Feb 2002 12:27:44 +0530
Hi,
I have drawn a rectangle using gdk_draw_rectangle. I am using
gdk_draw_string to write a char into that rectangle.
But every time I am manually centering the char inside the rectangle , I
mean by adjusting x an y position of char.
It is not accurately centered. Is there any function or way by which I
can center the char inside a drawn rectangle.
Thanks in Advance,
Jyothi.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]