Exemple #1
0
 public static extern NVGpaint RadialGradient(IntPtr ctx, float cx, float cy, float inr, float outr, NVGcolor icol, NVGcolor ocol);
Exemple #2
0
 public static extern NVGpaint LinearGradient(IntPtr ctx, float sx, float sy, float ex, float ey, NVGcolor icol, NVGcolor ocol);
Exemple #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);
Exemple #4
0
 public static extern void FillColor(IntPtr ctx, NVGcolor color);
Exemple #5
0
 public static extern void StrokeColor(IntPtr ctx, NVGcolor color);
Exemple #6
0
 public static extern NVGcolor TransRGBAf(NVGcolor c0, float a);
Exemple #7
0
 public static extern NVGcolor TransRGBA(NVGcolor c0, byte a);
Exemple #8
0
 public static extern NVGcolor LerpRGBA(NVGcolor c0, NVGcolor c1, float u);