Lynkeos  1.2
Instance Methods | Private Attributes | List of all members
MyImageView Class Reference

#import <MyImageView.h>

Inheritance diagram for MyImageView:
Inheritance graph
[legend]

Instance Methods

(IBAction) - doZoom:
 
(IBAction) - moreZoom:
 
(IBAction) - lessZoom:
 
(void) - setImage:offset:
 
(NSSize) - imageSize
 
(void) - initCursors
 
(MyIntegerRect- getSelection
 
(void) - setSelection:resizable:
 

Private Attributes

IBOutlet NSSlider * _zoomSlider
 
IBOutlet NSTextField * _zoomField
 
IBOutlet id _delegate
 
NSPoint _offset
 
NSImageRep * _imageRep
 
NSSize _imageSize
 
double _zoom
 
bool _resizable
 
MyIntegerPoint _selectionOrigin
 
MyIntegerPoint _lastPoint
 
MyIntegerRect _selection
 
NSCursor * _crossCursor
 
NSCursor * _leftCursor
 
NSCursor * _rightCursor
 
NSCursor * _topCursor
 
NSCursor * _bottomCursor
 
NSCursor * _topLeftCursor
 
NSCursor * _topRightCursor
 
NSCursor * _bottomLeftCursor
 
NSCursor * _bottomRightCursor
 
NSCursor * _insideCursor
 
NSRect _left
 
NSRect _right
 
NSRect _top
 
NSRect _bottom
 
NSRect _topLeft
 
NSRect _topRight
 
NSRect _bottomLeft
 
NSRect _bottomRight
 
NSRect _inside
 
MySelectingMode _selectMode
 

Method Documentation

◆ doZoom:()

- (IBAction) doZoom: (id)  sender

References _zoomSlider.

◆ getSelection()

- (MyIntegerRect) getSelection

Provided by category MyImageView(Selection).

◆ imageSize()

- (NSSize) imageSize

References _imageSize.

◆ initCursors()

- (void) initCursors

Provided by category MyImageView(Selection).

◆ lessZoom:()

- (IBAction) lessZoom: (id)  sender

References _zoom, and K_MAX_ZOOM.

◆ moreZoom:()

- (IBAction) moreZoom: (id)  sender

References _zoom, and K_MAX_ZOOM.

◆ setImage:offset:()

- (void) setImage: (NSImage*)  image
offset: (NSPoint)  offset 

◆ setSelection:resizable:()

- (void) setSelection: (MyIntegerRect selection
resizable: (bool resize 

Member Data Documentation

◆ _bottom

- (NSRect) _bottom
private

◆ _bottomCursor

- (NSCursor *) _bottomCursor
private

◆ _bottomLeft

- (NSRect) _bottomLeft
private

◆ _bottomLeftCursor

- (NSCursor *) _bottomLeftCursor
private

◆ _bottomRight

- (NSRect) _bottomRight
private

◆ _bottomRightCursor

- (NSCursor *) _bottomRightCursor
private

◆ _crossCursor

- (NSCursor*) _crossCursor
private

◆ _delegate

- (IBOutlet id) _delegate
private

◆ _imageRep

- (NSImageRep*) _imageRep
private

Referenced by setImage:offset:.

◆ _imageSize

- (NSSize) _imageSize
private

Referenced by imageSize, and setImage:offset:.

◆ _inside

- (NSRect) _inside
private

◆ _insideCursor

- (NSCursor *) _insideCursor
private

◆ _lastPoint

- (MyIntegerPoint) _lastPoint
private

◆ _left

- (NSRect) _left
private

◆ _leftCursor

- (NSCursor *) _leftCursor
private

◆ _offset

- (NSPoint) _offset
private

Referenced by setImage:offset:.

◆ _resizable

- (bool) _resizable
private

◆ _right

- (NSRect) _right
private

◆ _rightCursor

- (NSCursor *) _rightCursor
private

◆ _selection

- (MyIntegerRect) _selection
private

◆ _selectionOrigin

- (MyIntegerPoint) _selectionOrigin
private

◆ _selectMode

- (MySelectingMode) _selectMode
private

◆ _top

- (NSRect) _top
private

◆ _topCursor

- (NSCursor *) _topCursor
private

◆ _topLeft

- (NSRect) _topLeft
private

◆ _topLeftCursor

- (NSCursor *) _topLeftCursor
private

◆ _topRight

- (NSRect) _topRight
private

◆ _topRightCursor

- (NSCursor *) _topRightCursor
private

◆ _zoom

- (double) _zoom
private

Referenced by lessZoom:, and moreZoom:.

◆ _zoomField

- (IBOutlet NSTextField*) _zoomField
private

◆ _zoomSlider

- (IBOutlet NSSlider*) _zoomSlider
private

Referenced by doZoom:.


The documentation for this class was generated from the following files: