# Maximum width of pen

**URL:** <https://racket.discourse.group/t/maximum-width-of-pen/776>\
**Category:** General\
**Created:** [March 8, 2022, 1:44pm UTC](https://racket.discourse.group/t/maximum-width-of-pen/776 "2022-03-08T13:44:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soegaard](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/soegaard/32/19_2.png) [@soegaard](https://racket.discourse.group/u/soegaard)\
**Post date:** [March 8, 2022, 1:44pm UTC](https://racket.discourse.group/t/maximum-width-of-pen/776/1 "2022-03-08T13:44:56Z")

</div>

Hi All,

The contract of `pen%` says the width of a pen needs to be a real between 0 and 255.  
Is 255 an arbitrary maximum limit?  
If so, I'd like it to be lifted.

I notice that the corresponding function in Cairo doesn't have a limit.

 ![image](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/5eb98f1f861451a44131fed9d87f6235f49cc91b.jpeg)

[https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-set-line-width](https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-set-line-width)

 ![image](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/1fd85092cd57d1b122863aecb971fd51ce1bd1a2.png)
