Hey community!
Below is an image taken as screen shot using latest Opera with Windows 10 125% dpi desktop zoom. As you propably notice the canvas draw (code is down below) is making horrible aliasing effects, not so the "proper" gadgets.
Can you confirm that? What should the canvas be of use at all when it is unsharp per definition?
Code: Select all
loadFont (0, "Courier", 12)
openWindow (0,
0, 0, 0, 0, "",
#pb_window_background)
openWindow (1,
0, 0, 0, 0, "",
#pb_window_borderless)
procedure sizeOne ()
resizeWindow (1,
0, 0, windowWidth (0), windowHeight (0))
endProcedure
bindEvent (#pb_event_sizeWindow,
@sizeOne ())
textGadget (0, 15, 15, 200, 20, "Will this line pixelate?")
setGadgetFont (0, fontId (0))
canvasGadget (1, 15, 45, 200, 80)
if startDrawing (canvasOutput (1))
drawingFont (fontId (0))
box (0, 0, gadgetWidth (1), gadgetheight (1), #white)
drawText (15, 15, "Will this text pixelate?", #black, #white)
stopDrawing ()
endIf
sizeOne ()