- msbuild vkvg.sln /p:Configuration=Debug /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
- cd ..
- - 7z a vkvg.zip build\*.dll build\*.lib build\*.exe
+ - 7z a vkvg.zip build\*.*
-
matrix:
vec2 v = {cosf(a1)*radius + xc, sinf(a1)*radius + yc};
float step = _get_arc_step(ctx, radius);
- printf ("steps: %.2f\n", 2.f*M_PIF/step);
float a = a1;
if (_current_path_is_empty(ctx))
float totDashLength = 0;
for (uint32_t i=0;i<ctx->dashCount;i++)
totDashLength+=ctx->dashes[i];
- if (EQUF(ctx->dashOffset, 0)||EQUF(totDashLength, 0))
+ if (totDashLength == 0){
+ ctx->status = VKVG_STATUS_INVALID_DASH;
+ return;
+ }
+ /*if (ctx->dashOffset == 0)
curDashOffset = 0;
- else
+ else*/
curDashOffset = fmodf(ctx->dashOffset, totDashLength); //cur dash offset between defined path point and last dash segment(on/off) start
//-----