Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Rect_ operators overloading suggestion
Re: Rect_ operators overloading suggestion [message #13432 is a reply to message #13431] Sat, 05 January 2008 23:29 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
chickenk wrote on Sat, 05 January 2008 14:04

Thank you Mirek for your answer.

Unless it is too personal Wink I'd like to know about the reasons for current implementation. It would fill an empty space in my brain Smile

Thanks a lot
Lionel


Well, Size can also have "offset" meaning. Adding Size to top-left point of Rect you get bottom-right point. Therefore it seems logical to interpret adding a Size as offset.

Meanwhile, r.Inflate(sz) is not much more verbose and certainly has quite clear meaning Smile

Mirek

[Updated on: Sat, 05 January 2008 23:29]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A couple of issues with a test app
Next Topic: Dynamic Variable Names
Goto Forum:
  


Current Time: Fri May 10 01:31:16 CEST 2024

Total time taken to generate the page: 0.01957 seconds