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
__
> 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
_
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?
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
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