neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_graphics_context Class Referenceabstract

#include <i_graphics_context.hpp>

Inheritance diagram for neogfx::i_graphics_context:
neogfx::i_rendering_context neogfx::i_device_metrics neogfx::i_units_context neogfx::i_device_resolution neogfx::graphics_context

Classes

struct  no_tab_stops
 
struct  password_not_set
 
struct  unattached
 

Public Types

enum class  type { Attached , Unattached }
 

Public Member Functions

virtual ~i_graphics_context ()=default
 
virtual delta to_device_units (const delta &aValue) const =0
 
virtual size to_device_units (const size &aValue) const =0
 
virtual point to_device_units (const point &aValue) const =0
 
virtual vec2 to_device_units (const vec2 &aValue) const =0
 
virtual rect to_device_units (const rect &aValue) const =0
 
virtual path to_device_units (const path &aValue) const =0
 
virtual delta from_device_units (const delta &aValue) const =0
 
virtual size from_device_units (const size &aValue) const =0
 
virtual point from_device_units (const point &aValue) const =0
 
virtual rect from_device_units (const rect &aValue) const =0
 
virtual path from_device_units (const path &aValue) const =0
 
virtual void flush () const =0
 
virtual layer_t layer () const =0
 
virtual void set_layer (layer_t aLayer)=0
 
virtual neogfx::logical_coordinate_system logical_coordinate_system () const =0
 
virtual void set_logical_coordinate_system (neogfx::logical_coordinate_system aSystem) const =0
 
virtual neogfx::logical_coordinates logical_coordinates () const =0
 
virtual void set_logical_coordinates (const neogfx::logical_coordinates &aCoordinates) const =0
 
virtual void set_extents (const size &aExtents) const =0
 
virtual void set_origin (const point &aOrigin) const =0
 
virtual point origin () const =0
 
virtual void set_default_viewport () const =0
 
virtual void set_viewport (const rect &aViewportRect) const =0
 
virtual void scissor_on (const rect &aRect) const =0
 
virtual void scissor_off () const =0
 
virtual neogfx::smoothing_mode smoothing_mode () const =0
 
virtual void set_smoothing_mode (neogfx::smoothing_mode aSmoothingMode) const =0
 
virtual bool snap_to_pixel () const =0
 
virtual void set_snap_to_pixel (bool aSnap) const =0
 
virtual double opacity () const =0
 
virtual void set_opacity (double aOpacity) const =0
 
virtual neogfx::blending_mode blending_mode () const =0
 
virtual void set_blending_mode (neogfx::blending_mode aBlendingMode) const =0
 
virtual void push_logical_operation (logical_operation aLogicalOperation) const =0
 
virtual void pop_logical_operation () const =0
 
virtual void line_stipple_on (scalar aFactor, uint16_t aPattern, scalar aPosition=0.0) const =0
 
virtual void line_stipple_off () const =0
 
virtual bool is_subpixel_rendering_on () const =0
 
virtual void subpixel_rendering_on () const =0
 
virtual void subpixel_rendering_off () const =0
 
virtual void clear (const color &aColor, const std::optional< scalar > &aZpos=std::optional< scalar >{}) const =0
 
virtual void clear_depth_buffer () const =0
 
virtual void clear_stencil_buffer () const =0
 
virtual void blit (const rect &aDestinationRect, const i_graphics_context &aSource, const rect &aSourceRect) const =0
 
virtual void blur (const rect &aDestinationRect, const i_graphics_context &aSource, const rect &aSourceRect, dimension aRadius, blurring_algorithm aAlgorithm=blurring_algorithm::Gaussian, scalar aParameter1=5, scalar aParameter2=1.0) const =0
 
virtual void clear_gradient ()=0
 
virtual void set_gradient (const gradient &aGradient, const rect &aBoundingBox)=0
 
virtual void set_pixel (const point &aPoint, const color &aColor) const =0
 
virtual void draw_pixel (const point &aPoint, const color &aColor) const =0
 
virtual void draw_line (const point &aFrom, const point &aTo, const pen &aPen) const =0
 
virtual void draw_triangle (const point &aP0, const point &aP1, const point &aP2, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_rect (const rect &aRect, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_rounded_rect (const rect &aRect, const vec4 &aRadius, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_checker_rect (const rect &aRect, const size &aSquareSize, const pen &aPen, const brush &aFill1, const brush &aFill2) const =0
 
virtual void draw_circle (const point &aCenter, dimension aRadius, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_ellipse (const point &aCenter, dimension aRadiusA, dimension aRadiusB, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_pie (const point &aCenter, dimension aRadius, angle aStartAngle, angle aEndAngle, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_arc (const point &aCenter, dimension aRadius, angle aStartAngle, angle aEndAngle, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_cubic_bezier (const point &aP0, const point &aP1, const point &aP2, const point &aP3, const pen &aPen) const =0
 
virtual void draw_path (const path &aPath, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_shape (const game::mesh &aShape, const vec3 &aPosition, const pen &aPen, const brush &aFill=brush{}) const =0
 
virtual void draw_entities (game::i_ecs &aEcs, int32_t aLayer=0) const =0
 
virtual void draw_focus_rect (const rect &aRect) const =0
 
virtual font const & default_font () const =0
 
virtual void set_default_font (const font &aDefaultFont) const =0
 
virtual bool has_tab_stops () const =0
 
virtual i_tab_stops const & tab_stops () const =0
 
virtual void set_tab_stops (i_tab_stops const &aTabStops)=0
 
virtual void clear_tab_stops ()=0
 
virtual size text_extent (std::string const &aText) const =0
 
virtual size text_extent (std::string const &aText, const font &aFont) const =0
 
virtual size text_extent (std::string const &aText, std::function< font(std::string::size_type)> aFontSelector) const =0
 
virtual size text_extent (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd) const =0
 
virtual size text_extent (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, const font &aFont) const =0
 
virtual size text_extent (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, std::function< font(std::string::size_type)> aFontSelector) const =0
 
virtual size multiline_text_extent (std::string const &aText) const =0
 
virtual size multiline_text_extent (std::string const &aText, const font &aFont) const =0
 
virtual size multiline_text_extent (std::string const &aText, std::function< font(std::string::size_type)> aFontSelector) const =0
 
virtual size multiline_text_extent (std::string const &aText, dimension aMaxWidth) const =0
 
virtual size multiline_text_extent (std::string const &aText, const font &aFont, dimension aMaxWidth) const =0
 
virtual size multiline_text_extent (std::string const &aText, std::function< font(std::string::size_type)> aFontSelector, dimension aMaxWidth) const =0
 
virtual size glyph_text_extent (const glyph_text &aText) const =0
 
virtual size glyph_text_extent (const glyph_text &aText, glyph_text::const_iterator aTextBegin, glyph_text::const_iterator aTextEnd) const =0
 
virtual size multiline_glyph_text_extent (const glyph_text &aText, dimension aMaxWidth) const =0
 
virtual glyph_text to_glyph_text (std::string const &aText) const =0
 
virtual glyph_text to_glyph_text (std::string const &aText, std::function< font(std::string::size_type)> aFontSelector) const =0
 
virtual glyph_text to_glyph_text (std::string const &aText, const font &aFont) const =0
 
virtual glyph_text to_glyph_text (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd) const =0
 
virtual glyph_text to_glyph_text (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, const font &aFont) const =0
 
virtual glyph_text to_glyph_text (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, std::function< font(std::string::size_type)> aFontSelector) const =0
 
virtual glyph_text to_glyph_text (const std::u32string &aText) const =0
 
virtual glyph_text to_glyph_text (const std::u32string &aText, const font &aFont) const =0
 
virtual glyph_text to_glyph_text (const std::u32string &aText, std::function< font(std::u32string::size_type)> aFontSelector) const =0
 
virtual glyph_text to_glyph_text (std::u32string::const_iterator aTextBegin, std::u32string::const_iterator aTextEnd) const =0
 
virtual glyph_text to_glyph_text (std::u32string::const_iterator aTextBegin, std::u32string::const_iterator aTextEnd, const font &aFont) const =0
 
virtual glyph_text to_glyph_text (std::u32string::const_iterator aTextBegin, std::u32string::const_iterator aTextEnd, std::function< font(std::u32string::size_type)> aFontSelector) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::string const &aText, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::string const &aText, const font &aFont, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, const font &aFont, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, std::function< font(std::string::size_type)> aFontSelector, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (const std::u32string &aText, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (const std::u32string &aText, const font &aFont, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::u32string::const_iterator aTextBegin, std::u32string::const_iterator aTextEnd, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::u32string::const_iterator aTextBegin, std::u32string::const_iterator aTextEnd, const font &aFont, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (std::u32string::const_iterator aTextBegin, std::u32string::const_iterator aTextEnd, std::function< font(std::u32string::size_type)> aFontSelector, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual multiline_glyph_text to_multiline_glyph_text (const glyph_text &aText, dimension aMaxWidth, alignment aAlignment=alignment::Left) const =0
 
virtual bool is_text_left_to_right (std::string const &aText) const =0
 
virtual bool is_text_left_to_right (std::string const &aText, const font &aFont) const =0
 
virtual bool is_text_right_to_left (std::string const &aText) const =0
 
virtual bool is_text_right_to_left (std::string const &aText, const font &aFont) const =0
 
virtual void draw_text (const point &aPoint, std::string const &aText, const text_format &aTextFormat) const =0
 
virtual void draw_text (const point &aPoint, std::string const &aText, const font &aFont, const text_format &aTextFormat) const =0
 
virtual void draw_text (const point &aPoint, std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, const text_format &aTextFormat) const =0
 
virtual void draw_text (const point &aPoint, std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, const font &aFont, const text_format &aTextFormat) const =0
 
virtual void draw_text (const vec3 &aPoint, std::string const &aText, const text_format &aTextFormat) const =0
 
virtual void draw_text (const vec3 &aPoint, std::string const &aText, const font &aFont, const text_format &aTextFormat) const =0
 
virtual void draw_text (const vec3 &aPoint, std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, const text_format &aTextFormat) const =0
 
virtual void draw_text (const vec3 &aPoint, std::string::const_iterator aTextBegin, std::string::const_iterator aTextEnd, const font &aFont, const text_format &aTextFormat) const =0
 
virtual void draw_multiline_text (const point &aPoint, std::string const &aText, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_text (const point &aPoint, std::string const &aText, const font &aFont, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_text (const point &aPoint, std::string const &aText, dimension aMaxWidth, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_text (const point &aPoint, std::string const &aText, const font &aFont, dimension aMaxWidth, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_text (const vec3 &aPoint, std::string const &aText, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_text (const vec3 &aPoint, std::string const &aText, const font &aFont, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_text (const vec3 &aPoint, std::string const &aText, dimension aMaxWidth, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_text (const vec3 &aPoint, std::string const &aText, const font &aFont, dimension aMaxWidth, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_glyph_text (const point &aPoint, const glyph_text &aText, const text_format &aTextFormat) const =0
 
virtual void draw_glyph_text (const point &aPoint, const glyph_text &aText, glyph_text::const_iterator aTextBegin, glyph_text::const_iterator aTextEnd, const text_format &aTextFormat) const =0
 
virtual void draw_glyph_text (const vec3 &aPoint, const glyph_text &aText, const text_format &aTextFormat) const =0
 
virtual void draw_glyph_text (const vec3 &aPoint, const glyph_text &aText, glyph_text::const_iterator aTextBegin, glyph_text::const_iterator aTextEnd, const text_format &aTextFormat) const =0
 
virtual void draw_multiline_glyph_text (const point &aPoint, const glyph_text &aText, dimension aMaxWidth, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_glyph_text (const vec3 &aPoint, const glyph_text &aText, dimension aMaxWidth, const text_format &aTextFormat, alignment aAlignment=alignment::Left) const =0
 
virtual void draw_multiline_glyph_text (const point &aPoint, const multiline_glyph_text &aText, const text_format &aTextFormat) const =0
 
virtual void draw_multiline_glyph_text (const vec3 &aPoint, const multiline_glyph_text &aText, const text_format &aTextFormat) const =0
 
virtual void draw_glyph (const point &aPoint, const glyph_text &aText, const glyph_char &aGlyphChar, const text_format &aTextFormat) const =0
 
virtual void draw_glyph (const vec3 &aPoint, const glyph_text &aText, const glyph_char &aGlyphChar, const text_format &aTextFormat) const =0
 
virtual void draw_glyphs (const point &aPoint, const glyph_text &aText, const text_format_spans &aSpans) const =0
 
virtual void draw_glyphs (const vec3 &aPoint, const glyph_text &aText, const text_format_spans &aSpans) const =0
 
virtual char mnemonic () const =0
 
virtual bool mnemonic_set () const =0
 
virtual void set_mnemonic (bool aShowMnemonics, char aMnemonicPrefix='&') const =0
 
virtual void unset_mnemonic () const =0
 
virtual bool mnemonics_shown () const =0
 
virtual bool password () const =0
 
virtual std::string const & password_mask () const =0
 
virtual void set_password (bool aPassword, std::string const &aMask="\xE2\x97\x8F")=0
 
virtual void draw_texture (const point &aPoint, const i_texture &aTexture, const color_or_gradient &aColor={}, shader_effect aShaderEffect=shader_effect::None) const =0
 
virtual void draw_texture (const rect &aRect, const i_texture &aTexture, const color_or_gradient &aColor={}, shader_effect aShaderEffect=shader_effect::None) const =0
 
virtual void draw_texture (const point &aPoint, const i_texture &aTexture, const rect &aTextureRect, const color_or_gradient &aColor={}, shader_effect aShaderEffect=shader_effect::None) const =0
 
virtual void draw_texture (const rect &aRect, const i_texture &aTexture, const rect &aTextureRect, const color_or_gradient &aColor={}, shader_effect aShaderEffect=shader_effect::None) const =0
 
virtual void draw_texture (const game::mesh &aMesh, const i_texture &aTexture, const color_or_gradient &aColor={}, shader_effect aShaderEffect=shader_effect::None) const =0
 
virtual void draw_texture (const game::mesh &aMesh, const i_texture &aTexture, const rect &aTextureRect, const color_or_gradient &aColor={}, shader_effect aShaderEffect=shader_effect::None) const =0
 
virtual void draw_mesh (const game::mesh &aMesh, const game::material &aMaterial, const optional_mat44 &aTransformation=optional_mat44{}, const std::optional< game::filter > &aFilter={}) const =0
 
void draw_rounded_rect (const rect &aRect, dimension aRadius, const pen &aPen, const brush &aFill=brush{}) const
 
void fill_triangle (const point &aP0, const point &aP1, const point &aP2, const brush &aFill) const
 
void fill_rect (const rect &aRect, const brush &aFill) const
 
void fill_rounded_rect (const rect &aRect, const vec4 &aRadius, const brush &aFill) const
 
void fill_checker_rect (const rect &aRect, const size &aSquareSize, const brush &aFill1, const brush &aFill2) const
 
void fill_circle (const point &aCenter, dimension aRadius, const brush &aFill) const
 
void fill_ellipse (const point &aCenter, dimension aRadiusA, dimension aRadiusB, const brush &aFill) const
 
void fill_pie (const point &aCenter, dimension aRadius, angle aStartAngle, angle aEndAngle, const brush &aFill) const
 
void fill_arc (const point &aCenter, dimension aRadius, angle aStartAngle, angle aEndAngle, const brush &aFill) const
 
void fill_path (const path &aPath, const brush &aFill) const
 
void fill_shape (const game::mesh &aShape, const vec3 &aPosition, const brush &aFill) const
 
void fill_rounded_rect (const rect &aRect, dimension aRadius, const brush &aFill) const
 
- Public Member Functions inherited from neogfx::i_rendering_context
virtual ~i_rendering_context ()=default
 
virtual std::unique_ptr< i_rendering_contextclone () const =0
 
virtual i_rendering_enginerendering_engine () const =0
 
virtual const i_render_targetrender_target () const =0
 
virtual rect rendering_area (bool aConsiderScissor=true) const =0
 
virtual const graphics_operation::queuequeue () const =0
 
virtual graphics_operation::queuequeue ()=0
 
virtual void enqueue (const graphics_operation::operation &aOperation)=0
 
virtual void flush ()=0
 
virtual vec2 offset () const =0
 
virtual void set_offset (const optional_vec2 &aOffset)=0
 
virtual bool gradient_set () const =0
 
virtual void apply_gradient (i_gradient_shader &aShader)=0
 
virtual neogfx::subpixel_format subpixel_format () const =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_metricsdevice_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
 

Detailed Description

Definition at line 123 of file i_graphics_context.hpp.

Member Enumeration Documentation

◆ type

Enumerator
Attached 
Unattached 

Definition at line 127 of file i_graphics_context.hpp.

Constructor & Destructor Documentation

◆ ~i_graphics_context()

virtual neogfx::i_graphics_context::~i_graphics_context ( )
virtualdefault

Member Function Documentation

◆ blending_mode()

virtual neogfx::blending_mode neogfx::i_graphics_context::blending_mode ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ blit()

virtual void neogfx::i_graphics_context::blit ( const rect aDestinationRect,
const i_graphics_context aSource,
const rect aSourceRect 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ blur()

virtual void neogfx::i_graphics_context::blur ( const rect aDestinationRect,
const i_graphics_context aSource,
const rect aSourceRect,
dimension  aRadius,
blurring_algorithm  aAlgorithm = blurring_algorithm::Gaussian,
scalar  aParameter1 = 5,
scalar  aParameter2 = 1.0 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ clear()

virtual void neogfx::i_graphics_context::clear ( const color aColor,
const std::optional< scalar > &  aZpos = std::optional< scalar >{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ clear_depth_buffer()

virtual void neogfx::i_graphics_context::clear_depth_buffer ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ clear_gradient()

virtual void neogfx::i_graphics_context::clear_gradient ( )
pure virtual

Implemented in neogfx::graphics_context.

◆ clear_stencil_buffer()

virtual void neogfx::i_graphics_context::clear_stencil_buffer ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ clear_tab_stops()

virtual void neogfx::i_graphics_context::clear_tab_stops ( )
pure virtual

Implemented in neogfx::graphics_context.

◆ default_font()

virtual font const & neogfx::i_graphics_context::default_font ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_arc()

virtual void neogfx::i_graphics_context::draw_arc ( const point aCenter,
dimension  aRadius,
angle  aStartAngle,
angle  aEndAngle,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_checker_rect()

virtual void neogfx::i_graphics_context::draw_checker_rect ( const rect aRect,
const size aSquareSize,
const pen aPen,
const brush aFill1,
const brush aFill2 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_circle()

virtual void neogfx::i_graphics_context::draw_circle ( const point aCenter,
dimension  aRadius,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_cubic_bezier()

virtual void neogfx::i_graphics_context::draw_cubic_bezier ( const point aP0,
const point aP1,
const point aP2,
const point aP3,
const pen aPen 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_ellipse()

virtual void neogfx::i_graphics_context::draw_ellipse ( const point aCenter,
dimension  aRadiusA,
dimension  aRadiusB,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_entities()

virtual void neogfx::i_graphics_context::draw_entities ( game::i_ecs aEcs,
int32_t  aLayer = 0 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_focus_rect()

virtual void neogfx::i_graphics_context::draw_focus_rect ( const rect aRect) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyph() [1/2]

virtual void neogfx::i_graphics_context::draw_glyph ( const point aPoint,
const glyph_text aText,
const glyph_char aGlyphChar,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyph() [2/2]

virtual void neogfx::i_graphics_context::draw_glyph ( const vec3 aPoint,
const glyph_text aText,
const glyph_char aGlyphChar,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyph_text() [1/4]

virtual void neogfx::i_graphics_context::draw_glyph_text ( const point aPoint,
const glyph_text aText,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyph_text() [2/4]

virtual void neogfx::i_graphics_context::draw_glyph_text ( const point aPoint,
const glyph_text aText,
glyph_text::const_iterator  aTextBegin,
glyph_text::const_iterator  aTextEnd,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyph_text() [3/4]

virtual void neogfx::i_graphics_context::draw_glyph_text ( const vec3 aPoint,
const glyph_text aText,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyph_text() [4/4]

virtual void neogfx::i_graphics_context::draw_glyph_text ( const vec3 aPoint,
const glyph_text aText,
glyph_text::const_iterator  aTextBegin,
glyph_text::const_iterator  aTextEnd,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyphs() [1/2]

virtual void neogfx::i_graphics_context::draw_glyphs ( const point aPoint,
const glyph_text aText,
const text_format_spans &  aSpans 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_glyphs() [2/2]

virtual void neogfx::i_graphics_context::draw_glyphs ( const vec3 aPoint,
const glyph_text aText,
const text_format_spans &  aSpans 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_line()

virtual void neogfx::i_graphics_context::draw_line ( const point aFrom,
const point aTo,
const pen aPen 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_mesh()

virtual void neogfx::i_graphics_context::draw_mesh ( const game::mesh aMesh,
const game::material aMaterial,
const optional_mat44 aTransformation = optional_mat44{},
const std::optional< game::filter > &  aFilter = {} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_glyph_text() [1/4]

virtual void neogfx::i_graphics_context::draw_multiline_glyph_text ( const point aPoint,
const glyph_text aText,
dimension  aMaxWidth,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_glyph_text() [2/4]

virtual void neogfx::i_graphics_context::draw_multiline_glyph_text ( const point aPoint,
const multiline_glyph_text aText,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_glyph_text() [3/4]

virtual void neogfx::i_graphics_context::draw_multiline_glyph_text ( const vec3 aPoint,
const glyph_text aText,
dimension  aMaxWidth,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_glyph_text() [4/4]

virtual void neogfx::i_graphics_context::draw_multiline_glyph_text ( const vec3 aPoint,
const multiline_glyph_text aText,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [1/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const point aPoint,
std::string const &  aText,
const font &  aFont,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [2/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const point aPoint,
std::string const &  aText,
const font &  aFont,
dimension  aMaxWidth,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [3/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const point aPoint,
std::string const &  aText,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [4/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const point aPoint,
std::string const &  aText,
dimension  aMaxWidth,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [5/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const vec3 aPoint,
std::string const &  aText,
const font &  aFont,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [6/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const vec3 aPoint,
std::string const &  aText,
const font &  aFont,
dimension  aMaxWidth,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [7/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const vec3 aPoint,
std::string const &  aText,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_multiline_text() [8/8]

virtual void neogfx::i_graphics_context::draw_multiline_text ( const vec3 aPoint,
std::string const &  aText,
dimension  aMaxWidth,
const text_format &  aTextFormat,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_path()

virtual void neogfx::i_graphics_context::draw_path ( const path aPath,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_pie()

virtual void neogfx::i_graphics_context::draw_pie ( const point aCenter,
dimension  aRadius,
angle  aStartAngle,
angle  aEndAngle,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_pixel()

virtual void neogfx::i_graphics_context::draw_pixel ( const point aPoint,
const color aColor 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_rect()

virtual void neogfx::i_graphics_context::draw_rect ( const rect aRect,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_rounded_rect() [1/2]

virtual void neogfx::i_graphics_context::draw_rounded_rect ( const rect aRect,
const vec4 aRadius,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_rounded_rect() [2/2]

void neogfx::i_graphics_context::draw_rounded_rect ( const rect aRect,
dimension  aRadius,
const pen aPen,
const brush aFill = brush{} 
) const
inline

Definition at line 327 of file i_graphics_context.hpp.

◆ draw_shape()

virtual void neogfx::i_graphics_context::draw_shape ( const game::mesh aShape,
const vec3 aPosition,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [1/8]

virtual void neogfx::i_graphics_context::draw_text ( const point aPoint,
std::string const &  aText,
const font &  aFont,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [2/8]

virtual void neogfx::i_graphics_context::draw_text ( const point aPoint,
std::string const &  aText,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [3/8]

virtual void neogfx::i_graphics_context::draw_text ( const point aPoint,
std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const font &  aFont,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [4/8]

virtual void neogfx::i_graphics_context::draw_text ( const point aPoint,
std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [5/8]

virtual void neogfx::i_graphics_context::draw_text ( const vec3 aPoint,
std::string const &  aText,
const font &  aFont,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [6/8]

virtual void neogfx::i_graphics_context::draw_text ( const vec3 aPoint,
std::string const &  aText,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [7/8]

virtual void neogfx::i_graphics_context::draw_text ( const vec3 aPoint,
std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const font &  aFont,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_text() [8/8]

virtual void neogfx::i_graphics_context::draw_text ( const vec3 aPoint,
std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const text_format &  aTextFormat 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_texture() [1/6]

virtual void neogfx::i_graphics_context::draw_texture ( const game::mesh aMesh,
const i_texture aTexture,
const color_or_gradient aColor = {},
shader_effect  aShaderEffect = shader_effect::None 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_texture() [2/6]

virtual void neogfx::i_graphics_context::draw_texture ( const game::mesh aMesh,
const i_texture aTexture,
const rect aTextureRect,
const color_or_gradient aColor = {},
shader_effect  aShaderEffect = shader_effect::None 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_texture() [3/6]

virtual void neogfx::i_graphics_context::draw_texture ( const point aPoint,
const i_texture aTexture,
const color_or_gradient aColor = {},
shader_effect  aShaderEffect = shader_effect::None 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_texture() [4/6]

virtual void neogfx::i_graphics_context::draw_texture ( const point aPoint,
const i_texture aTexture,
const rect aTextureRect,
const color_or_gradient aColor = {},
shader_effect  aShaderEffect = shader_effect::None 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_texture() [5/6]

virtual void neogfx::i_graphics_context::draw_texture ( const rect aRect,
const i_texture aTexture,
const color_or_gradient aColor = {},
shader_effect  aShaderEffect = shader_effect::None 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_texture() [6/6]

virtual void neogfx::i_graphics_context::draw_texture ( const rect aRect,
const i_texture aTexture,
const rect aTextureRect,
const color_or_gradient aColor = {},
shader_effect  aShaderEffect = shader_effect::None 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ draw_triangle()

virtual void neogfx::i_graphics_context::draw_triangle ( const point aP0,
const point aP1,
const point aP2,
const pen aPen,
const brush aFill = brush{} 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ fill_arc()

void neogfx::i_graphics_context::fill_arc ( const point aCenter,
dimension  aRadius,
angle  aStartAngle,
angle  aEndAngle,
const brush aFill 
) const
inline

Definition at line 359 of file i_graphics_context.hpp.

◆ fill_checker_rect()

void neogfx::i_graphics_context::fill_checker_rect ( const rect aRect,
const size aSquareSize,
const brush aFill1,
const brush aFill2 
) const
inline

Definition at line 343 of file i_graphics_context.hpp.

◆ fill_circle()

void neogfx::i_graphics_context::fill_circle ( const point aCenter,
dimension  aRadius,
const brush aFill 
) const
inline

Definition at line 347 of file i_graphics_context.hpp.

◆ fill_ellipse()

void neogfx::i_graphics_context::fill_ellipse ( const point aCenter,
dimension  aRadiusA,
dimension  aRadiusB,
const brush aFill 
) const
inline

Definition at line 351 of file i_graphics_context.hpp.

◆ fill_path()

void neogfx::i_graphics_context::fill_path ( const path aPath,
const brush aFill 
) const
inline

Definition at line 363 of file i_graphics_context.hpp.

◆ fill_pie()

void neogfx::i_graphics_context::fill_pie ( const point aCenter,
dimension  aRadius,
angle  aStartAngle,
angle  aEndAngle,
const brush aFill 
) const
inline

Definition at line 355 of file i_graphics_context.hpp.

◆ fill_rect()

void neogfx::i_graphics_context::fill_rect ( const rect aRect,
const brush aFill 
) const
inline

Definition at line 335 of file i_graphics_context.hpp.

◆ fill_rounded_rect() [1/2]

void neogfx::i_graphics_context::fill_rounded_rect ( const rect aRect,
const vec4 aRadius,
const brush aFill 
) const
inline

Definition at line 339 of file i_graphics_context.hpp.

◆ fill_rounded_rect() [2/2]

void neogfx::i_graphics_context::fill_rounded_rect ( const rect aRect,
dimension  aRadius,
const brush aFill 
) const
inline

Definition at line 371 of file i_graphics_context.hpp.

◆ fill_shape()

void neogfx::i_graphics_context::fill_shape ( const game::mesh aShape,
const vec3 aPosition,
const brush aFill 
) const
inline

Definition at line 367 of file i_graphics_context.hpp.

◆ fill_triangle()

void neogfx::i_graphics_context::fill_triangle ( const point aP0,
const point aP1,
const point aP2,
const brush aFill 
) const
inline

Definition at line 331 of file i_graphics_context.hpp.

◆ flush()

virtual void neogfx::i_graphics_context::flush ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ from_device_units() [1/5]

virtual delta neogfx::i_graphics_context::from_device_units ( const delta aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ from_device_units() [2/5]

virtual path neogfx::i_graphics_context::from_device_units ( const path aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ from_device_units() [3/5]

virtual point neogfx::i_graphics_context::from_device_units ( const point aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ from_device_units() [4/5]

virtual rect neogfx::i_graphics_context::from_device_units ( const rect aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ from_device_units() [5/5]

virtual size neogfx::i_graphics_context::from_device_units ( const size aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ glyph_text_extent() [1/2]

virtual size neogfx::i_graphics_context::glyph_text_extent ( const glyph_text aText) const
pure virtual

Implemented in neogfx::graphics_context.

◆ glyph_text_extent() [2/2]

virtual size neogfx::i_graphics_context::glyph_text_extent ( const glyph_text aText,
glyph_text::const_iterator  aTextBegin,
glyph_text::const_iterator  aTextEnd 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ has_tab_stops()

virtual bool neogfx::i_graphics_context::has_tab_stops ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ is_subpixel_rendering_on()

virtual bool neogfx::i_graphics_context::is_subpixel_rendering_on ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ is_text_left_to_right() [1/2]

virtual bool neogfx::i_graphics_context::is_text_left_to_right ( std::string const &  aText) const
pure virtual

Implemented in neogfx::graphics_context.

◆ is_text_left_to_right() [2/2]

virtual bool neogfx::i_graphics_context::is_text_left_to_right ( std::string const &  aText,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ is_text_right_to_left() [1/2]

virtual bool neogfx::i_graphics_context::is_text_right_to_left ( std::string const &  aText) const
pure virtual

Implemented in neogfx::graphics_context.

◆ is_text_right_to_left() [2/2]

virtual bool neogfx::i_graphics_context::is_text_right_to_left ( std::string const &  aText,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ layer()

virtual layer_t neogfx::i_graphics_context::layer ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ line_stipple_off()

virtual void neogfx::i_graphics_context::line_stipple_off ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ line_stipple_on()

virtual void neogfx::i_graphics_context::line_stipple_on ( scalar  aFactor,
uint16_t  aPattern,
scalar  aPosition = 0.0 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ logical_coordinate_system()

virtual neogfx::logical_coordinate_system neogfx::i_graphics_context::logical_coordinate_system ( ) const
pure virtual

◆ logical_coordinates()

virtual neogfx::logical_coordinates neogfx::i_graphics_context::logical_coordinates ( ) const
pure virtual

◆ mnemonic()

virtual char neogfx::i_graphics_context::mnemonic ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ mnemonic_set()

virtual bool neogfx::i_graphics_context::mnemonic_set ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ mnemonics_shown()

virtual bool neogfx::i_graphics_context::mnemonics_shown ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ multiline_glyph_text_extent()

virtual size neogfx::i_graphics_context::multiline_glyph_text_extent ( const glyph_text aText,
dimension  aMaxWidth 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ multiline_text_extent() [1/6]

virtual size neogfx::i_graphics_context::multiline_text_extent ( std::string const &  aText) const
pure virtual

Implemented in neogfx::graphics_context.

◆ multiline_text_extent() [2/6]

virtual size neogfx::i_graphics_context::multiline_text_extent ( std::string const &  aText,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ multiline_text_extent() [3/6]

virtual size neogfx::i_graphics_context::multiline_text_extent ( std::string const &  aText,
const font &  aFont,
dimension  aMaxWidth 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ multiline_text_extent() [4/6]

virtual size neogfx::i_graphics_context::multiline_text_extent ( std::string const &  aText,
dimension  aMaxWidth 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ multiline_text_extent() [5/6]

virtual size neogfx::i_graphics_context::multiline_text_extent ( std::string const &  aText,
std::function< font(std::string::size_type)>  aFontSelector 
) const
pure virtual

◆ multiline_text_extent() [6/6]

virtual size neogfx::i_graphics_context::multiline_text_extent ( std::string const &  aText,
std::function< font(std::string::size_type)>  aFontSelector,
dimension  aMaxWidth 
) const
pure virtual

◆ opacity()

virtual double neogfx::i_graphics_context::opacity ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ origin()

virtual point neogfx::i_graphics_context::origin ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ password()

virtual bool neogfx::i_graphics_context::password ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ password_mask()

virtual std::string const & neogfx::i_graphics_context::password_mask ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ pop_logical_operation()

virtual void neogfx::i_graphics_context::pop_logical_operation ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ push_logical_operation()

virtual void neogfx::i_graphics_context::push_logical_operation ( logical_operation  aLogicalOperation) const
pure virtual

Implemented in neogfx::graphics_context.

◆ scissor_off()

virtual void neogfx::i_graphics_context::scissor_off ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ scissor_on()

virtual void neogfx::i_graphics_context::scissor_on ( const rect aRect) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_blending_mode()

virtual void neogfx::i_graphics_context::set_blending_mode ( neogfx::blending_mode  aBlendingMode) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_default_font()

virtual void neogfx::i_graphics_context::set_default_font ( const font &  aDefaultFont) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_default_viewport()

virtual void neogfx::i_graphics_context::set_default_viewport ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_extents()

virtual void neogfx::i_graphics_context::set_extents ( const size aExtents) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_gradient()

virtual void neogfx::i_graphics_context::set_gradient ( const gradient aGradient,
const rect aBoundingBox 
)
pure virtual

Implemented in neogfx::graphics_context.

◆ set_layer()

virtual void neogfx::i_graphics_context::set_layer ( layer_t  aLayer)
pure virtual

Implemented in neogfx::graphics_context.

◆ set_logical_coordinate_system()

virtual void neogfx::i_graphics_context::set_logical_coordinate_system ( neogfx::logical_coordinate_system  aSystem) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_logical_coordinates()

virtual void neogfx::i_graphics_context::set_logical_coordinates ( const neogfx::logical_coordinates aCoordinates) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_mnemonic()

virtual void neogfx::i_graphics_context::set_mnemonic ( bool  aShowMnemonics,
char  aMnemonicPrefix = '&' 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_opacity()

virtual void neogfx::i_graphics_context::set_opacity ( double  aOpacity) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_origin()

virtual void neogfx::i_graphics_context::set_origin ( const point aOrigin) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_password()

virtual void neogfx::i_graphics_context::set_password ( bool  aPassword,
std::string const &  aMask = "\xE2\x97\x8F" 
)
pure virtual

Implemented in neogfx::graphics_context.

◆ set_pixel()

virtual void neogfx::i_graphics_context::set_pixel ( const point aPoint,
const color aColor 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_smoothing_mode()

virtual void neogfx::i_graphics_context::set_smoothing_mode ( neogfx::smoothing_mode  aSmoothingMode) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_snap_to_pixel()

virtual void neogfx::i_graphics_context::set_snap_to_pixel ( bool  aSnap) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_tab_stops()

virtual void neogfx::i_graphics_context::set_tab_stops ( i_tab_stops const &  aTabStops)
pure virtual

Implemented in neogfx::graphics_context.

◆ set_viewport()

virtual void neogfx::i_graphics_context::set_viewport ( const rect aViewportRect) const
pure virtual

Implemented in neogfx::graphics_context.

◆ smoothing_mode()

virtual neogfx::smoothing_mode neogfx::i_graphics_context::smoothing_mode ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ snap_to_pixel()

virtual bool neogfx::i_graphics_context::snap_to_pixel ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ subpixel_rendering_off()

virtual void neogfx::i_graphics_context::subpixel_rendering_off ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ subpixel_rendering_on()

virtual void neogfx::i_graphics_context::subpixel_rendering_on ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ tab_stops()

virtual i_tab_stops const & neogfx::i_graphics_context::tab_stops ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ text_extent() [1/6]

virtual size neogfx::i_graphics_context::text_extent ( std::string const &  aText) const
pure virtual

Implemented in neogfx::graphics_context.

◆ text_extent() [2/6]

virtual size neogfx::i_graphics_context::text_extent ( std::string const &  aText,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ text_extent() [3/6]

virtual size neogfx::i_graphics_context::text_extent ( std::string const &  aText,
std::function< font(std::string::size_type)>  aFontSelector 
) const
pure virtual

◆ text_extent() [4/6]

virtual size neogfx::i_graphics_context::text_extent ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ text_extent() [5/6]

virtual size neogfx::i_graphics_context::text_extent ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ text_extent() [6/6]

virtual size neogfx::i_graphics_context::text_extent ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
std::function< font(std::string::size_type)>  aFontSelector 
) const
pure virtual

◆ to_device_units() [1/6]

virtual delta neogfx::i_graphics_context::to_device_units ( const delta aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_device_units() [2/6]

virtual path neogfx::i_graphics_context::to_device_units ( const path aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_device_units() [3/6]

virtual point neogfx::i_graphics_context::to_device_units ( const point aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_device_units() [4/6]

virtual rect neogfx::i_graphics_context::to_device_units ( const rect aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_device_units() [5/6]

virtual size neogfx::i_graphics_context::to_device_units ( const size aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_device_units() [6/6]

virtual vec2 neogfx::i_graphics_context::to_device_units ( const vec2 aValue) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [1/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( const std::u32string &  aText) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [2/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( const std::u32string &  aText,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [3/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( const std::u32string &  aText,
std::function< font(std::u32string::size_type)>  aFontSelector 
) const
pure virtual

◆ to_glyph_text() [4/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::string const &  aText) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [5/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::string const &  aText,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [6/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::string const &  aText,
std::function< font(std::string::size_type)>  aFontSelector 
) const
pure virtual

◆ to_glyph_text() [7/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [8/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [9/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
std::function< font(std::string::size_type)>  aFontSelector 
) const
pure virtual

◆ to_glyph_text() [10/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [11/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
const font &  aFont 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_glyph_text() [12/12]

virtual glyph_text neogfx::i_graphics_context::to_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
std::function< font(std::u32string::size_type)>  aFontSelector 
) const
pure virtual

◆ to_multiline_glyph_text() [1/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( const glyph_text aText,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [2/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( const std::u32string &  aText,
const font &  aFont,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [3/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( const std::u32string &  aText,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [4/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::string const &  aText,
const font &  aFont,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [5/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::string const &  aText,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [6/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const font &  aFont,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [7/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [8/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
std::function< font(std::string::size_type)>  aFontSelector,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

◆ to_multiline_glyph_text() [9/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
const font &  aFont,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [10/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

Implemented in neogfx::graphics_context.

◆ to_multiline_glyph_text() [11/11]

virtual multiline_glyph_text neogfx::i_graphics_context::to_multiline_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
std::function< font(std::u32string::size_type)>  aFontSelector,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
pure virtual

◆ unset_mnemonic()

virtual void neogfx::i_graphics_context::unset_mnemonic ( ) const
pure virtual

Implemented in neogfx::graphics_context.


The documentation for this class was generated from the following file: