Reference Manual - 1.0.1
DirectFB Interfaces   IDirectFBImageProvider

No summary yet...

Methods of IDirectFBImageProvider

Retrieving information
接收信息

GetSurfaceDescription

Get a surface description that best matches the image contained in the file.

获得与文件中包含的图像最匹配的一个层的描述

GetImageDescription

Get a description of the image.

获得图像的描述

Rendering
绘制

RenderTo

Render the file contents into the destination contents doing automatic scaling and color format conversion.

 把图像文件呈递到目的层,可以自动缩放或进行颜色格式的转换。如果此图像文件带有alpha通道,并且目的层的像素格式是ARGB,那么呈递后的图像文件也带有alpha通道,否则,图像文件的透明部分将会和黑色的背景混合。

SetRenderCallback

Registers a callback for progressive image loading.

注册一个装载图像文件的回调函数,这个函数在每次图像文件解码时都会被调用

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License