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

#include <graphics_context.hpp>

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

Classes

struct  not_implemented
 

Public Member Functions

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

Protected Member Functions

bool attached () const
 
bool active () const
 
i_rendering_contextnative_context () const
 

Friends

class generic_surface
 

Additional Inherited Members

- Public Types inherited from neogfx::i_graphics_context
enum class  type { Attached , Unattached }
 

Detailed Description

Definition at line 27 of file graphics_context.hpp.

Constructor & Destructor Documentation

◆ graphics_context() [1/5]

neogfx::graphics_context::graphics_context ( const i_surface aSurface,
type  aType = type::Attached 
)

◆ graphics_context() [2/5]

neogfx::graphics_context::graphics_context ( const i_surface aSurface,
const font &  aDefaultFont,
type  aType = type::Attached 
)

◆ graphics_context() [3/5]

neogfx::graphics_context::graphics_context ( const i_widget aWidget,
type  aType = type::Attached 
)

◆ graphics_context() [4/5]

neogfx::graphics_context::graphics_context ( const i_texture aTexture,
type  aType = type::Attached 
)

◆ graphics_context() [5/5]

neogfx::graphics_context::graphics_context ( const graphics_context aOther)

◆ ~graphics_context()

virtual neogfx::graphics_context::~graphics_context ( )
virtual

Member Function Documentation

◆ active()

bool neogfx::graphics_context::active ( ) const
protected

◆ apply_gradient()

void neogfx::graphics_context::apply_gradient ( i_gradient_shader aShader)
finalvirtual

◆ attached()

bool neogfx::graphics_context::attached ( ) const
protected

◆ blending_mode()

neogfx::blending_mode neogfx::graphics_context::blending_mode ( ) const
finalvirtual

◆ blit()

void neogfx::graphics_context::blit ( const rect aDestinationRect,
const i_graphics_context aSource,
const rect aSourceRect 
) const
finalvirtual

◆ blur()

void neogfx::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
finalvirtual

◆ clear()

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

◆ clear_depth_buffer()

void neogfx::graphics_context::clear_depth_buffer ( ) const
finalvirtual

◆ clear_gradient()

void neogfx::graphics_context::clear_gradient ( )
finalvirtual

◆ clear_stencil_buffer()

void neogfx::graphics_context::clear_stencil_buffer ( ) const
finalvirtual

◆ clear_tab_stops()

void neogfx::graphics_context::clear_tab_stops ( )
overridevirtual

◆ clone()

std::unique_ptr< i_rendering_context > neogfx::graphics_context::clone ( ) const
finalvirtual

◆ default_font()

font const & neogfx::graphics_context::default_font ( ) const
finalvirtual

◆ device_metrics()

const i_device_metrics & neogfx::graphics_context::device_metrics ( ) const
finalvirtual

◆ device_metrics_available()

bool neogfx::graphics_context::device_metrics_available ( ) const
finalvirtual

◆ draw_arc()

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

◆ draw_checker_rect()

void neogfx::graphics_context::draw_checker_rect ( const rect aRect,
const size aSquareSize,
const pen aPen,
const brush aFill1,
const brush aFill2 
) const
finalvirtual

◆ draw_circle()

void neogfx::graphics_context::draw_circle ( const point aCenter,
dimension  aRadius,
const pen aPen,
const brush aFill = brush{} 
) const
finalvirtual

◆ draw_cubic_bezier()

void neogfx::graphics_context::draw_cubic_bezier ( const point aP0,
const point aP1,
const point aP2,
const point aP3,
const pen aPen 
) const
finalvirtual

◆ draw_ellipse()

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

◆ draw_entities()

void neogfx::graphics_context::draw_entities ( game::i_ecs aEcs,
int32_t  aLayer = 0 
) const
finalvirtual

◆ draw_focus_rect()

void neogfx::graphics_context::draw_focus_rect ( const rect aRect) const
finalvirtual

◆ draw_glyph() [1/2]

void neogfx::graphics_context::draw_glyph ( const point aPoint,
const glyph_text aText,
const glyph_char aGlyphChar,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_glyph() [2/2]

void neogfx::graphics_context::draw_glyph ( const vec3 aPoint,
const glyph_text aText,
const glyph_char aGlyphChar,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_glyph_text() [1/4]

void neogfx::graphics_context::draw_glyph_text ( const point aPoint,
const glyph_text aText,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_glyph_text() [2/4]

void neogfx::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
finalvirtual

◆ draw_glyph_text() [3/4]

void neogfx::graphics_context::draw_glyph_text ( const vec3 aPoint,
const glyph_text aText,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_glyph_text() [4/4]

void neogfx::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
finalvirtual

◆ draw_glyphs() [1/2]

void neogfx::graphics_context::draw_glyphs ( const point aPoint,
const glyph_text aText,
const text_format_spans &  aSpans 
) const
finalvirtual

◆ draw_glyphs() [2/2]

void neogfx::graphics_context::draw_glyphs ( const vec3 aPoint,
const glyph_text aText,
const text_format_spans &  aSpans 
) const
finalvirtual

◆ draw_line()

void neogfx::graphics_context::draw_line ( const point aFrom,
const point aTo,
const pen aPen 
) const
finalvirtual

◆ draw_mesh()

void neogfx::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
finalvirtual

◆ draw_multiline_glyph_text() [1/4]

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

◆ draw_multiline_glyph_text() [2/4]

void neogfx::graphics_context::draw_multiline_glyph_text ( const point aPoint,
const multiline_glyph_text aText,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_multiline_glyph_text() [3/4]

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

◆ draw_multiline_glyph_text() [4/4]

void neogfx::graphics_context::draw_multiline_glyph_text ( const vec3 aPoint,
const multiline_glyph_text aText,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_multiline_text() [1/8]

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

◆ draw_multiline_text() [2/8]

void neogfx::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
finalvirtual

◆ draw_multiline_text() [3/8]

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

◆ draw_multiline_text() [4/8]

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

◆ draw_multiline_text() [5/8]

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

◆ draw_multiline_text() [6/8]

void neogfx::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
finalvirtual

◆ draw_multiline_text() [7/8]

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

◆ draw_multiline_text() [8/8]

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

◆ draw_path()

void neogfx::graphics_context::draw_path ( const path aPath,
const pen aPen,
const brush aFill = brush{} 
) const
finalvirtual

◆ draw_pie()

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

◆ draw_pixel()

void neogfx::graphics_context::draw_pixel ( const point aPoint,
const color aColor 
) const
finalvirtual

◆ draw_rect()

void neogfx::graphics_context::draw_rect ( const rect aRect,
const pen aPen,
const brush aFill = brush{} 
) const
finalvirtual

◆ draw_rounded_rect()

void neogfx::graphics_context::draw_rounded_rect ( const rect aRect,
const vec4 aRadius,
const pen aPen,
const brush aFill = brush{} 
) const
finalvirtual

◆ draw_shape()

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

◆ draw_text() [1/8]

void neogfx::graphics_context::draw_text ( const point aPoint,
std::string const &  aText,
const font &  aFont,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_text() [2/8]

void neogfx::graphics_context::draw_text ( const point aPoint,
std::string const &  aText,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_text() [3/8]

void neogfx::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
finalvirtual

◆ draw_text() [4/8]

void neogfx::graphics_context::draw_text ( const point aPoint,
std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_text() [5/8]

void neogfx::graphics_context::draw_text ( const vec3 aPoint,
std::string const &  aText,
const font &  aFont,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_text() [6/8]

void neogfx::graphics_context::draw_text ( const vec3 aPoint,
std::string const &  aText,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_text() [7/8]

void neogfx::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
finalvirtual

◆ draw_text() [8/8]

void neogfx::graphics_context::draw_text ( const vec3 aPoint,
std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const text_format &  aTextFormat 
) const
finalvirtual

◆ draw_texture() [1/6]

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

◆ draw_texture() [2/6]

void neogfx::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
finalvirtual

◆ draw_texture() [3/6]

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

◆ draw_texture() [4/6]

void neogfx::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
finalvirtual

◆ draw_texture() [5/6]

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

◆ draw_texture() [6/6]

void neogfx::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
finalvirtual

◆ draw_triangle()

void neogfx::graphics_context::draw_triangle ( const point aP0,
const point aP1,
const point aP2,
const pen aPen,
const brush aFill = brush{} 
) const
finalvirtual

◆ em_size()

dimension neogfx::graphics_context::em_size ( ) const
finalvirtual

◆ enqueue()

void neogfx::graphics_context::enqueue ( const graphics_operation::operation aOperation)
finalvirtual

◆ extents()

size neogfx::graphics_context::extents ( ) const
finalvirtual

◆ flush() [1/2]

void neogfx::graphics_context::flush ( ) const
finalvirtual

◆ flush() [2/2]

void neogfx::graphics_context::flush ( )
finalvirtual

◆ from_device_units() [1/5]

delta neogfx::graphics_context::from_device_units ( const delta aValue) const
finalvirtual

◆ from_device_units() [2/5]

path neogfx::graphics_context::from_device_units ( const path aValue) const
finalvirtual

◆ from_device_units() [3/5]

point neogfx::graphics_context::from_device_units ( const point aValue) const
finalvirtual

◆ from_device_units() [4/5]

rect neogfx::graphics_context::from_device_units ( const rect aValue) const
finalvirtual

◆ from_device_units() [5/5]

size neogfx::graphics_context::from_device_units ( const size aValue) const
finalvirtual

◆ glyph_text_extent() [1/2]

size neogfx::graphics_context::glyph_text_extent ( const glyph_text aText) const
finalvirtual

◆ glyph_text_extent() [2/2]

size neogfx::graphics_context::glyph_text_extent ( const glyph_text aText,
glyph_text::const_iterator  aTextBegin,
glyph_text::const_iterator  aTextEnd 
) const
finalvirtual

◆ gradient_set()

bool neogfx::graphics_context::gradient_set ( ) const
finalvirtual

◆ has_tab_stops()

bool neogfx::graphics_context::has_tab_stops ( ) const
overridevirtual

◆ horizontal_dpi()

dimension neogfx::graphics_context::horizontal_dpi ( ) const
finalvirtual

◆ is_subpixel_rendering_on()

bool neogfx::graphics_context::is_subpixel_rendering_on ( ) const
finalvirtual

◆ is_text_left_to_right() [1/2]

bool neogfx::graphics_context::is_text_left_to_right ( std::string const &  aText) const
finalvirtual

◆ is_text_left_to_right() [2/2]

bool neogfx::graphics_context::is_text_left_to_right ( std::string const &  aText,
const font &  aFont 
) const
finalvirtual

◆ is_text_right_to_left() [1/2]

bool neogfx::graphics_context::is_text_right_to_left ( std::string const &  aText) const
finalvirtual

◆ is_text_right_to_left() [2/2]

bool neogfx::graphics_context::is_text_right_to_left ( std::string const &  aText,
const font &  aFont 
) const
finalvirtual

◆ layer()

layer_t neogfx::graphics_context::layer ( ) const
finalvirtual

◆ line_stipple_off()

void neogfx::graphics_context::line_stipple_off ( ) const
finalvirtual

◆ line_stipple_on()

void neogfx::graphics_context::line_stipple_on ( scalar  aFactor,
uint16_t  aPattern,
scalar  aPosition = 0.0 
) const
finalvirtual

◆ logical_coordinate_system()

neogfx::logical_coordinate_system neogfx::graphics_context::logical_coordinate_system ( ) const
finalvirtual

◆ logical_coordinates()

neogfx::logical_coordinates neogfx::graphics_context::logical_coordinates ( ) const
finalvirtual

◆ metrics_available()

bool neogfx::graphics_context::metrics_available ( ) const
finalvirtual

◆ mnemonic()

char neogfx::graphics_context::mnemonic ( ) const
finalvirtual

◆ mnemonic_set()

bool neogfx::graphics_context::mnemonic_set ( ) const
finalvirtual

◆ mnemonics_shown()

bool neogfx::graphics_context::mnemonics_shown ( ) const
finalvirtual

◆ multiline_glyph_text_extent()

size neogfx::graphics_context::multiline_glyph_text_extent ( const glyph_text aText,
dimension  aMaxWidth 
) const
finalvirtual

◆ multiline_text_extent() [1/6]

size neogfx::graphics_context::multiline_text_extent ( std::string const &  aText) const
finalvirtual

◆ multiline_text_extent() [2/6]

size neogfx::graphics_context::multiline_text_extent ( std::string const &  aText,
const font &  aFont 
) const
finalvirtual

◆ multiline_text_extent() [3/6]

size neogfx::graphics_context::multiline_text_extent ( std::string const &  aText,
const font &  aFont,
dimension  aMaxWidth 
) const
finalvirtual

◆ multiline_text_extent() [4/6]

size neogfx::graphics_context::multiline_text_extent ( std::string const &  aText,
dimension  aMaxWidth 
) const
finalvirtual

◆ multiline_text_extent() [5/6]

size neogfx::graphics_context::multiline_text_extent ( std::string const &  aText,
std::function< font(std::size_t)>  aFontSelector 
) const
final

◆ multiline_text_extent() [6/6]

size neogfx::graphics_context::multiline_text_extent ( std::string const &  aText,
std::function< font(std::size_t)>  aFontSelector,
dimension  aMaxWidth 
) const
final

◆ native_context()

i_rendering_context & neogfx::graphics_context::native_context ( ) const
protected

◆ offset()

vec2 neogfx::graphics_context::offset ( ) const
finalvirtual

◆ opacity()

double neogfx::graphics_context::opacity ( ) const
finalvirtual

◆ origin()

point neogfx::graphics_context::origin ( ) const
finalvirtual

◆ password()

bool neogfx::graphics_context::password ( ) const
finalvirtual

◆ password_mask()

std::string const & neogfx::graphics_context::password_mask ( ) const
finalvirtual

◆ pop_logical_operation()

void neogfx::graphics_context::pop_logical_operation ( ) const
finalvirtual

◆ ppi()

dimension neogfx::graphics_context::ppi ( ) const
finalvirtual

◆ push_logical_operation()

void neogfx::graphics_context::push_logical_operation ( logical_operation  aLogicalOperation) const
finalvirtual

◆ queue() [1/2]

const graphics_operation::queue & neogfx::graphics_context::queue ( ) const
finalvirtual

◆ queue() [2/2]

graphics_operation::queue & neogfx::graphics_context::queue ( )
finalvirtual

◆ render_target()

const i_render_target & neogfx::graphics_context::render_target ( ) const
finalvirtual

◆ rendering_area()

rect neogfx::graphics_context::rendering_area ( bool  aConsiderScissor = true) const
finalvirtual

◆ rendering_engine()

i_rendering_engine & neogfx::graphics_context::rendering_engine ( ) const
finalvirtual

◆ scissor_off()

void neogfx::graphics_context::scissor_off ( ) const
finalvirtual

◆ scissor_on()

void neogfx::graphics_context::scissor_on ( const rect aRect) const
finalvirtual

◆ set_blending_mode()

void neogfx::graphics_context::set_blending_mode ( neogfx::blending_mode  aBlendingMode) const
finalvirtual

◆ set_default_font()

void neogfx::graphics_context::set_default_font ( const font &  aDefaultFont) const
finalvirtual

◆ set_default_viewport()

void neogfx::graphics_context::set_default_viewport ( ) const
finalvirtual

◆ set_extents()

void neogfx::graphics_context::set_extents ( const size aExtents) const
finalvirtual

◆ set_gradient()

void neogfx::graphics_context::set_gradient ( const gradient aGradient,
const rect aBoundingBox 
)
finalvirtual

◆ set_layer()

void neogfx::graphics_context::set_layer ( layer_t  aLayer)
finalvirtual

◆ set_logical_coordinate_system()

void neogfx::graphics_context::set_logical_coordinate_system ( neogfx::logical_coordinate_system  aSystem) const
finalvirtual

◆ set_logical_coordinates()

void neogfx::graphics_context::set_logical_coordinates ( const neogfx::logical_coordinates aCoordinates) const
finalvirtual

◆ set_mnemonic()

void neogfx::graphics_context::set_mnemonic ( bool  aShowMnemonics,
char  aMnemonicPrefix = '&' 
) const
finalvirtual

◆ set_offset()

void neogfx::graphics_context::set_offset ( const optional_vec2 aOffset)
finalvirtual

◆ set_opacity()

void neogfx::graphics_context::set_opacity ( double  aOpacity) const
finalvirtual

◆ set_origin()

void neogfx::graphics_context::set_origin ( const point aOrigin) const
finalvirtual

◆ set_password()

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

◆ set_pixel()

void neogfx::graphics_context::set_pixel ( const point aPoint,
const color aColor 
) const
finalvirtual

◆ set_smoothing_mode()

void neogfx::graphics_context::set_smoothing_mode ( neogfx::smoothing_mode  aSmoothingMode) const
finalvirtual

◆ set_snap_to_pixel()

void neogfx::graphics_context::set_snap_to_pixel ( bool  aSnap) const
finalvirtual

◆ set_tab_stops()

void neogfx::graphics_context::set_tab_stops ( i_tab_stops const &  aTabStops)
overridevirtual

◆ set_viewport()

void neogfx::graphics_context::set_viewport ( const rect aViewportRect) const
finalvirtual

◆ smoothing_mode()

neogfx::smoothing_mode neogfx::graphics_context::smoothing_mode ( ) const
finalvirtual

◆ snap_to_pixel()

bool neogfx::graphics_context::snap_to_pixel ( ) const
finalvirtual

◆ subpixel_format()

neogfx::subpixel_format neogfx::graphics_context::subpixel_format ( ) const
finalvirtual

◆ subpixel_rendering_off()

void neogfx::graphics_context::subpixel_rendering_off ( ) const
finalvirtual

◆ subpixel_rendering_on()

void neogfx::graphics_context::subpixel_rendering_on ( ) const
finalvirtual

◆ tab_stops()

i_tab_stops const & neogfx::graphics_context::tab_stops ( ) const
overridevirtual

◆ text_extent() [1/6]

size neogfx::graphics_context::text_extent ( std::string const &  aText) const
finalvirtual

◆ text_extent() [2/6]

size neogfx::graphics_context::text_extent ( std::string const &  aText,
const font &  aFont 
) const
finalvirtual

◆ text_extent() [3/6]

size neogfx::graphics_context::text_extent ( std::string const &  aText,
std::function< font(std::size_t)>  aFontSelector 
) const
final

◆ text_extent() [4/6]

size neogfx::graphics_context::text_extent ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd 
) const
finalvirtual

◆ text_extent() [5/6]

size neogfx::graphics_context::text_extent ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const font &  aFont 
) const
finalvirtual

◆ text_extent() [6/6]

size neogfx::graphics_context::text_extent ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
std::function< font(std::size_t)>  aFontSelector 
) const
final

◆ to_device_units() [1/6]

delta neogfx::graphics_context::to_device_units ( const delta aValue) const
finalvirtual

◆ to_device_units() [2/6]

path neogfx::graphics_context::to_device_units ( const path aValue) const
finalvirtual

◆ to_device_units() [3/6]

point neogfx::graphics_context::to_device_units ( const point aValue) const
finalvirtual

◆ to_device_units() [4/6]

rect neogfx::graphics_context::to_device_units ( const rect aValue) const
finalvirtual

◆ to_device_units() [5/6]

size neogfx::graphics_context::to_device_units ( const size aValue) const
finalvirtual

◆ to_device_units() [6/6]

vec2 neogfx::graphics_context::to_device_units ( const vec2 aValue) const
finalvirtual

◆ to_glyph_text() [1/12]

glyph_text neogfx::graphics_context::to_glyph_text ( const std::u32string &  aText) const
finalvirtual

◆ to_glyph_text() [2/12]

glyph_text neogfx::graphics_context::to_glyph_text ( const std::u32string &  aText,
const font &  aFont 
) const
finalvirtual

◆ to_glyph_text() [3/12]

glyph_text neogfx::graphics_context::to_glyph_text ( const std::u32string &  aText,
std::function< font(std::size_t)>  aFontSelector 
) const
final

◆ to_glyph_text() [4/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::string const &  aText) const
finalvirtual

◆ to_glyph_text() [5/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::string const &  aText,
const font &  aFont 
) const
finalvirtual

◆ to_glyph_text() [6/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::string const &  aText,
std::function< font(std::size_t)>  aFontSelector 
) const
final

◆ to_glyph_text() [7/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd 
) const
finalvirtual

◆ to_glyph_text() [8/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
const font &  aFont 
) const
finalvirtual

◆ to_glyph_text() [9/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
std::function< font(std::size_t)>  aFontSelector 
) const
final

◆ to_glyph_text() [10/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd 
) const
finalvirtual

◆ to_glyph_text() [11/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
const font &  aFont 
) const
finalvirtual

◆ to_glyph_text() [12/12]

glyph_text neogfx::graphics_context::to_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
std::function< font(std::size_t)>  aFontSelector 
) const
final

◆ to_multiline_glyph_text() [1/11]

multiline_glyph_text neogfx::graphics_context::to_multiline_glyph_text ( const glyph_text aText,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
finalvirtual

◆ to_multiline_glyph_text() [2/11]

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

◆ to_multiline_glyph_text() [3/11]

multiline_glyph_text neogfx::graphics_context::to_multiline_glyph_text ( const std::u32string &  aText,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
finalvirtual

◆ to_multiline_glyph_text() [4/11]

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

◆ to_multiline_glyph_text() [5/11]

multiline_glyph_text neogfx::graphics_context::to_multiline_glyph_text ( std::string const &  aText,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
finalvirtual

◆ to_multiline_glyph_text() [6/11]

multiline_glyph_text neogfx::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
finalvirtual

◆ to_multiline_glyph_text() [7/11]

multiline_glyph_text neogfx::graphics_context::to_multiline_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
finalvirtual

◆ to_multiline_glyph_text() [8/11]

multiline_glyph_text neogfx::graphics_context::to_multiline_glyph_text ( std::string::const_iterator  aTextBegin,
std::string::const_iterator  aTextEnd,
std::function< font(std::size_t)>  aFontSelector,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
final

◆ to_multiline_glyph_text() [9/11]

multiline_glyph_text neogfx::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
finalvirtual

◆ to_multiline_glyph_text() [10/11]

multiline_glyph_text neogfx::graphics_context::to_multiline_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
finalvirtual

◆ to_multiline_glyph_text() [11/11]

multiline_glyph_text neogfx::graphics_context::to_multiline_glyph_text ( std::u32string::const_iterator  aTextBegin,
std::u32string::const_iterator  aTextEnd,
std::function< font(std::size_t)>  aFontSelector,
dimension  aMaxWidth,
alignment  aAlignment = alignment::Left 
) const
final

◆ unset_mnemonic()

void neogfx::graphics_context::unset_mnemonic ( ) const
finalvirtual

◆ vertical_dpi()

dimension neogfx::graphics_context::vertical_dpi ( ) const
finalvirtual

Friends And Related Symbol Documentation

◆ generic_surface

friend class generic_surface
friend

Definition at line 32 of file graphics_context.hpp.


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