refactor(network): updated network and network::approx8 to use composition module

This is a very basic wrapper implimentation currently. This is sufficient to lock the interface down so that other code can target it. However, internally there is just a "convert" function. Eventually we should rework the code itself to use the composition module more directly.
This commit is contained in:
2025-06-17 09:43:43 -04:00
parent 3c14fd54bd
commit 0cfb020a8c
11 changed files with 370 additions and 305 deletions

View File

@@ -333,7 +333,7 @@ namespace serif::composition {
return old_number_fractions;
}
bool Composition::finalize(bool norm) {
bool Composition::finalize(const bool norm) {
bool finalized = false;
if (m_massFracMode) {
finalized = finalizeMassFracMode(norm);