//
//  NSView+CRKit.h
//  CRKit
//
//  Created by Yaroslav Glushchenko on 8/12/12.
//  Copyright (c) 2012 Sladki Programi d.o.o. All rights reserved.
//

@interface NSView (CRKit)

- (NSPoint)originOnWindow;
- (NSPoint)originOnScreen;

- (CGFloat)totalRotation;
- (NSPoint)alignPoint:(NSPoint)point;
- (NSRect)alignRect:(NSRect)rect;
- (BOOL)shouldAlign;

@end