On Nov 9, 2013, at 23:05, Adam R. Maxwell wrote:

> 
> On Nov 9, 2013, at 02:08 , Christiaan Hofman <[email protected]> wrote:
> 
>> The latter problem is because the resizing takes a zero size as a sign that 
>> this is just added by the tool mode and therefore adapts the drag handle to 
>> the drag direction rather than having it fixed (in 
>> dragAnnotationWithEvent:). So much more should be changed if the initial 
>> size is changed.
>> 
>> I wonder what really gets the problem: drawing the small note, or perhaps 
>> the redisplay. What happens if you change in PDFView(SKExtensions) 
>> setNeedsDisplayForAnnotation:onPage:, or perhaps 
>> setNeedsDisplayInRect:ofPage: to handle small notes differently?
> 
> I think it's a drawing issue. From the sample, it looks to me like they've 
> got a math issue in spline interpolation, if you look at where it's hanging. 
> I'm not sure what to try in the display methods to work around that.
> 

I was thinking of checking the aRect in [PDFView(SKExtensions) 
setNeedsDisplayForRect:ofPage:], and make it larger when it's too small. But 
when it's the drawing of the note that would not make any difference.

But I have an idea for an alternative, adding the note in 
dragAnnotationWithEvent: instead at the first mouseDragged.

> Also, the tests for "Debug" in the build shell scripts no longer work in 
> Xcode 5, which explains why it was taking so damn long to build each time. 
> BUILD_STYLE is no longer set, and CONFIGURATION seems to be the appropriate 
> variable. This makes debugging much less painful, though Xcode 4 & 5…ugh.

Does the test [ "${BUILD_STYLE}" = "Debug" -o "${CONFIGURATION}" = "Debug" ] 
work for this?

Christiaan


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
skim-app-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-develop

Reply via email to