Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Support and General Use
Plugins/Viewers
opacity
« previous
next »
Print
Pages: [
1
]
Author
Topic: opacity (Read 2651 times)
SliMM
Artist
Member
Posts: 15
opacity
«
on:
March 21, 2007, 04:54:56 AM »
Hello. I'm currently working on a set of functions for drawing semi-transparent bitmaps, rectangles and for using an alpha opacity channel with bitmaps
Logged
xlarge
Member
Posts: 191
Re: opacity
«
Reply #1 on:
March 21, 2007, 06:38:22 AM »
Good... Intended for implemeting in rockbox?
Logged
SliMM
Artist
Member
Posts: 15
Re: opacity
«
Reply #2 on:
March 21, 2007, 06:58:49 AM »
It is intended for implementing in the plugin api some time in the future. the first functions are attached. i'll work on bitmaps now. i think alpha channel can be another grayscale bitmap.
http://www.pastebin.ca/404924
<-- here is helloworld.c
http://www.pastebin.ca/404925
<-- here is the file with the functions, alphaopacity.c
http://stereo3d.adpeach.com/scrshot.jpg
<-- here is a screenshot
Also, if anyone is interested in implementing Wu's line algorit, for anti-aliased lines, the pseudocode is here:
http://en.wikipedia.org/wiki/Xiaolin_Wu's_line_algorithm
Logged
SliMM
Artist
Member
Posts: 15
Re: opacity
«
Reply #3 on:
April 13, 2007, 03:41:50 AM »
I have finally finished a first set of semi-transparency functions.
Here is the link to the tracker task:
http://www.rockbox.org/tracker/task/7022
Logged
Print
Pages: [
1
]
« previous
next »
Rockbox Technical Forums
Support and General Use
Plugins/Viewers
opacity
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.133 seconds with 21 queries.