Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/forge
/ keepAspectRatio
Method
keepAspectRatio
src/backend/opengl/image_impl.cpp:118–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
116
}
117
118
void image_impl::keepAspectRatio(const bool pKeep)
119
{
120
mKeepARatio = pKeep;
121
}
122
123
uint image_impl::width() const { return mWidth; }
124
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected