| Description: |
OriginalBugID: 638 Bug
Version: 8.0p2
SubmitDate: '1998-05-25'
LastModified: '1999-11-02'
Severity: MED
Status: Released
Submitter: hershey
ChangedBy: hobbs
OS: Windows NT
FixedDate: '1999-11-02'
FixedInVersion: 8.0.5
[email protected]
I am trying to print color images on NT, and I have just finished
emulating XGetImage() and would like to test it. But I crash when I
call Tk_GetPixmap(). The code doesn't seem like it could work on NT.
To parallel the UNIX side, where Tk_GetPixmap() is just the thinest
wrapper around XGetPixmap(), the second parameter is a Drawable. But
the windows code tries to cast that XID into a pointer to a
TkWinDrawable. That just doesn't seem like it is going to work. And I
don't see why one would want to create all these new Windows drawable
struct types. A plain X window struct has a palette an any of other
things one would need. I don't see why the deviation from X.
I would appreciate any information on how I could implement printing
of color images on NT, or what the future of Tk_GetPixmap() will be, so
I could stay compatible with future releases.
Thanks, Kirk
Tk_GetPixmap works as necessary on 8.0.5 and the 8.1+ Tk versions.
-- 11/02/1999 hobbs
|