Tk Source Code

Check-in [c94ac140]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to doc/FindPhoto.3.

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