MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / Rect

Method Rect

lv2export/includes/rack.hpp:282–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 Vec pos;
281 Vec size;
282 Rect() {}
283 Rect(Vec pos, Vec size) : pos(pos), size(size) {}
284 Rect(float posX, float posY, float sizeX, float sizeY) : pos(Vec(posX, posY)), size(Vec(sizeX, sizeY)) {}
285 static Rect fromMinMax(Vec a, Vec b) { return Rect(a, b.minus(a)); }

Callers 10

BeginTableExMethod · 0.80
GetResizeBorderRectFunction · 0.80
BeginMethod · 0.80
GetWindowRectMethod · 0.80
BeginMenuExMethod · 0.80

Calls 1

VecClass · 0.85

Tested by

no test coverage detected