|
Lynkeos
|
The custom image view. More...
#import <MyImageView.h>


Instance Methods | |
| (NSSize) | - imageSize |
| Retrieve the displayed image size. More... | |
| (void) | - getSelectionAtIndex:rect:resizable:movable: |
| Get all the details of a selection. More... | |
| (void) | - initCursors |
| Initialize all the selection related cursors. More... | |
IBActions | |
Methods connected to Interface builder actions | |
| (IBAction) | - doZoom: |
| Set the zoom according to the slider value. More... | |
| (IBAction) | - moreZoom: |
| Zoom in. More... | |
| (IBAction) | - lessZoom: |
| Zoom out. More... | |
| (IBAction) | - blackWhiteChange: |
| Set the black and white levels for the image. More... | |
| (IBAction) | - gammaChange: |
| Set the gamma correction exponent for the image. More... | |
Instance Methods inherited from <LynkeosImageView> | |
| (void) | - displayItem: |
| Set the item to display in the view. More... | |
| (void) | - updateImage |
| Update the item's image. More... | |
| (LynkeosIntegerRect) | - getSelection |
| Retrieve the current selection. More... | |
| (LynkeosIntegerRect) | - getSelectionAtIndex: |
| Retrieve a selection at a given index. More... | |
| (unsigned int) | - getModifiers |
| Get the modifiers associated with the selection. More... | |
| (void) | - setSelection:resizable:movable: |
| Set the selection rectangle. More... | |
| (void) | - setSelection:atIndex:resizable:movable: |
| Set a given selection rectangle. More... | |
| (double) | - getZoom |
| Get the image zoom factor. More... | |
| (void) | - setZoom: |
| Set the image view zoom factor. More... | |
| (void) | - setSelectionDelegate: |
| Set the delegate. More... | |
The custom image view.
| - (IBAction) blackWhiteChange: | (id) | sender |
Set the black and white levels for the image.
| sender | the control that was changed |
References <LynkeosImageView>::updateImage.
| - (IBAction) doZoom: | (id) | sender |
Set the zoom according to the slider value.
| sender | The slider. |
| - (IBAction) gammaChange: | (id) | sender |
Set the gamma correction exponent for the image.
| sender | the control that was changed |
References <LynkeosImageView>::updateImage.
| - (void) getSelectionAtIndex: | (u_short) | index | |
| rect: | (LynkeosIntegerRect*) | rect | |
| resizable: | (BOOL*) | resize | |
| movable: | (BOOL*) | move | |
Get all the details of a selection.
| index | The index of the required selection |
| rect | [out] the selection rectangle |
| resize | [out] wether the selection is resizable |
| move | [out] wether the selection is movable |
Provided by category MyImageView(Selection).
References MyImageSelection::_movable, MyImageSelection::_rect, and MyImageSelection::_resizable.
| - (NSSize) imageSize |
Retrieve the displayed image size.
| - (void) initCursors |
Initialize all the selection related cursors.
Provided by category MyImageView(Selection).
| - (IBAction) lessZoom: | (id) | sender |
Zoom out.
| sender | The button. |
| - (IBAction) moreZoom: | (id) | sender |
Zoom in.
| sender | The button. |
1.8.4