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

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

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