-
- [leftEdge moveToPoint:aRect.origin];
- [leftEdge lineToPoint:NSMakePoint(aRect.origin.x, aRect.size.height)];
- [leftEdge lineToPoint:NSMakePoint( (aRect.origin.x + _bevelDepth), (aRect.size.height - _bevelDepth) )];
- [leftEdge lineToPoint:NSMakePoint( (aRect.origin.x + _bevelDepth), (aRect.origin.y + _bevelDepth) )];
-
- [topEdge moveToPoint:NSMakePoint(aRect.origin.x, aRect.size.height)];
- [topEdge lineToPoint:NSMakePoint(aRect.size.width, aRect.size.height)];
- [topEdge lineToPoint:NSMakePoint( (aRect.size.width - _bevelDepth), (aRect.size.height - _bevelDepth) )];
- [topEdge lineToPoint:NSMakePoint( (aRect.origin.x + _bevelDepth), (aRect.size.height - _bevelDepth) )];
-
- [rightEdge moveToPoint:NSMakePoint(aRect.size.width, aRect.origin.y)];
- [rightEdge lineToPoint:NSMakePoint(aRect.size.width, aRect.size.height)];
- [rightEdge lineToPoint:NSMakePoint( (aRect.size.width - _bevelDepth), (aRect.size.height - _bevelDepth) )];
- [rightEdge lineToPoint:NSMakePoint( (aRect.size.width - _bevelDepth), (_bevelDepth) )];
-
- [bottomEdge moveToPoint:aRect.origin];
- [bottomEdge lineToPoint:NSMakePoint(aRect.size.width, aRect.origin.y)];
- [bottomEdge lineToPoint:NSMakePoint( (aRect.size.width - _bevelDepth), (_bevelDepth) )];
- [bottomEdge lineToPoint:NSMakePoint( (aRect.origin.x + _bevelDepth), (aRect.origin.y + _bevelDepth) )];
+
+ [leftEdge moveToPoint:frameRect.origin];
+ [leftEdge lineToPoint:NSMakePoint(frameRect.origin.x, frameRect.size.height)];
+ [leftEdge lineToPoint:NSMakePoint( (frameRect.origin.x + _bevelDepth), (frameRect.size.height - _bevelDepth) )];
+ [leftEdge lineToPoint:NSMakePoint( (frameRect.origin.x + _bevelDepth), (frameRect.origin.y + _bevelDepth) )];
+
+ [topEdge moveToPoint:NSMakePoint(frameRect.origin.x, frameRect.size.height)];
+ [topEdge lineToPoint:NSMakePoint(frameRect.size.width, frameRect.size.height)];
+ [topEdge lineToPoint:NSMakePoint( (frameRect.size.width - _bevelDepth), (frameRect.size.height - _bevelDepth) )];
+ [topEdge lineToPoint:NSMakePoint( (frameRect.origin.x + _bevelDepth), (frameRect.size.height - _bevelDepth) )];
+
+ [rightEdge moveToPoint:NSMakePoint(frameRect.size.width, frameRect.origin.y)];
+ [rightEdge lineToPoint:NSMakePoint(frameRect.size.width, frameRect.size.height)];
+ [rightEdge lineToPoint:NSMakePoint( (frameRect.size.width - _bevelDepth), (frameRect.size.height - _bevelDepth) )];
+ [rightEdge lineToPoint:NSMakePoint( (frameRect.size.width - _bevelDepth), (_bevelDepth) )];
+
+ [bottomEdge moveToPoint:frameRect.origin];
+ [bottomEdge lineToPoint:NSMakePoint(frameRect.size.width, frameRect.origin.y)];
+ [bottomEdge lineToPoint:NSMakePoint( (frameRect.size.width - _bevelDepth), (_bevelDepth) )];
+ [bottomEdge lineToPoint:NSMakePoint( (frameRect.origin.x + _bevelDepth), (frameRect.origin.y + _bevelDepth) )];