DPSsetdash::: now accepts an empty dash pattern, signaling a reset

to a solid line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14697 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2002-10-10 09:44:40 +00:00
parent 8ce5bbbfbc
commit 2ba8067755

View file

@ -1423,6 +1423,13 @@ typedef enum {
char dash_list[size];
int i;
if ((pat == NULL) || (size == 0))
{
gcv.line_style = LineSolid;
[self setGCValues: gcv withMask: GCLineStyle];
return;
}
gcv.line_style = LineOnOffDash;
[self setGCValues: gcv withMask: GCLineStyle];