vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
35 stars 14 forks source link

Add Primitives #37

Open antongit opened 1 year ago

antongit commented 1 year ago

https://github.com/ocornut/imgui/blob/cb48c81a448aa0a4867e327c0a045a708ff3842e/imgui.h#L2529

azeno commented 1 year ago

@antongit I've just added the Line, the other primitives should be doable the same way. See also my comments in code, there's some room for thought regarding the coordinate system one would assume when drawing and also how effective we can apply a transformation. But when we think about modifying the render matrix directly we'll also need to take other rendering backends like Stride into account.

antongit commented 1 year ago

@azeno I'm getting an Exception (.5 related not ImGui). The patch was working, I've saved it under another name. Exception came. I've restarted VL, still exception. The Patch is attached.

image

HowTo Make Window's Background Multicolor.zip

antongit commented 1 year ago

TODO:

azeno commented 1 year ago

@azeno I'm getting an Exception (.5 related not ImGui). The patch was working, I've saved it under another name.

Culprit is the apostrophe in the name. Upcoming versions will fix this.