Click here to Skip to main content
15,887,485 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Never go to bed without learning something new. Pin
Behzad Sedighzadeh3-Oct-23 20:29
Behzad Sedighzadeh3-Oct-23 20:29 
GeneralDucks that like to ... Pin
Mike Hankey2-Oct-23 9:52
mveMike Hankey2-Oct-23 9:52 
GeneralRe: Ducks that like to ... Pin
MarkTJohnson2-Oct-23 9:58
professionalMarkTJohnson2-Oct-23 9:58 
GeneralRe: Ducks that like to ... Pin
megaadam4-Oct-23 21:50
professionalmegaadam4-Oct-23 21:50 
Generalworld 619 2/6 Pin
jmaida2-Oct-23 8:00
jmaida2-Oct-23 8:00 
GeneralFinishing a hobby project Pin
honey the codewitch2-Oct-23 6:48
mvahoney the codewitch2-Oct-23 6:48 
GeneralRe: Finishing a hobby project Pin
Gerry Schmitz2-Oct-23 8:25
mveGerry Schmitz2-Oct-23 8:25 
GeneralRe: Finishing a hobby project Pin
honey the codewitch2-Oct-23 8:31
mvahoney the codewitch2-Oct-23 8:31 
I sort of have that. I've got my graphics and UI libraries. Issue is I'm stuck.

I'm missing a major feature, and that is anti-aliased draws (excepting TrueType and SVG which are).

The issue is that when combined with alpha blending (semi transparent draws) it becomes really tricky because you can't draw the same pixel in the same place twice - ever or it leads to artifacts as the pixel effectively gets blended with itself thus halving the transparency.

I can't find algorithms to do it properly+efficiently, outside of LVGL and I don't understand the LVGL code to do it, even looking at the documentation and pouring over the source. It uses some kind of masking technique that I don't understand at all.

Without that feature, it makes little sense for me to provide a full suite of controls for my UI library, since I will have to rewrite them all to use anti-aliased draws, and without it they look pretty ugly.

The whole thing is a bit overwhelming so I've been avoiding it.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: Finishing a hobby project Pin
Gerry Schmitz2-Oct-23 8:44
mveGerry Schmitz2-Oct-23 8:44 
GeneralRe: Finishing a hobby project Pin
honey the codewitch2-Oct-23 9:02
mvahoney the codewitch2-Oct-23 9:02 
JokeJOTD Pin
Mike Hankey2-Oct-23 5:30
mveMike Hankey2-Oct-23 5:30 
GeneralRe: JOTD Pin
jeron12-Oct-23 5:55
jeron12-Oct-23 5:55 
GeneralRe: JOTD Pin
jmaida2-Oct-23 10:35
jmaida2-Oct-23 10:35 
GeneralRe: JOTD Pin
jeron12-Oct-23 10:57
jeron12-Oct-23 10:57 
GeneralRe: JOTD Pin
Gary R. Wheeler3-Oct-23 8:27
Gary R. Wheeler3-Oct-23 8:27 
GeneralRe: JOTD Pin
honey the codewitch2-Oct-23 6:51
mvahoney the codewitch2-Oct-23 6:51 
GeneralRe: JOTD Pin
Mike Hankey2-Oct-23 7:10
mveMike Hankey2-Oct-23 7:10 
GeneralRe: JOTD Pin
Nelek2-Oct-23 12:42
protectorNelek2-Oct-23 12:42 
GeneralRe: JOTD Pin
Mike Hankey2-Oct-23 12:45
mveMike Hankey2-Oct-23 12:45 
GeneralRe: JOTD Pin
Nelek2-Oct-23 20:00
protectorNelek2-Oct-23 20:00 
GeneralRe: JOTD Pin
dandy724-Oct-23 3:32
dandy724-Oct-23 3:32 
GeneralRe: JOTD Pin
trønderen4-Oct-23 8:36
trønderen4-Oct-23 8:36 
GeneralRe: JOTD Pin
dandy724-Oct-23 10:30
dandy724-Oct-23 10:30 
GeneralRe: JOTD Pin
trønderen4-Oct-23 10:46
trønderen4-Oct-23 10:46 
GeneralRe: JOTD Pin
PIEBALDconsult2-Oct-23 7:43
mvePIEBALDconsult2-Oct-23 7:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.