Font facet offset
I am trying to make an explanation the font facet block that is as correct and complete as I can manage. I am trying to show what 'offset' does but I can't seem to make it do anything. In the sample below, I would expect the text 'test' to be offset from the top left corner of the 200x200 beige box by 100 pixels to the right and 100 pixels down, but it is not. Can anyone explain what I am not understanding? Thank you. R E B O L [ Title: 'VID test harness' ] ;; Paste code below to test view layout [ size 500x500 box 200x200 beige 'test' font [ name: font-sans-serif size: 12 style: none color: black align: none valign: none offset: 100x100 space: 0x0 shadow: none ] ]
posted by: Steven White 17-Apr-2015/12:21:09-7:00
I never saw FONT/OFFSET ever have any effect. By the way, I made a VID STYLE to more easily manipulate FONT objects: >> do https://s3-ap-southeast-1.amazonaws.com/antonrolls/rebol/gui/demo-font-control.r
posted by: Anton Rolls 18-Apr-2015/4:41:31-7:00
|