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