public void SetSourceSurface (Surface surf, float x = 0f, float y = 0f) {
NativeMethods.vkvg_set_source_surface (handle, surf.Handle, x, y);
}
- public void RenderSvg (IntPtr nsvgImage) {
- NativeMethods.vkvg_render_svg (handle, nsvgImage);
+ public void RenderSvg (IntPtr nsvgImage, string subId = null) {
+ NativeMethods.vkvg_render_svg (handle, nsvgImage, subId);
}
internal static byte[] TerminateUtf8(string s)
{
[DllImport (libvkvg, CallingConvention = CallingConvention.Cdecl)]
internal static extern void nsvg_get_size (IntPtr nsvgImage, out int width, out int height);
[DllImport (libvkvg, CallingConvention = CallingConvention.Cdecl)]
- internal static extern void vkvg_render_svg (IntPtr ctx, IntPtr nsvgImage);
+ internal static extern void vkvg_render_svg (IntPtr ctx, IntPtr nsvgImage, string subId);
#endregion
}
}