AppDimens.Net.Logarithmic
3.6.0
dotnet add package AppDimens.Net.Logarithmic --version 3.6.0
NuGet\Install-Package AppDimens.Net.Logarithmic -Version 3.6.0
<PackageReference Include="AppDimens.Net.Logarithmic" Version="3.6.0" />
<PackageVersion Include="AppDimens.Net.Logarithmic" Version="3.6.0" />
<PackageReference Include="AppDimens.Net.Logarithmic" />
paket add AppDimens.Net.Logarithmic --version 3.6.0
#r "nuget: AppDimens.Net.Logarithmic, 3.6.0"
#:package AppDimens.Net.Logarithmic@3.6.0
#addin nuget:?package=AppDimens.Net.Logarithmic&version=3.6.0
#tool nuget:?package=AppDimens.Net.Logarithmic&version=3.6.0
<div align="center">
📉 AppDimens.Net.Logarithmic
Logarithmic scaling (LOGSdp) — diminishing-growth dimensions for extreme screen ranges.
Part of the AppDimens for .NET family · requires AppDimens.Net (core).
</div>
🎯 What is it?
The Logarithmic strategy grows values along a log curve: fast on small phones, progressively gentler on big tablets and desktops. Perfect when small devices need real relief but huge screens shouldn't explode paddings and font sizes.
📦 Installation
dotnet add package AppDimens.Net.Logarithmic
Depends on AppDimens.Net (pulled automatically). Attach a MAUI window first or pass an explicit
IAppDimensContext.
🚀 Quick start
using AppDimens.Net.Logarithmic;
float pad = 16.LOGSdp(); // log-damped by smallest-width
float gap = 12.LOGWdp(ctx); // width axis
float icon = 24.LOGSdpaPx(); // px, aspect-ratio adjusted
🧭 API
| Extension | Result |
|---|---|
v.LOGSdp(ctx) · v.LOGSdpa(ctx) |
smallest-width lane (± aspect ratio) |
v.LOGHdp(ctx) · v.LOGWdp(ctx) |
height / width axis |
…i variants (LOGSdpi…) |
ignore multi-window |
v.LOGSdpPx(ctx) … |
pixel result |
v.LOGSdpCustom(qualifier, inverter, imw, ar, k) |
full control incl. sensitivity |
DimenLogarithmic.LOGSdp(context, value) |
static form · WarmupCache(ctx) pre-heats |
v.ToLogarithmicDp/Px(v, ctx, …) |
generic kernel entry |
💡 When to use
| Scenario | Recommendation |
|---|---|
| Comfortable scaling from phone → desktop | ✅ Logarithmic |
| Aggressive large-screen growth | Power |
| Strict proportions | Percent |
⚡ Performance
Same engine as the core: snapshot-partitioned cache, allocation-free fast lanes, automatic invalidation on configuration changes.
📚 Full package family
AppDimens.Net · Percent · Power · Auto · Fluid · Interpolated · Diagonal · Perimeter · Fill · Fit · Density · Resize · Units · Maui · Sdk meta-package
Apache-2.0 — © Jean Bodenberg · Repository · Formulas are bit-a-bit ports of appdimens-kmp
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AppDimens.Net (>= 3.6.0)
-
net8.0
- AppDimens.Net (>= 3.6.0)
-
net9.0
- AppDimens.Net (>= 3.6.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AppDimens.Net.Logarithmic:
| Package | Downloads |
|---|---|
|
AppDimens.Net.Sdk
AppDimens .NET meta-package ("BOM"): pulls the principal library plus every strategy module with a single reference. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.6.0 | 81 | 8/23/2026 |