Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::IRenderContext Class Referenceabstract

IRenderContext base interface for rendering. More...

Inheritance diagram for gem::IRenderContext:

Public Member Functions

virtual EImagePixelFormat encoding () const =0
 Get the encoding.
virtual Rect const & viewport () const =0
 Get the viewport rectangle associated with this rendering context.
virtual const void * getSystemContext () const
 Get the system rendering context (platform-dependent).

Detailed Description

IRenderContext base interface for rendering.

Member Function Documentation

◆ encoding()

virtual EImagePixelFormat gem::IRenderContext::encoding ( ) const
pure virtual

Get the encoding.

Returns
The image pixel format.

◆ getSystemContext()

virtual const void * gem::IRenderContext::getSystemContext ( ) const
inlinevirtual

Get the system rendering context (platform-dependent).

Returns
The system rendering context.

◆ viewport()

virtual Rect const & gem::IRenderContext::viewport ( ) const
pure virtual

Get the viewport rectangle associated with this rendering context.

Returns
The viewport rectangle.