Tk Source Code

Check-in [c94ac140]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed typos
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-4cb3dab4eb
Files: files | file ages | folders
SHA1:c94ac1406523730637f6699b18159af3e28c57ef
User & Date: fvogel 2016-06-26 20:18:50
Context
2016-06-27
19:23
Fixed [4cb3dab4eb] - Improvements to the documentation of Tk_FindPhoto et al. Patch provided by Simon Bachmann. check-in: 16bb032e user: fvogel tags: core-8-6-branch
2016-06-26
20:18
Fixed typos Closed-Leaf check-in: c94ac140 user: fvogel tags: bug-4cb3dab4eb
2016-06-11
20:11
Fixed [4cb3dab4eb] - Improvements to the documentation of Tk_FindPhoto et al. Patch provided by Simon Bachmann. check-in: c26274ec user: fvogel tags: bug-4cb3dab4eb
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to doc/FindPhoto.3.

187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
It is possible to modify an image by writing directly to the data 
the \fIpixelPtr\fR field points to. The size of the image cannot be
changed this way, though.
Also, changes made by writing directly to \fIpixelPtr\fR will not be 
immediately visible, but only after a call to 
\fBTk_ImageChanged\fR or after an event that causes the interested 
widgets to redraw themselves.
For these reasons usually it is preferrable to make changes to 
a copy a of the image data and write it back with 
\fBTk_PhotoPutBlock\fR or \fBTk_PhotoPutZoomedBlock\fR. 
.PP
\fBTk_PhotoGetImage\fR returns 1 for compatibility with the
corresponding procedure in the old photo widget.
.PP
\fBTk_PhotoBlank\fR blanks the entire area of the
photo image.  Blank areas of a photo image are transparent.







|
|







187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
It is possible to modify an image by writing directly to the data 
the \fIpixelPtr\fR field points to. The size of the image cannot be
changed this way, though.
Also, changes made by writing directly to \fIpixelPtr\fR will not be 
immediately visible, but only after a call to 
\fBTk_ImageChanged\fR or after an event that causes the interested 
widgets to redraw themselves.
For these reasons usually it is preferable to make changes to 
a copy of the image data and write it back with 
\fBTk_PhotoPutBlock\fR or \fBTk_PhotoPutZoomedBlock\fR. 
.PP
\fBTk_PhotoGetImage\fR returns 1 for compatibility with the
corresponding procedure in the old photo widget.
.PP
\fBTk_PhotoBlank\fR blanks the entire area of the
photo image.  Blank areas of a photo image are transparent.