Visit Gigasoft's Web Site
 ProEssentials v10 Help

RenderEngine

Scope

Pego, Pesgo, Pepso, Pe3do, Pepco

Type

Int32

Default

PERE_GDIPLUS

.NET

PeConfigure.RenderEngine

Ocx|Vcl

RenderEngine

DLL

PEP_nRENDERENGINE

 

Purpose

This property controls the rendering technology used in building the image.

 

2D charts, the most robust and common setting is Direct2D.  For 2D Contours, real-time or huge data charting, Direct3D is the best option.  ComputeShader is possible for 2DContours and Line Charts.

 

3D charts, most always set to Direct3D. ComputeShader can support GPU side construction of 3D Surfaces.  

 

.NET Gigasoft.Enums.

ActiveX and

 

RenderEngine

DLL Constants

Description

Gdi

PERE_GDI 0 (0)

Mostly a legacy and un-necessary setting.  May be useful for low level printing logic or for WMF Pure GDI/Metafile compatibility. Thick dashed lines not possible. This used to be a very fast render engine but over the last 20 years driver support for GDI has resulted in GDI possibly being very slow.

Hybrid

PERE_HYBRID (1)

Mostly a legacy and un-necessary setting. Rendering with support for GDI thick dashed lines, and optional Anti-Aliased text. A mixture of GDI and GDI+ calls will be used. This mode only supports Anti-Aliasing text. All other non textual graphical output will be GDI.

GdiPlus

PERE_GDIPLUS (2)

Possibly a good setting for low level printing.
Rendering with all graphical commands outputted as GDI+. Anti-Aliasing Text and Graphics is supported. Colors are represented as 32bit with the alpha. Performance is somewhat slow. 

GdiTurbo

PERE_GDI_TURBO (3)

Mostly a legacy and un-necessary setting. GDI rendering but faster and optimized with direct hDC output. Data reduction of 2D linear and bar type plots can achieve pixel accuracy.  

Direct2D

PERE_DIRECT2D (4)

The default and best option for a robust 2D charting engine. Rendering with all graphical commands outputted via Direct2D api calls. Anti-Aliasing Text and Graphics is supported. Colors are represented as 32bit with the alpha channel. 

Direct3D

PERE_DIRECT3D (5)

Currently only used for the Pe3do, Pesgo and Pego controls. Rendering with all graphical commands outputted via DirectX12 api calls or a composite of Direct2D and Direct3D. 

 

VCL Enumerations

eRenderEngine = (xGdi, xHybrid, xGdiPlus, xGdiTurbo, xDirect2D, xDirect3D);

Replace the prefix "x" with g (graph), sg (scientific graph), td (3d scientific graph), ps (polar/smith), or pc (pie chart)

 

Comments

PeConfigure.RenderEngine members of Pego.PeConfigure, Pesgo.PeConfigure, Pepso.PeConfigure, Pe3do.PeConfigure, Pepco.PeConfigure

 

See Also: AntiAliasText, AntiAliasGraphics, Composite2D3D