![]() The red position indicators are also small windows that point to individual pixels in the ruler window. The best example is with the Ruler tool: the origin of the ruler can be positioned to both even and odd pixels on screen. The next big headache was caused because you can’t set a window’s frame using non-integral points. Yes, kids, that’s what we call a painful fricken’ hack. To deal with the first problem, I used an NSEvent category that clamps +mouseLocation results to valid coordinates.įor the second problem, the only workable solution was to capture the +mouseLocation and then track -keyDown: events so the arrow keys can home in on the destination pixel. The second is that the NSPoint does not contain enough resolution to address every pixel on screen. The first is that mouse coordinates can be reported for coordinates that do not exist on any attached screen. The team at Apple has done some amazing work making sure output looks stunning on the Retina display, but being able to get high-resolution input is definitely lacking. The first gotcha I encountered while doing the Retina update was with mouse input using NSEvent’s +mouseLocation. And that’s where the fun begins… Mouse Input xScope, however, does a lot of work with both pixels and points. Here’s hoping that sharing some of the things I learned along the way will help you with your own Retina work.įor most developers who are working strictly in window points, an update for the Retina display is a fairly straightforward process. The 68k to PowerPC, Carbon to Cocoa, and PowerPC to Intel transitions were no walk in the park, but this update really kicked my butt. As I alluded to on Episode 14 of The Talk Show, this update was harder than most. We've tried to anticipate most of the questions you might have, so be sure to check there prior to writing us.Today we released an update for xScope that supports the Retina display. Still have questions? Don't forget to visit our xScope Support page. Set any point on the screen as the origin.Reports the co-ordinate position of the mouse cursor.Save & load frame positions for later reference.Displays frames origin, aspect ratio, width & height.Create, move, duplicate & edit frames at will.Link and move multiple frames at the same time.Display preset grids to help compose frame layouts.Adjustable marker boxes float on top of the screen.Link and move multiple guides at the same time.Save & load guide positions for later reference.Displays distance between guides in pixels.Displays guide position in pixels when placed.Vertical & horizontal guides that float on top of all else on the screen.The content of the window or the mouse position can be locked.Loupe selections for pixel accurate measurements.Copy and paste Loupe infomation (image, color, etc).Displays co-ordinates of mouse cursor for reference.Displays color under your cursor in RGB, HSB or HEX.Magnify any portion of the screen under your mouse.Define custom area settings for any OS or browser.Pre-defined content area settings for latest browsers.Templates for the iPhone & Windows Mobile.Displays usable screen content areas for Mac or Win.Pre-defined screen templates or create your own.Easily see the usable real estate for any screen size.Snap ruler height, length & rotation to set increments.Fully adjustable horizontal & vertical lengths.Powerful on-screen rulers for pixel measurements.Create screen shots of any measured element.Copy captured dimensions to the clipboard.Shrink mode "lassos" objects to find width & height.Find distance between objects quickly & easily.Find the dimensions of anything on screen instantly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |