yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::CanvasUtils::CanvasRenderContext Struct Reference

#include <canvas_utils.h>

Public Attributes

ImDrawList * draw_list
 
ImVec2 canvas_p0
 
ImVec2 canvas_p1
 
ImVec2 scrolling
 
float global_scale
 
bool enable_grid
 
bool enable_hex_labels
 
float grid_step
 

Detailed Description

Definition at line 125 of file canvas_utils.h.

Member Data Documentation

◆ draw_list

◆ canvas_p0

ImVec2 yaze::gui::CanvasUtils::CanvasRenderContext::canvas_p0

◆ canvas_p1

ImVec2 yaze::gui::CanvasUtils::CanvasRenderContext::canvas_p1

◆ scrolling

ImVec2 yaze::gui::CanvasUtils::CanvasRenderContext::scrolling

◆ global_scale

float yaze::gui::CanvasUtils::CanvasRenderContext::global_scale

◆ enable_grid

bool yaze::gui::CanvasUtils::CanvasRenderContext::enable_grid

Definition at line 131 of file canvas_utils.h.

Referenced by yaze::gui::CanvasUtils::DrawCanvasGrid().

◆ enable_hex_labels

bool yaze::gui::CanvasUtils::CanvasRenderContext::enable_hex_labels

Definition at line 132 of file canvas_utils.h.

Referenced by yaze::gui::CanvasUtils::DrawCanvasGrid().

◆ grid_step

float yaze::gui::CanvasUtils::CanvasRenderContext::grid_step

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