1
/* SqViewBitmapConversion.h created by marcel on Fri 04-Dec-1998 */
4
// John Notes: Waste not want not.
7
From: Marcel Weiher <marcel.weiher@gmail.com>
8
To: johnmci@smalltalkconsulting.com
9
In-Reply-To: <BEB4569D-C606-4FF4-9B1B-A95570E38B94@smalltalkconsulting.com>
10
Subject: Re: [squeak-dev] Squeak and the iPhone
11
References: <998FEB36-B9FC-427D-AA74-8A9F517432AB@smalltalkconsulting.com> <1f426d6e0806110542l4fa971bi50f429dbf9ba0809@mail.gmail.com> <FB804A64-E03C-4B68-B8F1-8FF135227F3B@gmail.com> <4D79AAD3-1CFC-431B-AB6B-7E230B0DC5A7@mac.com> <BEB4569D-C606-4FF4-9B1B-A95570E38B94@smalltalkconsulting.com>
12
Message-Id: <CCD6C9FE-483B-4A64-86B9-8D2647E54139@gmail.com>
13
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
14
Content-Transfer-Encoding: 7bit
15
Reply-To: Marcel Weiher <marcel.weiher@gmail.com>,
16
The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org>
17
Mime-Version: 1.0 (Apple Message framework v924)
18
Date: Wed, 18 Jun 2008 12:00:05 -0700
19
Cc: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org>
20
X-Mailer: Apple Mail (2.924)
21
X-Brightmail-Tracker: AAAAAA==
23
The source code has been made available again at
25
http://www.metaobject.com/downloads/Squeak/
27
In the meantime, you have my express
28
permission to use it under an MIT license.
34
#import "sqSqueakOSXNSView.h"
35
#import "BitMapConversionLogicFromX11.h"
37
@interface sqSqueakOSXNSView(BitmapConversion)
39
-(CGImageRef)extractPixels_1_to_32:(void*)srcBits
40
srcPixelWidth:(int)srcPixelWidth height: (int) height
41
left:(int)left right:(int)right
42
top:(int)top bottom:(int)bottom
43
colorMap: (unsigned int *) colorMap
44
tempMemory: (void **) tempMemory;
46
-(CGImageRef)extractPixels_2_to_32:(void*)srcBits
47
srcPixelWidth:(int)srcPixelWidth height: (int) height
48
left:(int)left right:(int)right
49
top:(int)top bottom:(int)bottom
50
colorMap: (unsigned int *) colorMap
51
tempMemory: (void **) tempMemory;
53
-(CGImageRef)extractPixels_4_to_32:(void*)srcBits
54
srcPixelWidth:(int)srcPixelWidth height: (int) height
55
left:(int)left right:(int)right
56
top:(int)top bottom:(int)bottom
57
colorMap: (unsigned int *) colorMap
58
tempMemory: (void **) tempMemory;
61
-(CGImageRef)extractPixels_8_to_32:(void*)srcBits
62
srcPixelWidth:(int)srcPixelWidth height: (int) height
63
left:(int)left right:(int)right
64
top:(int)top bottom:(int)bottom
65
colorMap: (unsigned int *) colorMap
66
tempMemory: (void **) tempMemory;
69
-(CGImageRef)extractPixels_16_to_32:(void*)srcBits
70
srcPixelWidth:(int)srcPixelWidth height: (int) height
71
left:(int)left right:(int)right
72
top:(int)top bottom:(int)bottom
73
tempMemory: (void **) tempMemory;
75
-(CGImageRef)computeBitmapFromBitsIndex:(void*)srcBits
76
width:(int)width height:(int)height depth:(int)depth
77
left:(int)left right:(int)right
78
top:(int)top bottom:(int)bottom
79
tempMemory: (void**) tempMemory;