neoGFX
C++ GPU-oriented GUI library and app/game creation framework.
neogfx::shape_frame Class Reference

#include <shape.hpp>

Inheritance diagram for neogfx::shape_frame:
neogfx::i_shape_frame

Public Member Functions

 shape_frame (const colour_or_gradient &aColour)
 
 shape_frame (const colour_or_gradient &aColour, const mat33 &aTransformation)
 
 shape_frame (const i_texture &aTexture)
 
 shape_frame (const i_texture &aTexture, const mat33 &aTransformation)
 
 shape_frame (const i_texture &aTexture, const optional_rect &aTextureRect)
 
 shape_frame (const i_texture &aTexture, const optional_rect &aTextureRect, const mat33 &aTransformation)
 
 shape_frame (texture_list_pointer aTextures)
 
 shape_frame (texture_list_pointer aTextures, const mat33 &aTransformation)
 
bool has_extents () const override
 
size extents () const override
 
const optional_colour_or_gradientcolour () const override
 
void set_colour (const optional_colour_or_gradient &aColour) override
 
texture_list_pointer textures () const override
 
void set_textures (texture_list_pointer aTextures) override
 
const optional_mat33transformation () const override
 
void set_transformation (const optional_mat33 &aTransformation) override
 

Detailed Description

Definition at line 29 of file shape.hpp.

Constructor & Destructor Documentation

◆ shape_frame() [1/8]

neogfx::shape_frame::shape_frame ( const colour_or_gradient aColour)
inline

Definition at line 32 of file shape.hpp.

◆ shape_frame() [2/8]

neogfx::shape_frame::shape_frame ( const colour_or_gradient aColour,
const mat33 aTransformation 
)
inline

Definition at line 33 of file shape.hpp.

◆ shape_frame() [3/8]

neogfx::shape_frame::shape_frame ( const i_texture aTexture)
inline

Definition at line 34 of file shape.hpp.

◆ shape_frame() [4/8]

neogfx::shape_frame::shape_frame ( const i_texture aTexture,
const mat33 aTransformation 
)
inline

Definition at line 35 of file shape.hpp.

◆ shape_frame() [5/8]

neogfx::shape_frame::shape_frame ( const i_texture aTexture,
const optional_rect aTextureRect 
)
inline

Definition at line 36 of file shape.hpp.

◆ shape_frame() [6/8]

neogfx::shape_frame::shape_frame ( const i_texture aTexture,
const optional_rect aTextureRect,
const mat33 aTransformation 
)
inline

Definition at line 37 of file shape.hpp.

◆ shape_frame() [7/8]

neogfx::shape_frame::shape_frame ( texture_list_pointer  aTextures)
inline

Definition at line 38 of file shape.hpp.

◆ shape_frame() [8/8]

neogfx::shape_frame::shape_frame ( texture_list_pointer  aTextures,
const mat33 aTransformation 
)
inline

Definition at line 39 of file shape.hpp.

Member Function Documentation

◆ colour()

const optional_colour_or_gradient& neogfx::shape_frame::colour ( ) const
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 43 of file shape.hpp.

◆ extents()

size neogfx::shape_frame::extents ( ) const
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 42 of file shape.hpp.

◆ has_extents()

bool neogfx::shape_frame::has_extents ( ) const
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 41 of file shape.hpp.

◆ set_colour()

void neogfx::shape_frame::set_colour ( const optional_colour_or_gradient aColour)
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 44 of file shape.hpp.

◆ set_textures()

void neogfx::shape_frame::set_textures ( texture_list_pointer  aTextures)
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 46 of file shape.hpp.

◆ set_transformation()

void neogfx::shape_frame::set_transformation ( const optional_mat33 aTransformation)
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 48 of file shape.hpp.

◆ textures()

texture_list_pointer neogfx::shape_frame::textures ( ) const
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 45 of file shape.hpp.

◆ transformation()

const optional_mat33& neogfx::shape_frame::transformation ( ) const
inlineoverridevirtual

Implements neogfx::i_shape_frame.

Definition at line 47 of file shape.hpp.


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