diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-10-08 19:57:21 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-10-08 19:57:21 +0000 |
commit | 8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34 (patch) | |
tree | 4a50ee43cccab449686c08d6626ccf4015086ae5 /Source/SPGeometryDataView.h | |
parent | deea4b3347eed9d145bffcb0baf75544f99b6f14 (diff) | |
download | sequelpro-8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34.tar.gz sequelpro-8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34.tar.bz2 sequelpro-8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34.zip |
• some further work on displaying geometry fields as image
- to enable the very first approach simply uncomment code in SPTableContent tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: for MCPGeometryData class
Diffstat (limited to 'Source/SPGeometryDataView.h')
-rw-r--r-- | Source/SPGeometryDataView.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Source/SPGeometryDataView.h b/Source/SPGeometryDataView.h index a2a620bb..3ff72110 100644 --- a/Source/SPGeometryDataView.h +++ b/Source/SPGeometryDataView.h @@ -27,7 +27,21 @@ @interface SPGeometryDataView : NSView { - + NSString *type; + NSArray *coordinates; + double x_min; + double x_max; + double y_min; + double y_max; + double width; + double height; + double zoom_factor; + double margin_offset; } +- (id)initWithCoordinates:(NSDictionary*)coord; +- (void)setMax:(NSArray*)bbox; +- (NSPoint)normalizePoint:(NSPoint)aPoint; +- (NSImage*)image; + @end |