Zou Wei

Results 75 comments of Zou Wei

partially restored scroll before a81cf932c406d8b1f79ad7faff8172ce4c67e391 ![imgui_textbox_scroll](https://user-images.githubusercontent.com/6965758/85779315-0e1be100-b756-11ea-8e6f-5801ed0ec85a.gif)

reference: * webkit canvas 2D - https://github.com/WebKit/webkit/blob/c1a21624b3be026d89d161de40e96b5234cd2f2f/Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp - https://github.com/WebKit/webkit/blob/e45dd864a345bb28f68bb969072a13ea75a74fdb/Source/WebCore/html/canvas/CanvasPath.h - https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes * cairo - https://github.com/zwcloud/CairoSharp/blob/b696af4f91ccef14aedf6902cad72a4284e2640f/source/Native/cairo/src/cairo-path-stroke-polygon.c * WPF - [SteamGeometry](https://github.com/dotnet/wpf/blob/43dd5c0753af99f6af4a7e842b5ee75271b73142/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/StreamGeometry.cs), [ByteStreamGeometryContext](https://github.com/dotnet/wpf/blob/43dd5c0753af99f6af4a7e842b5ee75271b73142/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/ByteStreamGeometryContext.cs), [StreamGeometryContext](https://github.com/dotnet/wpf/blob/43dd5c0753af99f6af4a7e842b5ee75271b73142/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/StreamGeometryContext.cs) TODO `StreamGeometryContext` should be implemented first and the `PathGeometryBuilder`...

But the performance is very possibly bad according to https://marcoscobena.com/?i=wave-engine-web-performance Trying [donet/runtimelab/NativeAOT-LLVM WebAssembly](https://github.com/dotnet/runtimelab/blob/feature/NativeAOT-LLVM/docs/using-nativeaot/compiling.md#webassembly) instead. The basic OpenGL experimental demo based on new donet/runtimelab/NativeAOT-LLVM WebAssembly is successful at https://github.com/zwcloud/MinimalCSharpWasmWebGL-NativeAOT-LLVM But the...

Some essential functions haven't been implemented: * move mouse and click programmatically * a built-in test runner

Projects that may be useful: * https://github.com/PlasticSCM/GuiTestSharp

finished: baisc info, window and MeshBuffer ![image](https://user-images.githubusercontent.com/6965758/98824172-efe92000-246d-11eb-9c4c-cfd1d721f6a8.png) ![image](https://user-images.githubusercontent.com/6965758/98824112-dd6ee680-246d-11eb-8d5b-3e9c9ea8a573.png)

internal states ![image](https://user-images.githubusercontent.com/6965758/98942974-ca215100-2529-11eb-94dc-6143b5cfcb1e.png) debug item picker ![2020-11-12_20-43-12](https://user-images.githubusercontent.com/6965758/98942869-9fcf9380-2529-11eb-8399-8337f9c7d62d.gif)

box-model inspector ![image](https://user-images.githubusercontent.com/6965758/99273886-8e0d2980-2864-11eb-88ea-50787d62249d.png)

Thanks! I will have a look at these later.

Windows ====== Done for specific environment on Windows in https://github.com/zwcloud/CairoSharp/commit/1a2618181348bed1a9b6048ece5d775c709140b8: * Windows SDK Version: 8.1 * Platform toolset: Visual Studio 2017 (v141) * Platform: x86 and x64 The built demos...