aboutsummaryrefslogtreecommitdiff
path: root/generic/Color.c
AgeCommit message (Collapse)Author
2005-05-30Add a test on the coordinates of a gradient when specified as 2 points. The ↵lecoanet
corner should be greater than the origin. Fixed a bug causing a segv when either a gradient is specified either fully on the right or on the left of the filled object.
2005-04-27Modified the copyright to BSD style.lecoanet
2005-04-13Expanded the tabs into spaces to make the indenting independant oflecoanet
the editing environment (emacs vs vi for example).
2005-03-22Suppressed __unused attribute, this will be dealed withlecoanet
by the gcc directive -Wno-unused-parameter and VC++ does not care about these anyway.
2004-09-09Suppressed forgotten traces in gradient code.lecoanet
2004-07-28Fixed processing of extended gradient syntax (vector basedlecoanet
specification) which was completly wrong for axial gradients. Fix some other minor bugs in gradient structure initialisation. CVS: /home/lecoanet/TCLTK/Tkzinc-3.2.99/generic/Color.c CVS: CVS: Type C-c C-c when done or C-c C-d to abort. CVS: ----------------------------------------------------------------------
2004-04-30Casts for Windows compile.lecoanet
2004-03-24Added a boolean abs to the translate method. Added the tget method.lecoanet
2004-03-03Fixed a potentially unitialized angle value in the gradient struct.lecoanet
2003-10-02Changed the CONICAL gradient parameters. If only one value is givenlecoanet
it is taken for the gradient starting angle, the center being 0,0. If two values are given, they are taken as the gradient center, the starting angle being 0. If three values are given they are the gradient center followed by the gradient starting angle. If four values are given, they are two points defining the center and the angle/extent of the gradient (vector based definition).
2003-06-16Added a syntax describing the center and angle for conicallecoanet
gradients.
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-05-16Modification of gradient syntax to support vector style specificationlecoanet
2003-04-16Update from the Windows port and general cleanup/restructurelecoanet
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-17Nouvelle syntaxe des gradients.lecoanet
2002-12-09 * Correction pour compiler proprement en Tcl.lecoanet
2002-09-02 * (ZnGetGradient): Supprime la limitation sur la longueur deslecoanet
descriptions de gradients. Elle ne donnait meme pas lieu � un message d'erreur, seulement un core dump ! * (ZnNameGradient): Verifie que le nom de gradient n'est pas un nom de couleur. Am�liore la sortie d'erreur, elle est adapt�e au cas d'erreur au lieu d'�tre generique.
2002-05-31Ajout de la fonction ZnGradientNameExistslecoanet
2002-05-29Ajout d'un include pour corriger des warnings en Tcl.lecoanet
2002-05-16Correction du calcul de la valeur interm�diaire entre deux couleurs/alphas,lecoanet
ce bug rendait inactif le param�tre de tension des gradients.
2002-03-15ajout de l'alpha dans les gradients reliefs.lecoanet
2002-02-18Passage des couleurs en gradients pour uniformiserlecoanet
2001-11-26Adaptation pour le gradient PATH.lecoanet
2001-11-12Ajout des gradients nommes, les cles de la table des gradients sont ↵lecoanet
desormais des chaines
2001-10-24Correction de bugs dans le d�codage d'un gradientlecoanet
2001-10-12Suppression de la r�alisation diff�r�e des gradients.lecoanet
Prise en compte de l'alpha dans les gradients. Suppression des �l�ments propre � X11 de la structure du gradient.
2001-06-27correction de bugs sur les degrade reliefslecoanet
2001-06-25Modification des gradientslecoanet
2001-03-30*** empty log message ***lecoanet
2000-03-23Correction d'un bug dans le partage des gradients de couleurlecoanet
du � la non utilisation d'un Uid. D�sormais Tk_GetUid est systematiquement appel�e par pr�caution. Remplacement de ZnColorGradientPixel par ZnColorGradientColor plus g�n�rale. Ajout de ZnColorGradientMidColor pour r�cup�rer la couleur centrale d'un gradient.
2000-03-07 * Correction de plusieurs problemes de calcul de couleurlecoanet
dans les d�grad�s de reliefs.
2000-02-02Passage en Zinclecoanet
2000-01-12Module rempla�ant la gestion des couleurs (d�grad�s) de Tk.lecoanet