This commit is contained in:
2025-07-25 16:27:29 +08:00
parent 38b27cd481
commit b5cad3c171
1114 changed files with 68009 additions and 23981 deletions
@@ -183,8 +183,8 @@ Class DispEngine
<div class="markdown level0 remarks"><p>The <code>DispEngine</code> is the core rendering and interaction engine for HiAPI applications.</p>
<h2 id="related-documentation">Related Documentation</h2>
<ul>
<li><a href="../brief/developer-doc/basic/rendering-canvas/index.md">Using RenderingCanvas with DispEngine</a></li>
<li><a href="../brief/developer-doc/basic/rendering-canvas/custom-implementation.md">Building Your Own Rendering Canvas</a></li>
<li><a href="../brief/dev-doc/basic/rendering-canvas/index.md">Using RenderingCanvas with DispEngine</a></li>
<li><a href="../brief/dev-doc/basic/rendering-canvas/custom-implementation.md">Building Your Own Rendering Canvas</a></li>
</ul>
<p>The DispEngine provides a unified API for handling rendering, user interaction, and touch gestures across different UI frameworks.</p>
</div>
@@ -1406,7 +1406,7 @@ This function is typically called in the GUI implementation for keyboard interac
<div class="markdown level1 summary"><p>Transform <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SketchView">SketchView</a> by key.
<a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_Home">Home</a>, <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_F1">F1</a>, <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_F2">F2</a>, <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_F3">F3</a>, <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_F4">F4</a>
call <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToHomeView">SetViewToHomeView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToFrontView">SetViewToFrontView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToSideView">SetViewToSideView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToTopView">SetViewToTopView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToIsometricView">SetViewToIsometricView()</a> respectively.
call <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToHomeView">SetViewToHomeView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToFrontView">SetViewToFrontView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToRightView">SetViewToRightView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToTopView">SetViewToTopView()</a>, <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SetViewToIsometricView">SetViewToIsometricView()</a> respectively.
<a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_PageDown">PageDown</a> and <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_PageUp">PageUp</a> scale the <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SketchView">SketchView</a>.
<a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_Left">Left</a>, <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_Right">Right</a>, <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_Down">Down</a>, <a class="xref" href="Hi.PanelModels.HiKey.html#Hi_PanelModels_HiKey_Up">Up</a> translate the <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SketchView">SketchView</a>;
Press <a class="xref" href="Hi.PanelModels.HiModifierKeys.html#Hi_PanelModels_HiModifierKeys_Shift">Shift</a> make these keys to rotate the <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_SketchView">SketchView</a>.</p>
@@ -1993,10 +1993,10 @@ This is the same as <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEn
<a id="Hi_Disp_DispEngine_SetViewToSideView_" data-uid="Hi.Disp.DispEngine.SetViewToSideView*"></a>
<a id="Hi_Disp_DispEngine_SetViewToRightView_" data-uid="Hi.Disp.DispEngine.SetViewToRightView*"></a>
<h3 id="Hi_Disp_DispEngine_SetViewToSideView" data-uid="Hi.Disp.DispEngine.SetViewToSideView">
SetViewToSideView()
<h3 id="Hi_Disp_DispEngine_SetViewToRightView" data-uid="Hi.Disp.DispEngine.SetViewToRightView">
SetViewToRightView()
</h3>
@@ -2005,7 +2005,7 @@ This is the same as <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEn
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetViewToSideView()</code></pre>
<pre><code class="lang-csharp hljs">public void SetViewToRightView()</code></pre>
</div>
@@ -2352,6 +2352,32 @@ Where h is window height.</p>
<a id="Hi_Disp_DispEngine_TurnBackView_" data-uid="Hi.Disp.DispEngine.TurnBackView*"></a>
<h3 id="Hi_Disp_DispEngine_TurnBackView" data-uid="Hi.Disp.DispEngine.TurnBackView">
TurnBackView()
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void TurnBackView()</code></pre>
</div>
<a id="Hi_Disp_DispEngine_UnlockGlContext_" data-uid="Hi.Disp.DispEngine.UnlockGlContext*"></a>
<h3 id="Hi_Disp_DispEngine_UnlockGlContext_System_IntPtr_" data-uid="Hi.Disp.DispEngine.UnlockGlContext(System.IntPtr)">