Example #1
0
 public static extern NVGpaint RadialGradient(IntPtr ctx, float cx, float cy, float inr, float outr, NVGcolor icol, NVGcolor ocol);
Example #2
0
 public static extern NVGpaint LinearGradient(IntPtr ctx, float sx, float sy, float ex, float ey, NVGcolor icol, NVGcolor ocol);
Example #3
0
 public static extern NVGpaint BoxGradient(IntPtr ctx, float x, float y, float w, float h, float r, float f, NVGcolor icol, NVGcolor ocol);
Example #4
0
 public static extern void FillColor(IntPtr ctx, NVGcolor color);
Example #5
0
 public static extern void StrokeColor(IntPtr ctx, NVGcolor color);
Example #6
0
 public static extern NVGcolor TransRGBAf(NVGcolor c0, float a);
Example #7
0
 public static extern NVGcolor TransRGBA(NVGcolor c0, byte a);
Example #8
0
 public static extern NVGcolor LerpRGBA(NVGcolor c0, NVGcolor c1, float u);