MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / oriented_width

Method oriented_width

src/libOpenImageIO/imagebuf.cpp:1667–1673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1665
1666
1667int
1668ImageBuf::oriented_width () const
1669{
1670 const ImageBufImpl *impl (this->impl());
1671 const ImageSpec &spec (impl->spec());
1672 return impl->m_orientation <= 4 ? spec.width : spec.height;
1673}
1674
1675
1676

Callers 3

zoom_needed_to_fitMethod · 0.80
paint_pixelviewMethod · 0.80
clamp_view_to_windowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected