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

#include <canvas_types.h>

Public Attributes

ImVec2 dest_pos = ImVec2(0, 0)
 
ImVec2 dest_size = ImVec2(0, 0)
 
ImVec2 src_pos = ImVec2(0, 0)
 
ImVec2 src_size = ImVec2(0, 0)
 
float scale = 1.0f
 
int alpha = 255
 
bool ensure_texture = true
 

Detailed Description

Definition at line 90 of file canvas_types.h.

Member Data Documentation

◆ dest_pos

ImVec2 yaze::gui::BitmapDrawOpts::dest_pos = ImVec2(0, 0)

◆ dest_size

ImVec2 yaze::gui::BitmapDrawOpts::dest_size = ImVec2(0, 0)

◆ src_pos

ImVec2 yaze::gui::BitmapDrawOpts::src_pos = ImVec2(0, 0)

Definition at line 93 of file canvas_types.h.

Referenced by yaze::gui::DrawBitmap().

◆ src_size

ImVec2 yaze::gui::BitmapDrawOpts::src_size = ImVec2(0, 0)

Definition at line 94 of file canvas_types.h.

Referenced by yaze::gui::DrawBitmap().

◆ scale

float yaze::gui::BitmapDrawOpts::scale = 1.0f

Definition at line 95 of file canvas_types.h.

Referenced by yaze::gui::DrawBitmap().

◆ alpha

int yaze::gui::BitmapDrawOpts::alpha = 255

Definition at line 96 of file canvas_types.h.

Referenced by yaze::gui::DrawBitmap().

◆ ensure_texture

bool yaze::gui::BitmapDrawOpts::ensure_texture = true

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