File: programming/cocoa/

//  GlkImage.m
//  CocoaGlk
//  Created by Andrew Hunter on Wed Jun 18 2003.
//  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
#import "GlkImage.h"
#import "GlkWindowView.h"
#import "glk.h"
"GlkImageAttribute"// Re-entrancy might be a problem sometimes
        bounds = NSMakeRect(0,0,0,0);
        boundsNeedCalculating = 0;
        // Get the position of the glyph that this image is attached to
// Bounds are dependent on the alignment type
// Right margin alignment
// Left margin alignment
// Invalidate...
// Done

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.