/* * tkMacOSXImage.h -- * * * The code in this file provides an interface for XImages, and * implements the nsimage image type. * * Copyright (c) 1995-1997 Sun Microsystems, Inc. * Copyright (c) 2001-2009, Apple Inc. * Copyright (c) 2005-2009 Daniel A. Steffen * Copyright (c) 2017-2021 Marc Culler. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. */ /* * Function prototypes */ CGImageRef CreateCGImageFromPixmap(Drawable pixmap); CGImageRef CreateCGImageFromDrawableRect( Drawable drawable, int x, int y, unsigned int width, unsigned int height); CFDataRef CreatePDFFromDrawableRect( Drawable drawable, int x, int y, unsigned int width, unsigned int height);