neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
primitives.hpp File Reference
#include <neogfx/neogfx.hpp>
#include <memory>
#include <boost/multi_array.hpp>
#include <optional>
#include <neolib/core/vecarray.hpp>
#include <neogfx/core/primitives.hpp>
#include <neogfx/gfx/path.hpp>
#include <neogfx/gfx/texture.hpp>
#include <neogfx/gfx/sub_texture.hpp>
#include <neogfx/gfx/pen.hpp>

Go to the source code of this file.

Classes

class  neogfx::text_color
 

Namespaces

namespace  neogfx
 

Typedefs

typedef neolib::variant< color, gradient, texture, std::pair< texture, rect >, sub_texture, std::pair< sub_texture, rect > > neogfx::brush
 
typedef neolib::optional< text_colorneogfx::optional_text_color
 

Enumerations

enum class  neogfx::blending_mode { neogfx::None , neogfx::Default , neogfx::Blit }
 
enum class  neogfx::smoothing_mode { neogfx::None , neogfx::AntiAlias }
 
enum class  neogfx::logical_operation { neogfx::None , neogfx::Xor }
 
enum class  neogfx::shader_effect {
  neogfx::None = 0 , neogfx::Colorize = 1 , neogfx::ColorizeAverage = Colorize , neogfx::ColorizeMaximum = 2 ,
  neogfx::ColorizeSpot = 3 , neogfx::ColorizeAlpha = 4 , neogfx::Monochrome = 5 , neogfx::Filter = 10 ,
  neogfx::Ignore = 99
}
 
enum class  neogfx::shader_filter { neogfx::None = 0 , neogfx::GaussianBlur = 1 }
 
enum class  neogfx::shader_shape {
  neogfx::None = 0x00 , neogfx::Line = 0x01 , neogfx::CubicBezier = 0x02 , neogfx::Triangle = 0x03 ,
  neogfx::Rect = 0x04 , neogfx::Circle = 0x05 , neogfx::Ellipse = 0x06 , neogfx::Pie = 0x07 ,
  neogfx::Arc = 0x08 , neogfx::RoundedRect = 0x09
}
 
enum class  neogfx::blurring_algorithm { neogfx::None , neogfx::Gaussian }
 
enum class  neogfx::text_effect_type : uint32_t { neogfx::None , neogfx::Outline , neogfx::Glow , neogfx::Shadow }
 

Functions

brush neogfx::to_brush (const color_or_gradient &aEffectColor)
 
bool neogfx::operator== (color_or_gradient const &lhs, color const &rhs) noexcept
 
bool neogfx::operator== (color const &lhs, color_or_gradient const &rhs) noexcept
 
bool neogfx::operator!= (color_or_gradient const &lhs, color const &rhs) noexcept
 
bool neogfx::operator!= (color const &lhs, color_or_gradient const &rhs) noexcept
 
bool neogfx::operator== (color_or_gradient const &lhs, gradient const &rhs) noexcept
 
bool neogfx::operator== (gradient const &lhs, color_or_gradient const &rhs) noexcept
 
bool neogfx::operator!= (color_or_gradient const &lhs, gradient const &rhs) noexcept
 
bool neogfx::operator!= (gradient const &lhs, color_or_gradient const &rhs) noexcept