MCPcopy Create free account
hub / github.com/davisking/dlib / resize_rect_height

Function resize_rect_height

dlib/geometry/rectangle.h:718–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716// ----------------------------------------------------------------------------------------
717
718 inline const rectangle resize_rect_height (
719 const rectangle& rect,
720 unsigned long height
721 )
722 {
723 return rectangle(rect.left(),rect.top(),
724 rect.right(),
725 rect.top()+height-1);
726 }
727
728// ----------------------------------------------------------------------------------------
729

Callers

nothing calls this directly

Calls 4

rectangleClass · 0.70
leftMethod · 0.45
topMethod · 0.45
rightMethod · 0.45

Tested by

no test coverage detected