diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-10-09 14:12:40 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-10-09 14:12:40 +0000 |
commit | 2206c9cdc5bea1552a0fbf66e7e9f310e7bdc880 (patch) | |
tree | 9ff31cbbe63f3027a4c716e51334276d3f912562 /Source/SPGeometryDataView.h | |
parent | bfd2c744eb99057bba37f331672d828ba48f82f0 (diff) | |
download | sequelpro-2206c9cdc5bea1552a0fbf66e7e9f310e7bdc880.tar.gz sequelpro-2206c9cdc5bea1552a0fbf66e7e9f310e7bdc880.tar.bz2 sequelpro-2206c9cdc5bea1552a0fbf66e7e9f310e7bdc880.zip |
• improved field editor sheet to support geometry fields
- additionally it shows the image
- image can be saved as pdf if image is displayed via Save button; if text is selected the wkt string will be saved
Diffstat (limited to 'Source/SPGeometryDataView.h')
-rw-r--r-- | Source/SPGeometryDataView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPGeometryDataView.h b/Source/SPGeometryDataView.h index fa1168c5..3ef066e5 100644 --- a/Source/SPGeometryDataView.h +++ b/Source/SPGeometryDataView.h @@ -43,9 +43,11 @@ } +- (id)initWithCoordinates:(NSDictionary*)coord targetDimension:(CGFloat)targetDimension; - (id)initWithCoordinates:(NSDictionary*)coord; - (void)setMax:(NSArray*)bbox; - (NSPoint)normalizePoint:(NSPoint)aPoint; - (NSImage*)thumbnailImage; +- (NSData*)pdfData; @end |