Support start dwell for OL_POINTS objects
This commit is contained in:
parent
e5bbe12169
commit
8d322796a1
1 changed files with 5 additions and 0 deletions
|
@ -516,7 +516,12 @@ static void bezier_to(float x, float y, uint32_t color)
|
||||||
|
|
||||||
static void point_to(float x, float y, uint32_t color)
|
static void point_to(float x, float y, uint32_t color)
|
||||||
{
|
{
|
||||||
|
int i;
|
||||||
addpoint(x,y,color);
|
addpoint(x,y,color);
|
||||||
|
if (dstate.points == 0)
|
||||||
|
for (i=0; i<params.start_dwell; i++)
|
||||||
|
addpoint(x,y,color);
|
||||||
|
|
||||||
dstate.points++;
|
dstate.points++;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue