Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Porting SystemDraw to Frambuffer
Re: Porting SystemDraw to Frambuffer [message #27265 is a reply to message #22966] Fri, 09 July 2010 12:50 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
Quote:

the best thing would be to extend the Painter with some converterfunctions, to create i.e a ImageBuffer or sth. with the different format.. which i can write directly to framebuffer.


You draw into Raster (or ImageBuffer?) with Painter, then with final Raster you can use RasterEncoder and RasterFormat classes to produce final format for output.

It will very likely in most cases require to write the final classes for desired format, but almost everything is ready, you just need to glue it together and init it correctly. See how RasterEncoder base is used trough upp (in various image formats plugins), or you may use RasterFormat only to convert RGBA line by line during blit, it's very simple for 15/16b modes. For palette modes you will have to do some more setup around conversion palette unless you want it dynamically created by upp.
 
Read Message
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Building 32 bit apps on Ubuntu64
Next Topic: Can anyone plan to bring ultimate++ Widget toolkit to GTK-compatible, GTK# and qt-compatible?
Goto Forum:
  


Current Time: Fri May 10 13:23:56 CEST 2024

Total time taken to generate the page: 0.02837 seconds