KiCad PCB EDA Suite
Loading...
Searching...
No Matches
rhi_static_margin.h File Reference
#include <rhi/frame_packet.h>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <optional>

Go to the source code of this file.

Classes

struct  KIGFX::RHI_VIEW_SHIFT
 How far the view has moved since the static target was drawn, in whole frame pixels. More...
 

Namespaces

namespace  KIGFX
 The Cairo implementation of the graphics abstraction layer.
 

Functions

FRAME_UBO_DATA KIGFX::RhiWidenFrame (const FRAME_UBO_DATA &aFrame, uint32_t aMargin)
 
GRID_UBO_DATA KIGFX::RhiWidenGrid (const GRID_UBO_DATA &aGrid, uint32_t aMargin)
 
bool KIGFX::RhiViewMovedOnly (const FRAME_UBO_DATA &aDrawn, const FRAME_UBO_DATA &aNow)
 
std::optional< RHI_VIEW_SHIFT > KIGFX::RhiViewShift (const FRAME_UBO_DATA &aDrawn, const FRAME_UBO_DATA &aNow)
 
bool KIGFX::RhiGridMovedOnly (const GRID_UBO_DATA &aDrawn, const GRID_UBO_DATA &aNow)