source: trunk/Lucide/SOURCE/plugins/ludoc/lupixbuf.idl @ 47

Last change on this file since 47 was 27, checked in by Eugene Romanenko, 16 years ago

poppler updated to version 0.5.2, also needed changes to be compatible with new poppler

File size: 968 bytes
Line 
1#ifndef lupixbuf_idl
2#define lupixbuf_idl
3
4/*
5 *
6 *  LuPixbuf - pixel buffer class, contains pixel data
7 *             in format suitable for use with GpiDrawBits()
8 *
9 */
10
11#include <somobj.idl>
12
13
14interface LuPixbuf : SOMObject
15{
16    void LuPixbufInit( inout somInitCtrl ctrl, in long w, in long h, in short bpp );
17    long getWidth();
18    long getHeight();
19    short getBpp();
20    long getRowSize();
21    long getDataLen();
22    void *getDataPtr();
23    void putAt( in LuPixbuf p, in long x, in long y );
24
25
26#ifdef __SOMIDL__
27
28    implementation
29    {
30        releaseorder: LuPixbufInit, getWidth, getHeight, getBpp, getRowSize,
31                                      getDataLen, getDataPtr, putAt;
32   
33        long width;
34        long height;
35        short bpp;
36        long dlen;
37        long rowsize;
38        void *data;
39       
40        LuPixbufInit: init;
41        somDestruct: override;
42    };
43   
44#endif // __SOMIDL__
45
46};
47
48#endif // lupixbuf_idl
Note: See TracBrowser for help on using the repository browser.