aboutsummaryrefslogtreecommitdiff
path: root/generic
AgeCommit message (Collapse)Author
2004-02-13Start of the new PostScript implementation (not functional!)lecoanet
2004-02-13Modified the item PostScript method signature.lecoanet
2004-02-13Added ZnTexFontEncoding function prototypelecoanet
2004-02-13Added a pointer to the PostScript current info block.lecoanet
2004-02-13 * (ZnGetTexFont): The font encoding is considered when loadinglecoanet
a font. This plus a patch in the text item should lead to a correct behavior when drawing UTF8 strings (regardless of the input versus output encoding).
2004-02-13 * (Render): Rendering of UTF8 strings is now (hopefully)lecoanet
correct in GL. * (PointToChar): Fixed a bug related to UTF char offset versus byte offset. * (ComputeTransfoAndOrigin): Rounded the origin on the integer lattice to get rid of display uglyness on GL.
2004-02-13Changed the PostScript method signaturelecoanet
2004-02-13Fixed an error in DoEvent related to which part shouldlecoanet
be considered for focusable items. Introduce the postscript command (not functional yet!)
2004-02-04 * Fixed the clamping of visible_history_size so thatlecoanet
it doesn't fall irremediably to zero.
2004-01-26 * Added the scaling/rotation capabilities both in X and GL.lecoanet
* (ComputeCursorAndSel): Corrected an incorrect selection extent offset. The last character of the selection was never displayed as part of the selection. * The insertion cursor wasn't displayed on an the last line when empty.
2004-01-26Icons are transformable under X.lecoanet
Anchors have been fixed for rotated icons.
2004-01-26 * (WidgetObjCmd): Added a flag for providing angles inlecoanet
degrees to the rotate method. * (WidgetObjCmd): Added an optional center for the scale method. * (FindItems): Modified the recursive flag of sub-methods closest, enclosed, overlapping so that the find can be asked to investigate into atomic groups. Simply say 'override' instead of true/false. * (WidgetObjCmd): Method bbox no longer works on multiple tagOrIds but handles label and field bboxes on items with fields. * bind now handles virtual events. * bind accept an alternative syntax for specifying fields. * Added conditional inclusion of overlap manager include
2004-01-26*** empty log message ***lecoanet
2004-01-26 * (Pick): Added a quick bbox test for intersectionlecoanet
between the pick halo bbox and item bboxes. * (ToArea, Pick): Added the override atomic feature. * (ComputeCoordinates): The group bbox is clipped on the clip item bounding box.
2004-01-26priority is an unsigned shortlecoanet
id is an unsigned int
2004-01-26 * Added new attribute types Short and unsigned short.lecoanet
* Adaptation to use doubles instead of ZnReal for calls to Tcl_GetDoubleFromObj. * (RotateItem): Added a flag to choose between degrees and radians. * (ScaleItem): Added an optional scale center * Added conditional inclusion of overlap manager include
2004-01-26*** empty log message ***lecoanet
2004-01-26ZnLineToPointDist can optionally return the closest point on the line.lecoanet
Added ZnRectOrigin2Anchor to compute the anchor position on any rectangles (ZnOrigin2Anchor works only for bounding boxes).
2004-01-26Added tke ZnMapImage function that do texture mapping between tolecoanet
X images according to a given polygon.
2004-01-26 * (ZnTransformPoint, ZnTransformPoints): It is now safe to uselecoanet
the same point(s) as the source and the result of the transformation. * (ZnTransfoIsTranslation): A NULL (identity) transform caused a core dump. * (ZnTransfoInvert): A NULL (identity) transform was not handled faithfully by the function, it failed to initialize the inverse transform struct, it only returned a NULL pointer. * (ZnPrintTransfo): Handled the case of NULL transform pointer meaning identity transform. It used to core dump ;-(
2004-01-26*** empty log message ***lecoanet
2003-12-11*** empty log message ***lecoanet
2003-12-11 * Added the skew functions.lecoanet
2003-12-11 * (SkewItem): Added support for skew in transformslecoanet
2003-12-11 * Added support for the skew in transformslecoanet
2003-12-11 * (ComputeCoordinates): Added an extra 0.5 rounding on thelecoanet
bounding box to avoid broken redraw. * Adapted the code to the new MapInfo API with floating point coordinates.
2003-12-11 * API use floating point coordinates.lecoanet
2003-12-11 * All coordinates are stored and passed back and forth aslecoanet
floating point values. * Reformat of the code to suppress braces inconsistencies due to ifdefs.
2003-12-11 * (ComputeCoordinates): Reduced the rounding of the boundinglecoanet
box to 0.5 pixels instead of 1. * (ComputeCoordinates): Fixed the way ALIGNED was computed it didn't work with skew, and had other bugs. * (GetClipVertices): Fixed a bug on the tristrip returned when the rectangle is not aligned on axes. The order of the returned triangle vertices didn't describe a rectangle.
2003-12-11 * (GetClipVertices): Fixed a bug on the tristrip returnedlecoanet
in openGL mode. The order of the returned triangle vertices didn't describe a rectangle.
2003-12-11 * (Draw): Corrected a core dump on curve with -closed 1lecoanet
under X.
2003-12-11 * Added a tcompose method for composing two transform fromlecoanet
items or named transforms. * Added a tset method to set a transform from given matrix values. * Reformat of the code to suppress braces inconsistencies due to ifdefs. * Added a skew method to skew a transform both along x and y axes. * The transform command now accept the special tag device as source and destination. It accept also a named transform as source and destination. * Added a reserved tag identity as possible source transform for command tsave. * tsave can now take a named transform as source.
2003-11-28Corrected a potential problem in the processing of end of lineslecoanet
in multi-lines texts.
2003-11-28 * (Draw, Render): Corrected a bug on visible history sizelecoanet
being an unsigned causing a mis-coloring of the history when -lastasfirst is on.
2003-11-28 * (Invalidate): Fixed a problem in the invalidation code: anlecoanet
INV_TRANSFO registered with an item prevented the registration of other more specific reasons. The text item exhibited the symptom when interleaving a text modification between two changes of its transform. In this case INV_TRANSFO prevented the registering of INV_LAYOUT.
2003-11-28Added a variable for the follow_pointer boolean.lecoanet
2003-11-28 * (Coords): When replacing all the coordinates of a curve, thelecoanet
control point list was not correctly updated.
2003-11-28 * The smooth method incorrectly reported bezier curvelecoanet
segments instead of straight line segments. * Added a configuration option -followpointer to try some optimizations of motion event processing under application control. The motion events are still emitted but the enter leave processing is suspended when this option is set to zero.
2003-11-28 * (ZnGetTexFont): Patch to enable all 256 glyphs of a fontslecoanet
minus the 32 first.
2003-10-13Optimized out the modification of an imagelecoanet
attribute with the same image value. The previous behaviour led to a core dump (pb with reference couting).
2003-10-13*** empty log message ***lecoanet
2003-10-08Fixed the return type of the ZnPointInRegion prototype to returnlecoanet
a ZnBool
2003-10-07fixed for macosxconversy
2003-10-05Changed scrollbar support code so that it can worklecoanet
with tcl and perl-tk.
2003-10-03Added code to propagate updates on tk images.lecoanet
Added code to construct the valid region of an image (shaped) even if TkPhotoGetValidRegion is not available (perl or not a photo). Added a fun telling if a point is on the active area of the image. Changed the internal api for using images to match the changes above. A tkfont reference is kept for each txf using the font so that the font can be freed if no longer used. Use of the max texture size is now reliable and texture allocation for fonts start with the largest tex and increase the tex height from 64 to the max tex limit. This seems to work ok for large fonts.
2003-10-03Fixed a core in icon Pick method when the image is not specified.lecoanet
2003-10-02Added the -tracksymbol option to be used as a default forlecoanet
the -symbol attribute for tracks. Updated the option code to follow the new image behavior. The scrollbar protocol in perl has been slightly debugged but still won't work, more on this later. Update the font code to load fonts infos (GL) only when receiving the realize event.
2003-10-02Exports ZnDamageAlllecoanet
2003-10-02Tiles and patterns are now updated if their images change.lecoanet
Corrected a bug in rectangle tiling (textures) under openGL when optimizing for aligned rectangles.
2003-10-02Changes in the Image api and addition of ZnPointInImage.lecoanet