head 1.3; access; symbols; locks; strict; comment @// @; 1.3 date 2004.05.05.22.18.29; author yimyom; state Exp; branches; next 1.2; 1.2 date 2004.04.11.03.02.58; author yimyom; state Exp; branches; next 1.1; 1.1 date 2004.04.11.02.58.41; author yimyom; state Exp; branches; next ; desc @@ 1.3 log @Update and update. Towards C++ bindings for libpixman @ text @// C++ Bindings for Cairo // Implementation of C++ pixman bindings // // Copyright (C) 2004 David Bellot // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // Author : David Bellot namespace Pixman { box16::box16() box16::~box16() format:: format(tName name){} format:: format(int bpp, int alpha_mask, int red_mask, int green_mask, int blue_mask){} format:: ~format(){} format:: format:: void color_to_pixel(const pixman_color_t *color, pixman_bits_t *pixel){} format:: void pixel_to_color(pixman_bits_t pixel, pixman_color_t *color){} image:: image(format& f, int width, int height){} image:: image(pixman_bits_t *data, format& f, int width, int height, int bpp, int stride){} image:: ~image(){} image:: int set_clip_region(region16& region){} image:: int set_transform(pixman_transform_t *transform){} image:: void set_repeat(int repeat){} image:: void set_filter(filter f){} image:: int get_width(){} image:: int get_height(){} image:: int get_stride(){} image:: int get_depth(){} image:: format get_format(); image:: pixman_bits_t *get_data(){} image:: void fill_rectangle(pixman_operator_t op,const pixman_color_t *color, int x, int y, unsigned int width, unsigned int height){} image:: void fill_rectangles(pixman_operator_t op,const pixman_color_t *color, const pixman_rectangle_t *rects, int nRects){} image:: void composite_trapezoids(pixman_operator_t op, image& src, int xSrc, int ySrc, const pixman_trapezoid_t *traps, int ntrap){} image:: void composite_triangles(pixman_operator_t op , image& src, int xSrc, int ySrc, const pixman_triangle_t *tris, int ntris); image:: void composite_tri_strip(pixman_operator_t op , image& src, int xSrc, int ySrc, const pixman_point_fixed_t *points, int npoints){} image:: void composite_tri_fan(pixman_operator_t op , image& src, int xSrc, int ySrc, const pixman_point_fixed_t *points, int npoints){} image:: void composite(pixman_operator_t op, image& iSrc, image& iMask, int xSrc, int ySrc, int xMask, int yMask, int xDst, int yDst, int width, int height){} region16:: region16(){} region16:: region16(box16& extents){} region16:: ~region16(){} region16:: void translate(int x, int y){} region16:: status copy(region16& dest); // XXX operator = region16:: status intersect(region16& reg1, region16& reg2); //XXX operator & region16:: status union(region16& reg1, region16& reg2); //XXX operator | region16:: status union_rect(region16& src, int x, int y, unsigned int width, unsigned int height); region16:: status substract(region16& regM, region16& regS); //XXX operator - region16:: status inverse(region16& reg1, box16& invRect); //XXX region16:: int num_rects(){} region16:: box16 rects(); //XXX region16:: int contains_point(int x, int y, box16& box){} region16:: int contains_rectangle(box16& prect){} region16:: int not_empty(){} region16:: box16 extents(); //XXX region16:: status append(region16& src); // XXX operator << region16:: status validate(int *pOverlap){} region16:: void reset(box16 &pBox){} region16:: void empty(){} @ 1.2 log @Copyright notes @ text @d21 58 @ 1.1 log @skel for the library @ text @d1 20 @