Blender V5.3
blender::compositor::StringImageKey Class Reference

#include <COM_string_image.hh>

Public Member Functions

 StringImageKey (const std::string string, const VFont *font, const float size, const HorizontalAlignment horizontal_alignment, const VerticalAlignment vertical_alignment, const std::optional< int > wrap_width)
uint64_t hash () const

Public Attributes

const std::string string
const VFont * font
const float size
const HorizontalAlignment horizontal_alignment
const VerticalAlignment vertical_alignment
const std::optional< int > wrap_width

Friends

bool operator== (const StringImageKey &a, const StringImageKey &b)=default

Detailed Description

Definition at line 41 of file COM_string_image.hh.

Constructor & Destructor Documentation

◆ StringImageKey()

blender::compositor::StringImageKey::StringImageKey ( const std::string string,
const VFont * font,
const float size,
const HorizontalAlignment horizontal_alignment,
const VerticalAlignment vertical_alignment,
const std::optional< int > wrap_width )

Definition at line 36 of file string_image.cc.

References font, horizontal_alignment, size, string, StringImageKey(), vertical_alignment, and wrap_width.

Referenced by operator==, and StringImageKey().

Member Function Documentation

◆ hash()

uint64_t blender::compositor::StringImageKey::hash ( ) const

Definition at line 51 of file string_image.cc.

References font, blender::get_default_hash(), hash(), horizontal_alignment, size, vertical_alignment, and wrap_width.

Referenced by hash().

◆ operator==

bool operator== ( const StringImageKey & a,
const StringImageKey & b )
friend

References b, and StringImageKey().

Member Data Documentation

◆ font

const VFont* blender::compositor::StringImageKey::font

Definition at line 44 of file COM_string_image.hh.

Referenced by hash(), and StringImageKey().

◆ horizontal_alignment

const HorizontalAlignment blender::compositor::StringImageKey::horizontal_alignment

Definition at line 46 of file COM_string_image.hh.

Referenced by hash(), and StringImageKey().

◆ size

const float blender::compositor::StringImageKey::size

Definition at line 45 of file COM_string_image.hh.

Referenced by hash(), and StringImageKey().

◆ string

const std::string blender::compositor::StringImageKey::string

Definition at line 43 of file COM_string_image.hh.

Referenced by StringImageKey().

◆ vertical_alignment

const VerticalAlignment blender::compositor::StringImageKey::vertical_alignment

Definition at line 47 of file COM_string_image.hh.

Referenced by hash(), and StringImageKey().

◆ wrap_width

const std::optional<int> blender::compositor::StringImageKey::wrap_width

Definition at line 48 of file COM_string_image.hh.

Referenced by hash(), and StringImageKey().


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