How to draw a tilted ellipse in gtk drawing area?

2005-02-20 Thread roronoa zorro
Hello there: Does anybody know how to draw a tilted ellipse using gdk_draw_arc? It seems that the default behavior only draws ellipse with long-axis on horizontal or vertical axis. Thanks for any help! regards Guo _ 与联机的朋友进行交流,请使用 M

How to "drag a line" in drawing area?

2005-02-19 Thread roronoa zorro
Hello there: Does anybody know how to implement a drag-line function with drawing area? What i want is to draw a line from the start point to the current point in motion_notify_event. However, if i add the draw method in motion_notify_event it will draw lines from the start point to all the poi

about gtk canvas

2005-02-05 Thread roronoa zorro
Dear all: Hello there. I am new to GTK and i need some help urgently! I am currently doing a project that quires an image to be displayed and user should be allowed to select certain part of that image(ie draw things like circle on it). What should i use for such application? I have seen