Comments (4)
Please make sure the property "Needle Xcor" and "Needle Ycor" are set properly.
"Needle Xcor" is the distance from the left of the needle image to the center of rotation of the gauge needle.
"Needle Ycor" is the distance from the top of the needle image to the center of rotation of the gauge needle.
Please reference the documentation about GX_CIRCULAR_GAUGE_INFO.
https://docs.microsoft.com/en-us/azure/rtos/guix/appendix-i#gx_circular_gauge_info
from guix.
Hi, Ting
Thanks for the quick reply.
I set exactly same params as you, but the shift can still be seen. It's very little shift, looks like just 1 pixel. But we're making a smart watch, and we use it for a second needle of a watch face. The second needle keeps rotating, so the shifts is observable by users.
from guix.
GUIX supports integer numbers only for the Needle Xcor and Ycor. The specified Xcor and Ycor are not exactly the center of the circle(half pixel error). That may cause drifting when rotating. My recommendation is to change the needle image so that the actual coordinates of the circle center are integer numbers.
from guix.
Hello @WeizhongFan,
Can you make the change suggested and does this fix the issue? I need to know if we can close the issue or if we need to add a task to our backlog to investigate sub-pixel coordinates.
from guix.
Related Issues (20)
- PNG/DEFLATE font compression
- How to implement physical key operations
- GuiX Studio uses the Azure-RTOS GUIX repo, rather than the Eclipse-ThreadX repository HOT 1
- GUIX resources typo
- GUIX multiple identical resources
- How to uncompress compressed pixelmaps in GUIX?
- Documentation question about gx_system_event_send() error code HOT 8
- Incorrect PNG function being called when 2d engine is disabled HOT 3
- Bad LowerCase/UpperCase file loading in recent file window HOT 3
- GUIX Studio RGB888 frame buffer support HOT 7
- Documentation Errors HOT 5
- 4bit per pixel png image support HOT 2
- GUIX in low power mode HOT 11
- gx_studio_auto_event_handler calls event function on a deleted widget HOT 9
- GUIX Studio font heights above 240 pixels are not possible HOT 2
- If a vertical lists has a multiple childs of different heights, the scrollbar thumb does not reach the end of the scrollbar HOT 3
- The GX_EVENT_FOCUS_LOST event is not sent if the parent does not have focus HOT 2
- GX_VERTICAL_LIST does not release input if it contains GX_SINGLE_LINE_TEXT_INPUT HOT 2
- Increase maximum font size HOT 2
- Hebrew : multiline text view widgets dont display correctly on several lines HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guix.