Re: Fonts in TableView

2016-11-05 Thread Quincey Morris
On Nov 5, 2016, at 21:44 , Gerriet M. Denkmann wrote: > > NSRect boundingRect = tableFont.boundingRectForFont; > self.outlineView.rowHeight = ceil( boundingRect.size.height ) This is probably a poor choice, for reasons that probably will seem illogical: 1. The bounding box height s

Fonts in TableView

2016-11-05 Thread Gerriet M. Denkmann
macOS 12.1 TableView and OutlineView (View Based) use: - (void)awakeFromNib NSRect boundingRect = tableFont.boundingRectForFont; self.outlineView.rowHeight = ceil( boundingRect.size.height ) and sets attributedStringValue (using the tableFont). This works mostly ok. But for ta

Re: Obtaining the color of the screen at a known point

2016-11-05 Thread Carl Hoefs
On Nov 5, 2016, at 5:15 PM, Richard Charles wrote: > >> On Nov 5, 2016, at 5:50 PM, Carl Hoefs >> wrote: >> >> I have an iOS app in which the user touches the screen, and I need to read >> the color of screen at the touched point. How can this be done in iOS 9.3? > > OpenGL ES glReadPixels?

Re: Obtaining the color of the screen at a known point

2016-11-05 Thread Richard Charles
> On Nov 5, 2016, at 5:50 PM, Carl Hoefs wrote: > > I have an iOS app in which the user touches the screen, and I need to read > the color of screen at the touched point. How can this be done in iOS 9.3? OpenGL ES glReadPixels? --Richard Charles _

Obtaining the color of the screen at a known point

2016-11-05 Thread Carl Hoefs
I have an iOS app in which the user touches the screen, and I need to read the color of screen at the touched point. How can this be done in iOS 9.3? The only solution I could find uses CGDisplayCreateImageForRect() and CGDisplayAddressForPosition(), which apparently no longer exist. -Carl __