Thread: Sketch
View Single Post
Old 04-26-2017, 05:21 PM   #22
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by baskerville View Post
I wasn't aware of the rotation issue.

The output of:
Code:
cat /sys/class/graphics/fb0/rotate
Might be helpful.
Things are getting confusing.
On my Touch (C), rotation is 0 when KSM is running; and 3 when nickel is running. When I run sketch with rotation = 0 (and the SKETCH_UNSWAP_XY and SKETCH_UNMIRROR_X set), the drawing on the screen is upright, and the saved png is rotated. When I run sketch with rotation = 3, the drawing is rotated, and the png is upright. I tried unsetting SKETCH_UNSWAP_XY and SKETCH_UNMIRROR_X but did not get both drawing on screen and png to be upright.

On my Touch (A) rotation is 0 when KSM is running, and also when nickel is running. When I run sketch (without the two variables set), the drawing is upright, and the png is rotated and there is something more that is difficult to describe (EDIT: this surplus is visible only on the png, not on the screen).
drawing-20170426_183531.png: I draw an upward arrow, only the head (no shaft, no bar); I draw it with two lines. (This does not sound credible, I guess.)
drawing-20170426_183809.png: I draw an upward arrow, consisting of head, shaft and bar (like U+21a5 Upwards Arrow From Bar on https://en.wikipedia.org/wiki/Arrow_(symbol)), I draw it with four lines
drawing-20170426_185600.png: I draw a line from left top to right bottom
EDIT: maybe I should also mention that my Touch (A) is running an rather old FW (2.6.1 or so)
Attached Thumbnails
Click image for larger version

Name:	drawing-20170426_183531.png
Views:	205
Size:	5.0 KB
ID:	156388   Click image for larger version

Name:	drawing-20170426_183809.png
Views:	206
Size:	7.2 KB
ID:	156389   Click image for larger version

Name:	drawing-20170426_185600.png
Views:	226
Size:	5.9 KB
ID:	156390  

Last edited by tshering; 04-26-2017 at 06:01 PM.
tshering is offline   Reply With Quote