Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/forge
/ keepAspectRatio
Method
keepAspectRatio
src/api/cpp/image.cpp:53–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
void Image::keepAspectRatio(const bool pKeep)
54
{
55
FG_THROW(fg_set_image_aspect_ratio(get(), pKeep));
56
}
57
58
unsigned Image::width() const
59
{
Callers
1
fg_set_image_aspect_ratio
Function · 0.45
Calls
1
fg_set_image_aspect_ratio
Function · 0.85
Tested by
no test coverage detected