summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvPs.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵jan.nijtmans2013-03-071-1/+1
| | | | the prefered Tcl_EvalEx).
* [Bug 3565533]: Purge use of variable that was only ever checked once immediatelydkf2012-09-071-9/+4
| | | afterwards, except for one (buggy) case where it was checked without assignment.
* minor improvements to flag handlingdkf2012-07-311-1/+1
|
* more reorganization of error codes: safety is common failure modedkf2012-07-301-1/+1
|
* Postscript generation now uses Tcl_Objs more extensively; still nasty in places.dkf2012-07-271-196/+218
|
* Much more cleaning up of result handling.dkf2012-07-231-4/+4
|
* consistent error formatting, added error codesdkf2012-07-211-26/+55
|
* Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-5/+3
| | | ** WORK IN PROGRESS **
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * macosx/tkMacOSXDraw.c:das2004-02-231-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending for images with partial transparency on MacOSX. [Bug 809157]
| * | Squelch all mention of prolog.ps; it isn't used. [Bug 1466509]dkf2009-04-101-2/+2
| | |
| * | Add missing headerdgp2008-12-221-1/+2
| | |
| * | Forgot that I had to add code to propagate the tkwin through the psInfoPtr.dkf2008-12-221-1/+3
| | |
| * | Backport of fix for [Bug 2107938].dkf2008-12-221-2/+2
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-3/+3
| | | | | | | | | using useful casts internally.
* | | CONSTify everything related to Tk_ConfigSpecnijtmans2010-02-171-2/+2
| | |
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-18/+18
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | Simplify the postscript generation.dkf2010-01-031-7/+21
| | |
* | | oopsdkf2009-05-011-2/+1
| | |
* | | Factor out some of the postscript generation code to the PS prolog.dkf2009-05-011-171/+51
| | |
* | | Fix potential use of uninitialized variable flagged by clang static analyzerdas2008-12-071-7/+7
| | |
* | | fix warningdas2008-12-051-1/+2
| | |
* | | Improve the code to convert from pixels to pointsdkf2008-12-051-4/+7
| | |
* | | Clean up PS prolog generation, getting rid of an obsolete file, and stop textdkf2008-12-051-6/+8
| | | | | | | | | | | | from going wildly wrong when Xft is used. [Bug 2107938]
* | | Implementation of TIP 97 - canvas imove and rchars methods.dkf2008-11-011-3/+4
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-6/+6
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | header cleanupdgp2007-09-071-2/+1
| |
* | Tackle [Bug 1711985]dkf2007-05-031-11/+11
| |
* | ANSIfydkf2005-11-041-766/+733
| |
* | * macosx/tkMacOSXDraw.c:das2004-02-231-4/+10
| | | | | | | | | | | | | | | | * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. [Bug 809157]
* | Use Tcl_Obj-based interfaces for working with user-supplied font maps.dkf2003-08-201-27/+24
|/
* (TkPostscriptImage): remove unused depth var. [Bug #664787]hobbs2003-02-181-3/+2
|
* * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use ofhobbs2002-10-101-12/+28
| | | | | | | | TkColormapData on Windows (Windows now requires RGB pixel data from image). * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded widgets on canvases on Windows, tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).
* * tests/canvPs.test: tests for canvas embedded window ps generationhobbs2002-10-101-14/+36
| | | | | | | | | | * generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop. * generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c * generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of TkColormapData on Windows. Non-separated data may need correction as well. * win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support for generating ps for embedded windows on canvases.
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-3/+3
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* Applied patch #546910 -- international postscript outputa_kovalenko2002-06-251-324/+11
|
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-251-5/+7
| | | | | | | | | * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
* * generic/tkImage.c (Tk_PostscriptImage): added check to createhobbs2000-04-251-2/+464
| | | | | | | | | | | necessary prolog for photos * generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for photo images * generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that in as ps proc in tkPhotoImageType. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: added Tk_PostscriptPhoto
* * generic/tkStubInit.c:hobbs1999-12-141-104/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkDecls.h: * generic/tkIntXlibDecls.h: * generic/tkInt.decls: added XSetDashes and XWarpPointer * generic/tk.decls: added Tk_CreateSmoothMethod, and reserved two spots * generic/tk.h: added Tk_SmoothMethod struct, state item to canvas record, #defines for item state, support for using old char*-based canvas item C creation procedures with -DUSE_OLD_CANVAS, Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs, decls for dash, outline and postscript routines * generic/tkBind.c: added support for Quadruple clicks, and added the -warp option to 'event' with pointer warping routines * xlib/xgc.c: * generic/tkRectOval.c: * generic/tkCanvArc.c: * generic/tkCanvBmap.c: * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvPs.c: * generic/tkCanvText.c: * generic/tkCanvUtil.c: * generic/tkCanvWind.c: * generic/tkCanvas.c: * generic/tkCanvas.h: Canvas and items received overhaul to with the addition of the dash patch (Nijtmans, et al) This includes objectification of the 'canvas' command, as well as support for (where appropriate) dashes in items, extended stipple support, state for all items, and postscript generation of images and windows. See the new canvas man page for related docs. * generic/tkEntry.c: added entry widget validation, see entry.n * generic/tkEvent.c: on simulated events, ButtonPress should be matched with ButtonRelease to be correct * generic/tkFont.c: corrected possible null reference * generic/tkFrame.c: made frame a Tcl_Obj based command * generic/tkGet.c: added TkGetDoublePixels * generic/tkImage.c: bug fixes from Img patch and new Tk_PostscriptImage and Tk_SetTSOrigin functions * generic/tkImgBmap.c: new ImgBmapPostscript function * generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto * generic/tkInt.h: declarations for some new functions * generic/tkMessage.c: reworked relief drawing * generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style ConfigureWidget calls can pass in Tcl_Obj arrays * generic/tkScrollbar.c: * generic/tkScrollbar.h: made -orient use an option table * generic/tkText.c: * generic/tkText.h: made -wrap and -state use option tables * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextMark.c: * generic/tkTextTag.c: * generic/tkTextWind.c: added support for -elide and -state hidden * generic/tkTrig.c: changed TkMakeBezierCurve to support returning the upper limit of points needed for spline * generic/tkUtil.c: new option table parsing routines * generic/tkWindow.c: init'ing of warp stuff, mouseButtonState
* * Merged 8.1 branch into the main trunkstanton1999-04-161-24/+25
|
* Added missing line terminatorcore_8_0_3stanton1998-09-221-2/+2
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-2/+2
|
* plugin updateswelch1998-06-271-95/+318
|
* Initial revisionrjohnson1998-04-011-0/+1163