Re: PDFKit: translate point coordinates from view coordinates into page coordinates

2012-03-27 Thread Alvaro Costa Neto
ground (the PDFView itself in this case) before converting to/from page coordinates. I don't know if the convert methods take scale factor into account, but I believe they do. Best regards, Alvaro Costa Neto Em 27/03/2012, às 08:19, Nick escreveu: > Hello > > I would like to place a

Re: Image Colours

2012-03-03 Thread Alvaro Costa Neto
st make sure that it will work with you colored pictures (these algorithms are commonly intended to be applied to grayscale images). I hope that helps. Abraços, Alvaro Costa Neto Em 03/03/2012, às 10:17, Amy Heavey escreveu: > Hi, > > I've got an app that is a custom app for

Re: Animated NSSplitView headache

2012-02-10 Thread Alvaro Costa Neto
the collapsed subview's frame has zero width/height. This may not be true if the user has manually dragged the divider and collapsed the subview. To finish it up, only reenable the autosize mechanisms when the subview has finished uncollapsing. This will prevent the autosize algorithms from

Re: Animating NSSplitView collapse/uncollapse

2012-02-05 Thread Alvaro Costa Neto
ew's subviews before doing the animation and getting it back to normal after uncollapsing. This way, their sizes will not get zeroed; - If the uncollapsing view is not getting back to the original size, it's most probably the first problem I explained earlier: delegate. I hope this hel

PDFView standard notes view

2012-01-05 Thread Alvaro Costa Neto
Hi folks! Is there a way to toggle (show/hide) the default notes view---it's the one that appears on the left side of the pages---for a PDFView, like Preview.app does via "View -> Show/Hide Notes"? I've been searching around in documentation and in header files, with no success. The target is M

Re: Displaying a custom sheet

2011-04-12 Thread Alvaro Costa Neto
Hi, Check if the "Visible At Launch" checkbox for your sheet is unchecked in Interface Builder. If this checkbox is checked, your sheet will appear floating in the middle of the screen on the first run, instead of below the window title bar as intended. Best regards, Alvaro Costa N

Re: Core Animation vs. Basic Cocoa Graphics

2010-03-11 Thread Alvaro Costa Neto
ac ways of programming may be of more use to you than me. Hope that helps. Best regards, Alvaro Costa Neto On Mar 11, 2010, at 11:13 PM, Mazen M. Abdel-Rahman wrote: > Thanks everyone for your help on this. > > I started using an image cache - but that did not improve the performa