HPS.D3DImageCanvas Class Reference
Inheritance diagram for HPS.D3DImageCanvas:

Public Member Functions | |
D3DImageCanvas (HPS.OffScreenWindowOptionsKit in_options, string in_name, int in_width=800, int in_height=800) | |
override void | Dispose () |
virtual void | OnSizeChanged (object sender, Size in_new_size, bool in_do_resize) |
![]() | |
void | Assign (HPS.Canvas in_that) |
void | AttachLayout (HPS.Layout in_layout) |
void | AttachViewAsLayout (HPS.View in_view) |
Canvas (HPS.Canvas that) | |
void | Delete () |
void | DetachLayout () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.Canvas in_that) |
HPS.Layout | GetAttachedLayout () |
HPS.IncludeKey | GetAttachedLayoutIncludeLink () |
float | GetFrameRate () |
HPS.View | GetFrontView () |
override int | GetHashCode () |
string | GetName () |
HPS.PortfolioKey | GetPortfolioKey () |
HPS.WindowKey | GetWindowKey () |
override HPS.Type | ObjectType () |
void | SetFrameRate (float in_frame_rate) |
void | SetFrameRate () |
void | Update () |
void | Update (HPS.Window.UpdateType in_type, double in_time_limit) |
void | Update (HPS.Window.UpdateType in_type) |
HPS.UpdateNotifier | UpdateWithNotifier () |
HPS.UpdateNotifier | UpdateWithNotifier (HPS.Window.UpdateType in_type, double in_time_limit) |
HPS.UpdateNotifier | UpdateWithNotifier (HPS.Window.UpdateType in_type) |
![]() | |
Sprocket (HPS.Sprocket in_that) | |
![]() | |
virtual bool | Empty () |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
bool | HasType (HPS.Type in_mask) |
Object (HPS.Object that) | |
virtual void | Reset () |
virtual HPS.Type | Type () |
Properties | |
ImageSource | ImageSource [get] |
Additional Inherited Members | |
![]() | |
static bool | operator!= (HPS.Canvas a, HPS.Canvas b) |
static bool | operator== (HPS.Canvas a, HPS.Canvas b) |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
override void | deleteCptr () |
![]() | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Constructor & Destructor Documentation
◆ D3DImageCanvas()
|
inline |
Constructs a new D3DImageCanvas.
- Parameters
-
in_options Options for the underlying offscreen window. in_name An optional name for the canvas. in_width The desired initial canvas width in pixels. in_height The desired initial canvas height in pixels.
Member Function Documentation
◆ OnSizeChanged()
|
inlinevirtual |
Intended for forwarding of resize events from the parent window and throttling them to ensure not too many updates are performed while the window is being resized rapidly.
- Parameters
-
sender in_new_size The new size in pixels. in_do_resize Request an update on the next internal size timer tick (200ms interval).
Property Documentation
◆ ImageSource
|
get |
The associated ImageSource containing the rendered canvas content.
The documentation for this class was generated from the following file:
- internals/hps_sprk_d3dimage/source/cs/HPS.D3DImageCanvas.cs