Sources/Offscreen.h

// Offscreen.h
//
// Original version by Jon Lansdell and Nigel Humphreys.
// 4.0 and 3.1 updates by Greg Sutton.
// ©Apple Computer Inc 1996, all rights reserved.
 
#pragma once
 
#ifndef __QUICKDRAW__
    #include <Quickdraw.h>
#endif
 
#ifndef __QDOFFSCREEN__
    #include <QDOffscreen.h>
#endif
 
 
typedef struct WindowOffscreen
{
    CGrafPtr        windowPort;
    GDHandle        windowDevice;
    GWorldPtr       offscreenWorld;
} tWindowOffscreen;
 
 
tWindowOffscreen* DrawOffscreen ( WindowPtr theWindow );
tWindowOffscreen* DrawOnscreen ( tWindowOffscreen* theOffscreen );
tWindowOffscreen* DisposeOffscreen ( tWindowOffscreen* theOffscreen );