Google Groups Home
Help | Sign in
Message from discussion Coordinate System
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
Simone Tellini  
View profile
 More options Aug 15 2007, 6:34 am
From: Simone Tellini <simone.tell...@gmail.com>
Date: Wed, 15 Aug 2007 03:34:17 -0700
Local: Wed, Aug 15 2007 6:34 am
Subject: Re: Coordinate System

allpowert...@gmail.com wrote:
> Has anyone figured out the coordinate system for the mfc-rect? I

it's the usual (unless you're on a Mac ;-) coordinate system: (0,0) is
the top-left corrner of the screen, y increases towards the bottom of
the screen.

> figured out the systems are RECT (50,y,800,y). The positions and other

the rect components are (x,y,width,height)

Width is pretty much a constant (although I wouldn't assume it is),
the others vary according to how much stuff there is in the system.

The position of most of the other elements is not saved in the PTB
file, but it can be computed based on the many XXXSpacing attributes
and the content of the system.

--
Simone Tellini
http://www.tellini.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google