mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
LibGfx+icc: Prefix AK::FixedPoint with AK Namespace
This commit is contained in:
parent
bf600c8e1d
commit
1529f5469c
Notes:
sideshowbarker
2024-07-18 23:46:28 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/1529f5469ca Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/676 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/trflynn89 ✅
2 changed files with 3 additions and 3 deletions
|
@ -62,8 +62,8 @@ inline FloatVector3 lerp_nd(Function<unsigned(size_t)> size, Function<FloatVecto
|
|||
return sample_output;
|
||||
}
|
||||
|
||||
using S15Fixed16 = FixedPoint<16, i32>;
|
||||
using U16Fixed16 = FixedPoint<16, u32>;
|
||||
using S15Fixed16 = AK::FixedPoint<16, i32>;
|
||||
using U16Fixed16 = AK::FixedPoint<16, u32>;
|
||||
|
||||
struct XYZ {
|
||||
float X { 0 };
|
||||
|
|
|
@ -40,7 +40,7 @@ static void out_curve(Gfx::ICC::CurveTagData const& curve, int indent_amount)
|
|||
if (curve.values().is_empty()) {
|
||||
outln("{: >{}}identity curve", "", indent_amount);
|
||||
} else if (curve.values().size() == 1) {
|
||||
outln("{: >{}}gamma: {}", "", indent_amount, FixedPoint<8, u16>::create_raw(curve.values()[0]));
|
||||
outln("{: >{}}gamma: {}", "", indent_amount, AK::FixedPoint<8, u16>::create_raw(curve.values()[0]));
|
||||
} else {
|
||||
// FIXME: Maybe print the actual points if -v is passed?
|
||||
outln("{: >{}}curve with {} points", "", indent_amount, curve.values().size());
|
||||
|
|
Loading…
Reference in a new issue