neoGFX
Cross-platform C++ app/game engine
|
#include <i_surface.hpp>
Classes | |
struct | no_native_surface |
struct | not_a_window |
Public Member Functions | |
virtual | ~i_surface ()=default |
virtual i_rendering_engine & | rendering_engine () const =0 |
virtual bool | has_parent_surface () const =0 |
virtual const i_surface & | parent_surface () const =0 |
virtual i_surface & | parent_surface ()=0 |
virtual bool | is_owner_of (const i_surface &aChildSurface) const =0 |
virtual bool | is_strong () const =0 |
virtual bool | is_weak () const =0 |
virtual bool | can_close () const =0 |
virtual bool | is_closed () const =0 |
virtual void | close ()=0 |
virtual bool | is_window () const =0 |
virtual bool | is_nested_window () const =0 |
virtual const i_surface_window & | as_surface_window () const =0 |
virtual i_surface_window & | as_surface_window ()=0 |
virtual neogfx::surface_type | surface_type () const =0 |
virtual surface_style | style () const =0 |
virtual void | set_style (surface_style aStyle)=0 |
virtual neogfx::logical_coordinate_system | logical_coordinate_system () const =0 |
virtual void | set_logical_coordinate_system (neogfx::logical_coordinate_system aSystem)=0 |
virtual neogfx::logical_coordinates | logical_coordinates () const =0 |
virtual void | set_logical_coordinates (const neogfx::logical_coordinates &aCoordinates)=0 |
virtual double | z_order () const =0 |
virtual void | layout_surface ()=0 |
virtual void | invalidate_surface (const rect &aInvalidatedRect, bool aInternal=true)=0 |
virtual bool | has_invalidated_area () const =0 |
virtual const rect & | invalidated_area () const =0 |
virtual rect | validate ()=0 |
virtual double | rendering_priority () const =0 |
virtual void | render_surface ()=0 |
virtual void | pause_rendering ()=0 |
virtual void | resume_rendering ()=0 |
virtual bool | has_native_surface () const =0 |
virtual const i_native_surface & | native_surface () const =0 |
virtual i_native_surface & | native_surface ()=0 |
virtual point | surface_position () const =0 |
virtual void | move_surface (const point &aPosition)=0 |
virtual size | surface_extents () const =0 |
virtual void | resize_surface (const size &aExtents)=0 |
virtual double | surface_opacity () const =0 |
virtual void | set_surface_opacity (double aOpacity)=0 |
virtual double | surface_transparency () const =0 |
virtual void | set_surface_transparency (double aTransparency)=0 |
Public Member Functions inherited from neogfx::i_device_metrics | |
virtual bool | metrics_available () const =0 |
virtual size | extents () const =0 |
virtual dimension | em_size () const =0 |
Public Member Functions inherited from neogfx::i_device_resolution | |
virtual dimension | horizontal_dpi () const =0 |
virtual dimension | vertical_dpi () const =0 |
virtual dimension | ppi () const =0 |
Public Member Functions inherited from neogfx::i_units_context | |
virtual | ~i_units_context () |
virtual bool | device_metrics_available () const =0 |
virtual const i_device_metrics & | device_metrics () const =0 |
dimension | x2_dpi_scale_factor () const |
dimension | xn_dpi_scale_factor () const |
dimension | dpi_scale_factor () const |
template<typename T > | |
std::enable_if_t< std::is_scalar_v< T >, T > | dpi_scale (T aValue) const |
dimension | dpi_scale (dimension aValue) const |
vector2 | dpi_scale (const vector2 &aVector) const |
size | dpi_scale (const size &aSize) const |
delta | dpi_scale (const delta &aDelta) const |
point | dpi_scale (const point &aPoint) const |
padding | dpi_scale (const padding &aPadding) const |
template<typename T > | |
T && | dpi_select (T &&aLowDpiValue, T &&aHighDpiValue) const |
Public Member Functions inherited from neogfx::i_property_owner | |
virtual | ~i_property_owner ()=default |
virtual void | property_changed (i_property &aProperty)=0 |
virtual const i_properties & | properties () const =0 |
virtual i_properties & | properties ()=0 |
Public Member Functions inherited from neogfx::i_object | |
virtual | ~i_object ()=default |
virtual i_object & | as_object ()=0 |
virtual void | class_name (neolib::i_string &aClassName) const =0 |
virtual neogfx::object_type | object_type () const =0 |
Public Member Functions inherited from neolib::i_object | |
declare_event (destroying) | |
declare_event (destroyed) | |
Public Member Functions inherited from neolib::i_lifetime | |
virtual | ~i_lifetime ()=default |
virtual lifetime_state | object_state () const =0 |
virtual std::shared_ptr< std::atomic< lifetime_state > > | object_state_ptr () const =0 |
virtual bool | is_creating () const =0 |
virtual bool | is_alive () const =0 |
virtual bool | is_destroying () const =0 |
virtual bool | is_destroyed () const =0 |
virtual void | set_alive ()=0 |
virtual void | set_destroying ()=0 |
virtual void | set_destroyed ()=0 |
Public Member Functions inherited from neolib::i_reference_counted | |
virtual | ~i_reference_counted ()=default |
virtual void | add_ref () const noexcept=0 |
virtual void | release () const =0 |
virtual int32_t | use_count () const noexcept=0 |
virtual const i_reference_counted * | release_and_take_ownership () const =0 |
virtual i_reference_counted * | release_and_take_ownership ()=0 |
virtual void | pin () const noexcept=0 |
virtual void | unpin () const =0 |
virtual i_ref_control_block & | control_block ()=0 |
Definition at line 49 of file i_surface.hpp.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in neogfx::i_surface_window.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in neogfx::i_surface_window.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |