File: GKSView.h

package info (click to toggle)
gr-framework 0.73.14%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,600 kB
  • sloc: ansic: 87,413; cpp: 45,348; objc: 3,057; javascript: 2,647; makefile: 1,129; python: 1,000; sh: 991; yacc: 855; pascal: 554; fortran: 228
file content (61 lines) | stat: -rw-r--r-- 1,534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>

#import "gkscore.h"
#import "gksquartz.h"

typedef struct
{
  int fontsize;
  NSString *fontfamily;
} _FontInfo;

@interface GKSTermAppDelegate : NSObject <NSApplicationDelegate>
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app;
@end

@interface GKSView : NSView
{
@private
  char *buffer;
  int size;
  int win_id;
  double angle;
  int has_been_resized;
  IBOutlet NSBox *extendSavePanelView;
  IBOutlet NSPopUpButton *saveFormatPopUp;
  IBOutlet NSSlider *compressionSlider;
}
- (void)setDisplayList:(id)display_list;
- (void)close;

- (void)setNeedsDisplayAfterResize;

- (void)setWinID:(int)winid;
- (int)getWinID;

- (void)resize_window;
- (void)set_clip_rect:(int)tnr;

- (void)gks_set_shadow;

- (void)polyline:(int)n:(double *)px:(double *)py;
- (void)draw_marker:(double)xn:(double)yn:(int)mtype:(double)mscale:(int)mcolor:(CGContextRef)context;
- (void)polymarker:(int)n:(double *)px:(double *)py;
- (void)fillarea:(int)n:(double *)px:(double *)py;
- (void)cellarray:(double)
             xmin:(double)xmax
                 :(double)ymin
                 :(double)ymax
                 :(int)dx
                 :(int)dy
                 :(int)dimx
                 :(int *)colia
                 :(int)true_color;
- (void)text:(double)px:(double)py:(char *)text;
- (_FontInfo)set_font:(int)font;
- (NSString *)stringForText:(const char *)text withFontFamilyID:(int)family;

- (IBAction)keep_on_display:(id)sender;
- (IBAction)rotate:(id)sender;
@end