SEAL Forum Index SEAL
The SEAL Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

struct t_rect problem ?

 
Post new topic   Reply to topic    SEAL Forum Index -> Programming Related
View previous topic :: View next topic  
Author Message
Francesco



Joined: 16 Jul 2002
Posts: 8

PostPosted: Mon Sep 16, 2002 11:33 am    Post subject: struct t_rect problem ? Reply with quote

Hallo wat is this

typedef struct t_rect {


struct t_point a; // a is ? ("normal left top ");
struct t_point b; // b is ? ("normal width , height ");

} t_rect;


t_point a // this have 2 var x,y


ciao..
Back to top
View user's profile Send private message
orudge
Administrator


Joined: 07 Oct 2001
Posts: 1332
Location: United Kingdom

PostPosted: Tue Sep 17, 2002 5:27 am    Post subject: Reply with quote

a is the point of the top left. b is the point of the bottom right.

So the top left = a.x, top right = b.x, bottom left = a.x, bottom right = b.y. I think. I'm a bit busy right now (work experience) so I may be wrong or confused.
_________________
Owen Rudge
http://www.owenrudge.net/

Currently Playing (last time I was online, anyway):
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SEAL Forum Index -> Programming Related All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group