Blender V4.3
blender::ed::spreadsheet::SpreadsheetLayoutDrawer Class Reference

Inherits blender::ed::spreadsheet::SpreadsheetDrawer.

Public Member Functions

 SpreadsheetLayoutDrawer (const SpreadsheetLayout &spreadsheet_layout)
 
void draw_top_row_cell (int column_index, const CellDrawParams &params) const final
 
void draw_left_column_cell (int row_index, const CellDrawParams &params) const final
 
void draw_content_cell (int row_index, int column_index, const CellDrawParams &params) const final
 
void draw_float_vector (const CellDrawParams &params, const Span< float > values) const
 
void draw_int_vector (const CellDrawParams &params, const Span< int > values) const
 
void draw_byte_color (const CellDrawParams &params, const ColorGeometry4b color) const
 
void draw_float4x4 (const CellDrawParams &params, const float4x4 &value) const
 
int column_width (int column_index) const final
 
- Public Member Functions inherited from blender::ed::spreadsheet::SpreadsheetDrawer
 SpreadsheetDrawer ()
 
virtual ~SpreadsheetDrawer ()
 

Additional Inherited Members

- Public Attributes inherited from blender::ed::spreadsheet::SpreadsheetDrawer
int left_column_width
 
int top_row_height
 
int row_height
 
int tot_rows = 0
 
int tot_columns = 0
 

Detailed Description

Definition at line 33 of file spreadsheet_layout.cc.

Constructor & Destructor Documentation

◆ SpreadsheetLayoutDrawer()

Member Function Documentation

◆ column_width()

int blender::ed::spreadsheet::SpreadsheetLayoutDrawer::column_width ( int column_index) const
inlinefinalvirtual

◆ draw_byte_color()

◆ draw_content_cell()

◆ draw_float4x4()

void blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_float4x4 ( const CellDrawParams & params,
const float4x4 & value ) const
inline

◆ draw_float_vector()

void blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_float_vector ( const CellDrawParams & params,
const Span< float > values ) const
inline

◆ draw_int_vector()

void blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_int_vector ( const CellDrawParams & params,
const Span< int > values ) const
inline

◆ draw_left_column_cell()

void blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_left_column_cell ( int row_index,
const CellDrawParams & params ) const
inlinefinalvirtual

◆ draw_top_row_cell()

void blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_top_row_cell ( int column_index,
const CellDrawParams & params ) const
inlinefinalvirtual

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