Utah Raster Toolkit
9999-git
URT Development version (post-3.1b)
Main Page
Data Structures
Files
File List
Globals
get
next
Image.h
Go to the documentation of this file.
1
#
import
<
appkit
/
View
.
h
>
2
#
import
<
zone
.
h
>
3
#
import
<
streams
/
streams
.
h
>
4
5
// Image.h
6
//
7
// Written by Vince DeMarco
8
// demarco@cpsc.ucalgary.ca
9
//
10
// This program is In the Public Domain. If you make any improvements to this
11
// program please let me know
12
13
14
@
interface
Image
:
View
15
{
16
id
thiswindow
,
thisview
;
17
id
tiffimage
;
// NXBitmapImageRep used to save the file
18
int
xsize
,
ysize
;
19
void
*
rmap
, *
gmap
, *
bmap
, *
amap
;
20
unsigned
char
*
r
,*
g
,*
b
,*
a
;
21
NXZone
*
newZone
;
22
char
fileName
[1024];
23
char
windowIconName
[1024];
24
int
numColors
;
25
NXRect
temprect
;
// Temp place to store Window Rect
26
}
27
28
-
init
;
29
-
displayImage
;
30
-
drawSelf
:(
const
NXRect
*)rects :(
int
)rectCount;
31
-
free
;
32
-
saveAsTiff
:(
const
char
*)filename
usingCompression
:(
int
)compression;
33
-
saveAsEPS
:(
const
char
*)filename;
34
-
windowWillClose
:sender;
35
@
end
Image::newZone
NXZone * newZone
Definition:
Image.h:21
Image::g
unsigned char * g
Definition:
Image.h:20
Image::gmap
void * gmap
Definition:
Image.h:19
Image::r
unsigned char * r
Definition:
Image.h:20
Image::a
unsigned char * a
Definition:
Image.h:20
Image::fileName
char fileName[1024]
Definition:
Image.h:22
-[Image init]
id init()
-[Image free]
id free()
Definition:
Image.m:99
-[Image saveAsEPS:]
id saveAsEPS:(const char *filename)
Definition:
Image.m:124
-[Image drawSelf::]
id drawSelf::(const NXRect *rects,[] int rectCount)
Definition:
Image.m:87
-[Image windowWillClose:]
id windowWillClose:(id sender)
Definition:
Image.m:140
Image::b
unsigned char * b
Definition:
Image.h:20
Image::rmap
void * rmap
Definition:
Image.h:19
Image::temprect
NXRect temprect
Definition:
Image.h:25
-[Image displayImage]
id displayImage()
Definition:
Image.m:36
-[Image saveAsTiff:usingCompression:]
id saveAsTiff:usingCompression:(const char *filename,[usingCompression] int compression)
Definition:
Image.m:109
Image::amap
void * amap
Definition:
Image.h:19
Image
Definition:
Image.m:26
Image::ysize
int ysize
Definition:
Image.h:18
Image::bmap
void * bmap
Definition:
Image.h:19
Image::xsize
int xsize
Definition:
Image.h:18
Image::thisview
id thisview
Definition:
Image.h:16
Image::thiswindow
id thiswindow
Definition:
Image.h:16
Image::numColors
int numColors
Definition:
Image.h:24
Image::tiffimage
id tiffimage
Definition:
Image.h:17
Image::windowIconName
char windowIconName[1024]
Definition:
Image.h:23
Generated on Thu Sep 24 2015 11:47:03 for Utah Raster Toolkit by
1.8.10