WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
SizeOption Class Reference

#include <webcface/image_frame.h>

Public Member Functions

 SizeOption ()=default
 
 SizeOption (const Size &s)
 
std::optional< int > rows () const
 
std::optional< int > cols () const
 

Friends

SizeOption sizeWH (std::optional< int > width, std::optional< int > height)
 幅 × 高さ でサイズを指定
 
SizeOption sizeHW (std::optional< int > height, std::optional< int > width)
 高さ × 幅 でサイズを指定
 

Constructor & Destructor Documentation

◆ SizeOption() [1/2]

SizeOption ( )
default

◆ SizeOption() [2/2]

SizeOption ( const Size s)
inline

Member Function Documentation

◆ cols()

std::optional< int > cols ( ) const
inline

◆ rows()

std::optional< int > rows ( ) const
inline

Friends And Related Symbol Documentation

◆ sizeHW

SizeOption sizeHW ( std::optional< int >  height,
std::optional< int >  width 
)
friend

高さ × 幅 でサイズを指定

Since
ver2.0

◆ sizeWH

SizeOption sizeWH ( std::optional< int >  width,
std::optional< int >  height 
)
friend

幅 × 高さ でサイズを指定

Since
ver2.0

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