pub const MAGNIFIER_CORNER_RADIUS: f32 = 0.0;Expand description
Corner radius of the magnifier’s frame, in dp — zero, so the shipped lens is a rectangle.
Not a stylistic preference. The clip behind the frame is rectangular and
cannot be anything else (see [teksilo_core::text_touch::magnifier]), so a
frame with radius r leaves r × (√2 − 1) dp of magnified content standing
outside each of its corners — 4 dp at a 10 dp radius, which a 1 dp frame
does not begin to cover. At zero the frame is exactly the clip and nothing
escapes. A style that wants a rounded lens may raise this and accept the
corners; it is the one number in this recipe with a correctness consequence.