diff options
author | Kevin Walzer <kw@codebykevin.com> | 2021-03-06 01:14:21 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2021-03-06 01:14:21 (GMT) |
commit | b8953821c2fd3ff58885138ddd3037eb17ca79fe (patch) | |
tree | 3fd20901602c3699cc6d2730342316eea233a8fe /generic/tkImgPhoto.h | |
parent | 1e4967476d036d15872bf52495fb316098a50394 (diff) | |
parent | 0a9213075871ce2995c09448b33795b1ae53118e (diff) | |
download | tk-b8953821c2fd3ff58885138ddd3037eb17ca79fe.zip tk-b8953821c2fd3ff58885138ddd3037eb17ca79fe.tar.gz tk-b8953821c2fd3ff58885138ddd3037eb17ca79fe.tar.bz2 |
Replacing my printer code with a complete implementation courtesy of Harald Oehlmann; adding Michael Schwartz's GDI code after light tweaking, more extensive review and re-work needed to build; need to review and add Michael Schwartz's script-level implementation for printing text files and canvas widgets based on these C primitives
Diffstat (limited to 'generic/tkImgPhoto.h')
-rw-r--r-- | generic/tkImgPhoto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkImgPhoto.h b/generic/tkImgPhoto.h index e30ba8b..7ac738f 100644 --- a/generic/tkImgPhoto.h +++ b/generic/tkImgPhoto.h @@ -159,6 +159,8 @@ struct PhotoModel { Tcl_Obj *dataString; /* Object to use as contents of image. */ Tcl_Obj *format; /* User-specified format of data in image file * or string value. */ + Tcl_Obj *metadata; /* User-specified metadata dict or read from + * image file */ unsigned char *pix32; /* Local storage for 32-bit image. */ int ditherX, ditherY; /* Location of first incorrectly dithered * pixel in image. */ |