[prev in list] [next in list] [prev in thread] [next in thread]
List: gtkmm
Subject: canvas coordinate
From: "Klaus Rudolph" <lts-rudolph () gmx ! de>
Date: 2012-12-07 15:14:34
Message-ID: 20121207151434.132910 () gmx ! net
[Download RAW message or body]
I started with gtkmm Gnome::Canvas::Canvas.
I am confused about the six? different coordinate systems inside the canvas.
Can someone give me a simple example how I can draw a line from the top left corner \
of the canvas to the center of the canvas?
All items I draw seems to be relative to some magic point. I read the coordinate \
description but could not find a method/function to call to get the absolute canvas \
pixel coordinates. I think I had not understood the basic system philosophy for this \
canvas system.
I used to write programs with Tcl/Tk and fltk. There are all points relative to the \
left/top corner of a canvas.
Any hints?
Regards
Klaus
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic