This is how I solved filling shapes (not limited to circles though) with hatches - and yes I know, it draws quite some lines..... Tried to increase the pen width to limit the number of strokes, however I could not find a generic solution that filled the entire shape. proc fill.circle {x y radius fcolor} { if {= [strcmp $fcolor none] 0} {} else { set prevpen [pen $fcolor solid] hatch 45 [expr 0.75*[lindex $prevpen 2]] hatchcircle $x $y $radius pen $prevpen } circle $x $y $radius } As my contribution...
My use case is multiple 1. I use layers on the reMarkable to selectively hide/show my markings - used to memorize and practice exercises while keeping at the same time a sort of 'version history'. When Drawj2d supports multiple layers, I can create in the same document both the exercise AND the solution. 2. I use layers on the remarkable to differentiate between how "sure" I am of my markings: draft - final - thoughts etc. When Drawj2d supports multiple layers I can create a layer with shapes (the...
Thank you so much for you super-fast response. With the example you gave above, I now do understand the geom.topolyline commands and what their use case is. For other shapes that needed to be selected as one, I already used the polygon command, but could not figure out how to include curves in it. That is now solved. Again, many thanks. Keep up the good work. John
Hi, Is there support of the 'layers' in rmn/rmdoc files? I'd like to have shapes on different layers. If not, is this a future feature. Maybe the Opacity can be used for this. Eg Opacity 1.0 => Layer 1, Opacity [0.9 - 1.0) => Layer 2 etc John
Hi again, I have another observation, where the output behaves in a different way than I expected. While circle, rectangle and polygon result in one single object on the reMarkable, the hatch-variants generate multiple objects: each stroke of the hatch is a separate object. This has been discovered while I was searching for a workaround because the reMarkable does not support the fill property. Can you please advice? Thanks in advance. John