You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/WebGPUExternalSurfaceDemo/README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,11 +23,13 @@ Requirements:
23
23
- a WebGPU-capable desktop backend such as D3D12 or Vulkan
24
24
- adapter support for the storage-capable BGRA format selected by the sample
25
25
26
-
When the sample starts you should see a WinForms window with three tabs:
26
+
When the sample starts you should see a WinForms window with five tabs:
27
27
28
28
-`Clock`: a continuously-rendered animated clock scene
29
29
-`Tiger`: an interactive SVG tiger viewer with pan and zoom
30
30
-`Apply`: a reactive external-surface readback scene using `DrawingCanvas.Apply(...)`; move the mouse to move the edge-detect and blur regions, and use the mouse wheel to resize them
31
+
-`Manual Text Flow`: prepared text is laid out one line at a time around a circular obstacle that follows mouse movement
32
+
-`Rich Text Editor`: a small editor surface that exercises text selection, caret movement, hit testing, font changes, and inline styling
31
33
32
34
## Why This Sample Matters
33
35
@@ -114,6 +116,8 @@ The scenes are deliberately ordinary canvas code:
-[TigerViewerScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/TigerViewerScene.cs): pan and zoom SVG tiger viewer
116
118
-[ApplyReadbackScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/ApplyReadbackScene.cs): `Apply(...)` scene that reads the external surface back into CPU processing
119
+
-[ManualTextFlowScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/ManualTextFlowScene.cs): interactive manual text flow using prepared line layout enumeration
120
+
-[RichTextEditorScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/RichTextEditorScene.cs): custom rich text editor built from Fonts hit testing, caret, selection, and run APIs
117
121
118
122
Each scene receives:
119
123
@@ -127,4 +131,6 @@ Each scene receives:
127
131
-[ClockScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/ClockScene.cs): clock scene
128
132
-[TigerViewerScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/TigerViewerScene.cs): tiger viewer scene
129
133
-[ApplyReadbackScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/ApplyReadbackScene.cs): apply readback scene
134
+
-[ManualTextFlowScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/ManualTextFlowScene.cs): manual text-flow scene
135
+
-[RichTextEditorScene.cs](d:/GitHub/SixLabors/ImageSharp.Drawing/samples/WebGPUExternalSurfaceDemo/Scenes/RichTextEditorScene.cs): rich text editor scene
0 commit comments