# Luxor linewidth scaling

**URL:** https://discourse.julialang.org/t/luxor-linewidth-scaling/70022
**Category:** General Usage
**Tags:** luxor
**Created:** [October 19, 2021, 10:11am UTC](https://discourse.julialang.org/t/luxor-linewidth-scaling/70022 "2021-10-19T10:11:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jg-854](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jg-854/32/20395_2.png) [@jg-854](https://discourse.julialang.org/u/jg-854)
#### Post date: [October 19, 2021, 10:11am UTC](https://discourse.julialang.org/t/luxor-linewidth-scaling/70022/1 "2021-10-19T10:11:27Z")

</div>

I am creating an application with a zoom feature. I thought to use Luxor.scale, which correctly scales my primitives (boxes, triangles etc.) but preserves the linewidth’s value. Is there any way to include the scaling of the linewidth too? When the scale factor is very small, the linewidth is unbearably large

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [October 19, 2021, 10:47am UTC](https://discourse.julialang.org/t/luxor-linewidth-scaling/70022/2 "2021-10-19T10:47:38Z")

</div>

The manual is your friend [Transforms and matrices · Luxor](http://juliagraphics.github.io/Luxor.jl/dev/explanation/transforms/#Scaling-of-line-thickness)
