MCPcopy Create free account
hub / github.com/defold/defold / GetPropertiesArea

Function GetPropertiesArea

engine/profiler/src/profiler_render.cpp:429–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427 }
428
429 static Area GetPropertiesArea(DisplayMode display_mode, const Area& profiler_area, int counters_count)
430 {
431 Size s(COUNTERS_NAME_WIDTH + COUNTERS_COUNT_WIDTH, LINE_SPACING * counters_count);
432
433 Position p(profiler_area.p.x + profiler_area.s.w - s.w, profiler_area.p.y + profiler_area.s.h - s.h);
434 return Area(p, s);
435 }
436
437 static Area GetSamplesArea(DisplayMode display_mode, const Area& details_area)
438 {

Callers 1

DrawFunction · 0.85

Calls 1

AreaClass · 0.85

Tested by

no test coverage detected