Hello
Could you advice me how to get rid of blinking in the following code?
This is an NSView's subclass, I am trying to draw a rectangle for zooming
(theoretically a user is supposed to be able to zoom in a piece of a view,
by selecting a rectangle area to zoom.
The problem is that when the mouse
On 19 Oct 2011, at 12:41 PM, Nick wrote:
Could you advice me how to get rid of blinking in the following code?
This is an NSView's subclass, I am trying to draw a rectangle for zooming
(theoretically a user is supposed to be able to zoom in a piece of a view,
by selecting a rectangle area
On 19 Oct 2011, at 18:41, Nick wrote:
Hello
Could you advice me how to get rid of blinking in the following code?
This is an NSView's subclass, I am trying to draw a rectangle for zooming
(theoretically a user is supposed to be able to zoom in a piece of a view,
by selecting a rectangle
Thank you
2011/10/19 Fritz Anderson fri...@manoverboard.org
On 19 Oct 2011, at 12:41 PM, Nick wrote:
Could you advice me how to get rid of blinking in the following code?
This is an NSView's subclass, I am trying to draw a rectangle for zooming
(theoretically a user is supposed
-(void)mouseDragged:(NSEvent *)theEvent {
NSPoint locationOnCanvas = [self convertPoint:[theEvent
locationInWindow] fromView:nil];
if(currentMouseMode == MMZooming) {
*[self display]; //clear the previous rectangle
[self lockFocus];
[self