aboutsummaryrefslogtreecommitdiff
path: root/generic
AgeCommit message (Collapse)Author
2003-10-02Changed the ZnConfigureAttributes api.lecoanet
2003-10-02Adaptation of ZnConfigureAttributes to obtain the itemlecoanet
and the attribute record. This enable the configuration of attributes from fields even if the item record is needed.
2003-10-02Replaced the fopen/fclose/fread api by the corresponding Tcl_Channellecoanet
api for reading videomaps. This enable using zinc and data right from starkits.
2003-10-02Change in the api of ZnConfigureAttributes.lecoanet
2003-10-02Tiles are updated when their images are changed, the tk imagelecoanet
update mecanism is now fully fonctional. Picking of shaped icons is know correct in all cases including rotated icons in both X and GL environments.
2003-10-02Tiles and markers are updated when their images are changed, the tk imagelecoanet
update mecanism is now fully fonctional.
2003-10-02Tiles are updated when their images are changed, the tk imagelecoanet
update mecanism is now fully fonctional.
2003-06-16Added a syntax describing the center and angle for conicallecoanet
gradients.
2003-06-16Use of the new ZnGetGradientPixel when possible.lecoanet
Adaptation for the new gradient structure. Added the processing of conical gradients. Simplified gradient preparation only one function need to be called ZnComputeGradient.
2003-06-16Simplification of gradient prep.lecoanet
2003-06-16Changes in the structure to match the vector syntax andlecoanet
the new gradient type.
2003-06-16 * Added a new gradient type: conical which is describedlecoanet
by a center and an angle or a vector. * Added alternative vector based gradient syntax. This is effective in axial and radial gradient types. * (ZnGetGradient): angle, position, control can be real numbers
2003-06-16 * Use of the new ZnGetGradientPixel when possiblelecoanet
* (ZincObjCmd): Fixed a core dump when destroying zinc after an error occured during the first Configure. The tesselator got inited a bit late.
2003-06-16Added a new quality grade for circles ZN_CIRCLE_FINERlecoanet
2003-06-16Simplified the grdient prep/drawing interface.lecoanet
Use of the new ZnGetGradientPixel function in X. Added an optimized case for tile filed rectangles when they are aligned with the pixel matrix (openGL). This can dramatically boost performances on some applications.
2003-06-16Use of ZnGetGradientPixel in X.lecoanet
2003-06-16 * Simplified the gradient prep/drawing interface.lecoanet
* Use of the new ZnGetGradientPixel function in X * (Pick): Changed the picking method used for curve interiors. The new one is based on triangle strips/fans not on the outlines.
2003-06-16Simplified the gradient routines interface.lecoanet
Use of the new ZnGetGradientPixel instead of ZnGetGradientColor in X.
2003-05-16*** empty log message ***lecoanet
2003-05-16Fix the fix for Rendering text under ptk....hmmmm!!lecoanet
2003-05-16Commented out the utf8 conversion in Render (ptk)lecoanet
2003-05-16*** empty log message ***lecoanet
2003-05-16Added support for vector style specification of gradientlecoanet
2003-05-16Modification of gradient syntax to support vector style specificationlecoanet
2003-05-16 * (ComputeCoordinates): Modified the processing oflecoanet
the white space/tab causing a line break when a -width limiting atribute is in effect. The extra space used to be located at the beginning of the new line. Now it is suppressed. Other white spaces are still displayed at the begining of the line. The new behavior seems more natural.
2003-05-16 * (Destroy): Added a test on the patterns used inlecoanet
the symbol list before destroying them.
2003-05-16 * Fixed a bug on MAX_CHAR preventing display of accentedlecoanet
letters (the most useful ones. * (ZnImageTex): Alpha can be safely (?) loaded both for perl/tk and tk. This is valid only under GL. * (SuckGlyphsFromServer): Trapped a potential problem with some fonts reporting zero width. Improved error report. The maximum width was computed on M and W. If those characters were missing, a zero pixmap allocation occured. Now the max width is computed on the real characters.
2003-05-16 * (ZnCompute...Gradient): Stopped trying to be clever aboutlecoanet
which contour should contribute to the gradient extent. All contours are considered regardless of their direction. This fix a bug on many curve whose first (main contour) is described clockwise.
2003-05-09 * (PickCurrentItem, DoEvent): Fixed a couple of problems inlecoanet
Enter/Leave generation during grabs. * Fix a segfault occuring when asking for the ancestors of an unknown item. * In Contour, the contour reverting was done on the shared point array given by GetClipVertices/GetContours, not on the new unshared array. * It is now possible to add a polygonal (non simple) contour from an item that export only the GetClipVertices method. In the past it was only possible to add bounding boxes via this method. This is important for rotated rectangles for example.
2003-05-09 * (ZN_GRABBED_PART): Added to obtain the right Enter/Leavelecoanet
behavior in fields during a grab.
2003-05-09 * (Render): Fixed the pattern filling under openGL. Stipplinglecoanet
can't be used to fill patterns. Now texture mapping is used instead. As a side effect -fillpattern and -tile use the same internal variable reducing memory requirements.
2003-05-09*** empty log message ***lecoanet
2003-05-09 * (ZnGetLeaderAnchors): Corrected a core dump on some bad syntaxlecoanet
cases.
2003-05-09 * (ZnImageTex): in perl/Tk, alpha need to be set to 255 everywhere inlecoanet
the image due to limitation in Tk 8.0.
2003-05-09 * (RenderField): Fixed the pattern filling under openGL. Stipplinglecoanet
can't be used to fill patterns. Now texture mapping is used instead. As a side effect -fillpattern and -tile use the same internal variable reducing memory requirements. * (FieldsEngine, RenderField, DrawField): Changes to enable cursor drawing even if the empty string is displayed.
2003-05-09 * (Render): Fixed the marker stippling for openGLlecoanet
2003-05-09 * (Render, Draw): Drawing is done even for an empty text, just tolecoanet
display the cursor. * (ComputeCoordinates): The bounding box cannot be smaller than the font height to be able to display the cursor.
2003-05-09 * (ZnCompute...Gradient): Test whether the shape has multiplelecoanet
contours to skip clockwise contours in computing the gradient bbox. This enable the description of a filled clockwise mono contour. * (ZnRenderTile): Slightly changed to enable drawing patterns using the same routine depending on the image status (photo or bitmap).
2003-05-09 * (Contour): Allocation of points and control arrays is controlledlecoanet
by the Contour procedure in tkZinc.c so there no point in duplicating the effort here. Moreover the extra space is never deallocated. * (Render): Fixed the pattern filling under openGL. Stippling can't be used to fill patterns. Now texture mapping is used instead. As a side effect -fillpattern and -tile use the same internal variable reducing memory requirements. * (Init): Properly initialize the winding direction of the first contour given at creation time.
2003-04-25Correct a misalignment between the option array andlecoanet
the option offsets causing core dumps and a wrong behavior of scrollbars under Windows.
2003-04-24Test the allocation of textures both for images andlecoanet
for fonts. Suppressed the glGetIntegerv on GL_MAX_TEXTURE_SIZE which can be erroneous before window mapping. Disabled the test on max_tex_size until the value can reliably be read as soon as the widget creation. The texture for font is increased on the width and the height in alternance. The limit on texture expansion will be found at texture creation time and reported through glGetError. The structure holding the font parameters used for openGL is not allocated is an error occur during font loading. The structure is also properly freed (this was partially leaking).
2003-04-24Adjustments for a clean compile with Visual C++.lecoanet
2003-04-24Corrected glu.h include.lecoanet
wi->flags was not properly inited (too late). Added max_tex_size with a default value of 64. Shut up some warnings (some not so harmless). Moved the ZnGetTexFont after the window mapping is in effect. The same for glGetIntegerv.
2003-04-24*** empty log message ***lecoanet
2003-04-24Test for render before trying to allocate default font texture.lecoanet
2003-04-24Corrected glu.h include and re-ordered Types.h to correct problemslecoanet
under Windows.
2003-04-24In fact really nothing. Just tabulation.lecoanet
2003-04-24Corrected the glu.h include.lecoanet
2003-04-24Correct include of glu.h.lecoanet
Added a state variable for max_tex_size.
2003-04-16*** empty log message ***lecoanet