User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.rendershieldtexture_tobject_boolean_tpoint

Table of Contents

TGIS_RendererAbstract.RenderShieldTexture(TObject; Boolean; TPoint) method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.RenderShieldTexture | Overloads | Fields | Methods | Properties

Render texture shield (label + chart + whatever) for 3D viewer purposes

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function RenderShieldTexture(
    const _shp : TObject;
    const _force_pow2 : Boolean;
    var _size : TPoint
  ) : TGIS_Bitmap; overload; virtual;
// C++ Builder
public:
  virtual TGIS_Bitmap* RenderShieldTexture(
    TObject* const _shp,
    const bool _force_pow2,
    TPoint* &_size
  ) /* overload */;

Parameters

Name Type Description
_shp TObject shape for which shield must be rendered
_force_pow2 Boolean If true size of resulting bitmaps is always power of 2 because some 3D engine requires it
_size TPoint actual active size of shield within bitmap which can be power 2 sized

Result

Type Description
TGIS_Bitmap Newly created bitmap or nil.
2018/02/17 00:10