neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
graphics_operations.hpp File Reference
#include <neogfx/neogfx.hpp>
#include <vector>
#include <ranges>
#include <neolib/core/variant.hpp>
#include <neogfx/core/geometrical.hpp>
#include <neogfx/gfx/primitives.hpp>
#include <neogfx/gfx/path.hpp>
#include <neogfx/gfx/texture.hpp>
#include <neogfx/gfx/text/font.hpp>
#include <neogfx/game/mesh.hpp>
#include <neogfx/game/material.hpp>
#include <neogfx/game/filter.hpp>

Go to the source code of this file.

Classes

struct  neogfx::graphics_operation::set_logical_coordinate_system
 
struct  neogfx::graphics_operation::set_origin
 
struct  neogfx::graphics_operation::set_logical_coordinates
 
struct  neogfx::graphics_operation::set_viewport
 
struct  neogfx::graphics_operation::scissor_on
 
struct  neogfx::graphics_operation::scissor_off
 
struct  neogfx::graphics_operation::snap_to_pixel_on
 
struct  neogfx::graphics_operation::snap_to_pixel_off
 
struct  neogfx::graphics_operation::set_opacity
 
struct  neogfx::graphics_operation::set_blending_mode
 
struct  neogfx::graphics_operation::set_smoothing_mode
 
struct  neogfx::graphics_operation::push_logical_operation
 
struct  neogfx::graphics_operation::pop_logical_operation
 
struct  neogfx::graphics_operation::line_stipple_on
 
struct  neogfx::graphics_operation::line_stipple_off
 
struct  neogfx::graphics_operation::subpixel_rendering_on
 
struct  neogfx::graphics_operation::subpixel_rendering_off
 
struct  neogfx::graphics_operation::clear
 
struct  neogfx::graphics_operation::clear_depth_buffer
 
struct  neogfx::graphics_operation::clear_stencil_buffer
 
struct  neogfx::graphics_operation::clear_gradient
 
struct  neogfx::graphics_operation::set_gradient
 
struct  neogfx::graphics_operation::set_pixel
 
struct  neogfx::graphics_operation::draw_pixel
 
struct  neogfx::graphics_operation::draw_line
 
struct  neogfx::graphics_operation::draw_triangle
 
struct  neogfx::graphics_operation::draw_rect
 
struct  neogfx::graphics_operation::draw_rounded_rect
 
struct  neogfx::graphics_operation::draw_checker_rect
 
struct  neogfx::graphics_operation::draw_circle
 
struct  neogfx::graphics_operation::draw_ellipse
 
struct  neogfx::graphics_operation::draw_pie
 
struct  neogfx::graphics_operation::draw_arc
 
struct  neogfx::graphics_operation::draw_cubic_bezier
 
struct  neogfx::graphics_operation::draw_path
 
struct  neogfx::graphics_operation::draw_shape
 
struct  neogfx::graphics_operation::draw_entities
 
struct  neogfx::graphics_operation::draw_glyphs
 
struct  neogfx::graphics_operation::draw_mesh
 

Namespaces

namespace  neogfx
 
namespace  neogfx::graphics_operation
 

Typedefs

typedef std::variant< std::monostate, set_logical_coordinate_system, set_logical_coordinates, set_origin, set_viewport, scissor_on, scissor_off, snap_to_pixel_on, snap_to_pixel_off, set_opacity, set_blending_mode, set_smoothing_mode, push_logical_operation, pop_logical_operation, line_stipple_on, line_stipple_off, subpixel_rendering_on, subpixel_rendering_off, clear, clear_depth_buffer, clear_stencil_buffer, clear_gradient, set_gradient, set_pixel, draw_pixel, draw_line, draw_triangle, draw_rect, draw_rounded_rect, draw_checker_rect, draw_circle, draw_ellipse, draw_pie, draw_arc, draw_cubic_bezier, draw_path, draw_shape, draw_entities, draw_glyphs, draw_meshneogfx::graphics_operation::operation
 
typedef std::vector< operationneogfx::graphics_operation::queue
 
typedef std::ranges::subrange< operation const * > neogfx::graphics_operation::batch
 

Enumerations

enum  neogfx::graphics_operation::operation_type {
  neogfx::graphics_operation::Invalid = 0 , neogfx::graphics_operation::SetLogicalCoordinateSystem , neogfx::graphics_operation::SetLogicalCoordinates , neogfx::graphics_operation::SetOrigin ,
  neogfx::graphics_operation::SetViewport , neogfx::graphics_operation::ScissorOn , neogfx::graphics_operation::ScissorOff , neogfx::graphics_operation::SnapToPixelOn ,
  neogfx::graphics_operation::SnapToPixelOff , neogfx::graphics_operation::SetOpacity , neogfx::graphics_operation::SetBlendingMode , neogfx::graphics_operation::SetSmoothingMode ,
  neogfx::graphics_operation::PushLogicalOperation , neogfx::graphics_operation::PopLogicalOperation , neogfx::graphics_operation::LineStippleOn , neogfx::graphics_operation::LineStippleOff ,
  neogfx::graphics_operation::SubpixelRenderingOn , neogfx::graphics_operation::SubpixelRenderingOff , neogfx::graphics_operation::Clear , neogfx::graphics_operation::ClearDepthBuffer ,
  neogfx::graphics_operation::ClearStencilBuffer , neogfx::graphics_operation::ClearGradient , neogfx::graphics_operation::SetGradient , neogfx::graphics_operation::SetPixel ,
  neogfx::graphics_operation::DrawPixel , neogfx::graphics_operation::DrawLine , neogfx::graphics_operation::DrawTriangle , neogfx::graphics_operation::DrawRect ,
  neogfx::graphics_operation::DrawRoundedRect , neogfx::graphics_operation::DrawCheckerRect , neogfx::graphics_operation::DrawCircle , neogfx::graphics_operation::DrawEllipse ,
  neogfx::graphics_operation::DrawPie , neogfx::graphics_operation::DrawArc , neogfx::graphics_operation::DrawCubicBezier , neogfx::graphics_operation::DrawPath ,
  neogfx::graphics_operation::DrawShape , neogfx::graphics_operation::DrawEntities , neogfx::graphics_operation::DrawGlyph , neogfx::graphics_operation::DrawMesh
}
 

Functions

std::string neogfx::graphics_operation::to_string (operation_type aOpType)
 
bool neogfx::graphics_operation::batchable (const operation &aLeft, const operation &aRight)
 
bool neogfx::graphics_operation::batchable (text_format const &aLeft, text_format const &aRight)
 
bool neogfx::graphics_operation::batchable (i_glyph_text const &lhsText, i_glyph_text const &rhsText, glyph_char const &lhs, glyph_char const &rhs)