KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGFX::RHI_CULL_VIEW Struct Reference

The world rectangle a frame shows and the world size of one of its pixels. More...

#include <rhi_cull_runs.h>

Public Member Functions

bool Reaches (const RHI_RUN_BOUNDS &aRun) const
 

Public Attributes

float minX = 0.0f
 
float minY = 0.0f
 
float maxX = 0.0f
 
float maxY = 0.0f
 
float worldPerPixel = 0.0f
 
float viewScale = 0.0f
 the view's scale, which the elements' levels of detail are compared with
 
bool valid = false
 

Detailed Description

The world rectangle a frame shows and the world size of one of its pixels.

Definition at line 188 of file rhi_cull_runs.h.

Member Function Documentation

◆ Reaches()

bool KIGFX::RHI_CULL_VIEW::Reaches ( const RHI_RUN_BOUNDS & aRun) const
inline

Member Data Documentation

◆ maxX

float KIGFX::RHI_CULL_VIEW::maxX = 0.0f

Definition at line 192 of file rhi_cull_runs.h.

Referenced by Reaches(), and KIGFX::RhiCullView().

◆ maxY

float KIGFX::RHI_CULL_VIEW::maxY = 0.0f

Definition at line 193 of file rhi_cull_runs.h.

Referenced by Reaches(), and KIGFX::RhiCullView().

◆ minX

float KIGFX::RHI_CULL_VIEW::minX = 0.0f

Definition at line 190 of file rhi_cull_runs.h.

Referenced by Reaches(), and KIGFX::RhiCullView().

◆ minY

float KIGFX::RHI_CULL_VIEW::minY = 0.0f

Definition at line 191 of file rhi_cull_runs.h.

Referenced by Reaches(), and KIGFX::RhiCullView().

◆ valid

bool KIGFX::RHI_CULL_VIEW::valid = false

◆ viewScale

float KIGFX::RHI_CULL_VIEW::viewScale = 0.0f

the view's scale, which the elements' levels of detail are compared with

Definition at line 195 of file rhi_cull_runs.h.

Referenced by Reaches(), and KIGFX::RhiCullView().

◆ worldPerPixel

float KIGFX::RHI_CULL_VIEW::worldPerPixel = 0.0f

Definition at line 194 of file rhi_cull_runs.h.

Referenced by Reaches(), and KIGFX::RhiCullView().


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