diff options
author | Kevin Walzer <kw@codebykevin.com> | 2023-09-28 13:21:16 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2023-09-28 13:21:16 (GMT) |
commit | 1c5c40e220e700f37c72ac520aca7de1cff6f52b (patch) | |
tree | f2b95f99b76e184f58a1c634654c50ef1815e4b7 /macosx/tkMacOSXImage.h | |
parent | d01c74bb7b184652bc40874b4fb1812d6cc19ba7 (diff) | |
download | tk-1c5c40e220e700f37c72ac520aca7de1cff6f52b.zip tk-1c5c40e220e700f37c72ac520aca7de1cff6f52b.tar.gz tk-1c5c40e220e700f37c72ac520aca7de1cff6f52b.tar.bz2 |
Replace CGImageRef data with PDF data
Diffstat (limited to 'macosx/tkMacOSXImage.h')
-rw-r--r-- | macosx/tkMacOSXImage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXImage.h b/macosx/tkMacOSXImage.h index 1db5acd..7dcb50e 100644 --- a/macosx/tkMacOSXImage.h +++ b/macosx/tkMacOSXImage.h @@ -21,3 +21,5 @@ 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); |