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

Last change on this file since 2 was 2, checked in by Eugene Romanenko, 15 years ago

First import

File size: 925 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 );
17    long getWidth();
18    long getHeight();
19    long getRowSize();
20    long getDataLen();
21    void *getDataPtr();
22    void putAt( in LuPixbuf p, in long x, in long y );
23
24
25#ifdef __SOMIDL__
26
27    implementation
28    {
29        releaseorder: LuPixbufInit, getWidth, getHeight, getRowSize,
30                                      getDataLen, getDataPtr, putAt;
31   
32        long width;
33        long height;
34        short bpp;
35        long dlen;
36        long rowsize;
37        void *data;
38       
39        LuPixbufInit: init;
40        somDestruct: override;
41    };
42   
43#endif // __SOMIDL__
44
45};
46
47#endif // lupixbuf_idl
Note: See TracBrowser for help on using the repository browser.