[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: karbon, kpainter and kword
From:       Tomasz Grobelny <grotk () poczta ! onet ! pl>
Date:       2003-06-18 19:26:08
[Download RAW message or body]

On ¶roda 18 czerwca 2003 11:13, Dirk Schönberger wrote:
> There are a multiplicity of image formats, and I am not qute sure if libart
> understands these special images (bitmaps and greymaps)
There is nothing special in this format (in fact it is the simplest format I 
can think of). It is a class/struct with:
-size and the like
-pointer to two dimentional array of uchars.

> Adding new image formats to libarts is ugly, AFAIK.
>
Hope we won't have to. But wait... KPainter already has functions to paint an 
image (QImage). So we could (if there is no other option) convert 
graymap/bitmap to QImage and just paint it (although without applying 
transformation matrix-it was applied before rendering the glyph).

Tomek
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic