Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  opacity
« previous next »
  • Print
Pages: [1]

Author Topic: opacity  (Read 2566 times)

Offline 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

Offline xlarge

  • Member
  • *
  • Posts: 191
Re: opacity
« Reply #1 on: March 21, 2007, 06:38:22 AM »
Good... Intended for implemeting in rockbox?
Logged

Offline 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

Offline 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.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.061 seconds with 15 queries.