aboutsummaryrefslogtreecommitdiff
path: root/generic
AgeCommit message (Collapse)Author
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
2003-04-16Update from the Windows port and general cleanup/restructurelecoanet
2003-04-02*** empty log message ***lecoanet
2003-04-02 * Modifs afin que le gradient de relief utilis� pour dessinerlecoanet
la bordure de fen�tre ne soit allou� que si le relief est effectivement utilis�.
2003-03-24Reprise du code d'analyse d'un nom de gradient afin d'am�liorerlecoanet
la robustesse, d'am�liorer le rapport d'erreur et de changer la syntaxe pour �tre plus conforme Perl, le @ --> =.
2003-03-17 * Utilisation de l'ent�te glu.h de libtess au lieu de GLU.lecoanet
* (WidgetObjCmd): Emp�che de placer un groupe ancetre dans un de ses fils par la commande chggroup. * (Contour): Correction d'une erreur de type sur winding_flag. * Incorporation du test de la variable d'environnement ZINC_GLX_INFO permettant de desactiver les msgs d'info GL. * (Repair): Suppression de la d�pendance � GLU (gluOrtho2D). * (Tkzinc_Init): Compilation pour utiliser tcl et tk avec les stubs, l'init est plus conforme � la norme Tcl actuelle. * (Destroy): Correction d'un core dump du � la tentative de lib�ration d'un context GL en X.
2003-03-17 * (ToArea): Corrige un probleme de d�tection sur deslecoanet
triangles dispos�s en fans. * (CurveTessError): Suppression de la dependance � GLU.
2003-03-17 * (Configure): Suppression du code for�ant les composerot/scalelecoanet
� faux si on n'est pas en GL. De m�me dans Init la valeur par d�faut est toujours vrai. Je ne me souviens pas de la raison d'avoir mis ces flags � faux... mais cela am�ne un comportement par d�faut tr�s contre-intuitif.
2003-03-17Utilisation du header de libtess au lieu de GLUlecoanet
2003-03-17 * (ZnFreeTexFont): Correction de l'ordre de desallocationlecoanet
du txf qui conduisait � un core dump. * Correction de la liste des caract�res sacceptables dans une fonte en GL, il y avait deux fois ~
2003-03-17 * (IntersectLines): Correction d'un probl�me de precisionlecoanet
il fallait utiliser des flottants.
2003-03-17Correction de warningslecoanet