RavensKrag / ThoughtTrace

Naturally chart out words in 2D space, mapping the relations between them. Even link to other ideas. Then, build your programs on top of the flow.
0 stars 0 forks source link

make sure coordinate system is specified with x+ right and y+ up #2

Open RavensKrag opened 10 years ago

RavensKrag commented 10 years ago

Gosu's default coordinate system has y+ being down the screen, which kinda makes sense when you're looking at just the screen. But this is rather weird for an application that defines an infinite canvas.

rectangle is totally fine (as long as everything is specified in interactive GUI mode) but I'm not sure what the consequences will be for Text objects if the coordinate system is upside-down relative to what it "should" be

mainly because the normalized_anchor for resize! may need to be specified code-side which can happen for Rectangle as well but is much more likely to be necessary for Text because there are many cases when automated resize will be required (see comments in text.rb right above #resize! definition for example cases)