Re: Placing Cells in an NSMatrix

2012-04-04 Thread Erik Stainsby
Small bit if knowledge to share. The stroke of the border is drawn centred over the line of the border. So your described 4pt line would intrude 2pts into the bounded area. I'm know if that will help any with understanding the left-shifting you have observed. Erik Stainsby erik.stain...@roaring

Re: Placing Cells in an NSMatrix

2012-04-04 Thread Peter Teeson
On 2012-04-04, at 6:52 PM, Peter Teeson wrote: > On 2012-04-04, at 5:02 PM, Fritz Anderson wrote: >> On 4 Apr 2012, at 2:20 PM, Peter Teeson wrote: >>> Given a 3 x 3 Matrix which is a sub-class of NSMatrix with Cells >>> sub-classed from NSButton >>> the X origins of column 0 cells seem to be 1.0

Re: Placing Cells in an NSMatrix

2012-04-04 Thread Peter Teeson
On 2012-04-04, at 5:02 PM, Fritz Anderson wrote: > On 4 Apr 2012, at 2:20 PM, Peter Teeson wrote: >> Given a 3 x 3 Matrix which is a sub-class of NSMatrix with Cells sub-classed >> from NSButton >> the X origins of column 0 cells seem to be 1.0 point inside the Matrix >> bounds. >> >> So if I w

Re: Placing Cells in an NSMatrix

2012-04-04 Thread Fritz Anderson
On 4 Apr 2012, at 2:20 PM, Peter Teeson wrote: > Given a 3 x 3 Matrix which is a sub-class of NSMatrix with Cells sub-classed > from NSButton > the X origins of column 0 cells seem to be 1.0 point inside the Matrix bounds. > > So if I want to stroke the Matrix bounds with a line width of e.g. 4

Placing Cells in an NSMatrix

2012-04-04 Thread Peter Teeson
Xcode 4.3, Lion 10.7.3 Given a 3 x 3 Matrix which is a sub-class of NSMatrix with Cells sub-classed from NSButton the X origins of column 0 cells seem to be 1.0 point inside the Matrix bounds. So if I want to stroke the Matrix bounds with a line width of e.g. 4.0 points it draws over the left a