ReactOS 0.4.15-dev-8064-gdaf8068
bsops.h
Go to the documentation of this file.
1/* -*- c-basic-offset: 8 -*-
2 rdesktop: A Remote Desktop Protocol client.
3 Generics backingstore operations
4 Copyright (C) Jay Sorg 2005-2006
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License along
17 with this program; if not, write to the Free Software Foundation, Inc.,
18 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19*/
20
21#pragma once
22
23int bs_get_pixel(int x, int y);
24void bs_set_pixel(int x, int y, int pixel, int rop, int use_clip);
25int bs_do_rop(int rop, int src, int dst);
26void bs_init(int width, int height, int bpp);
27void bs_exit(void);
28void bs_set_clip(int x, int y, int cx, int cy);
29void bs_reset_clip(void);
30void bs_set_pixel_on(char * data, int x, int y, int width, int bpp,
31 int pixel);
32int bs_is_pixel_on(char * data, int x, int y, int width, int bpp);
33void bs_copy_mem(char * d, char * s, int n);
34void bs_copy_memb(char * d, char * s, int n);
35int bs_warp_coords(int * x, int * y, int * cx, int * cy,
36 int * srcx, int * srcy);
37void bs_rect(int x, int y, int cx, int cy, int colour, int rop);
38void bs_screenblt(int opcode, int x, int y, int cx, int cy,
39 int srcx, int srcy);
40void bs_memblt(int opcode, int x, int y, int cx, int cy,
41 void * srcdata, int srcwidth, int srcheight,
42 int srcx, int srcy);
43void bs_copy_box(char * dst, int x, int y, int cx, int cy, int line_size);
44void bs_draw_glyph(int x, int y, char * glyph_data, int glyph_width,
45 int glyph_height, int fgcolour);
46void bs_line(int opcode, int startx, int starty, int endx, int endy,
47 int pen_width, int pen_style, int pen_colour);
48void bs_patblt(int opcode, int x, int y, int cx, int cy,
49 int brush_style, char * brush_pattern,
50 int brush_x_org, int brush_y_org,
51 int bgcolour, int fgcolour);
void bs_copy_box(char *dst, int x, int y, int cx, int cy, int line_size)
Definition: bsops.c:793
void bs_patblt(int opcode, int x, int y, int cx, int cy, int brush_style, char *brush_pattern, int brush_x_org, int brush_y_org, int bgcolour, int fgcolour)
Definition: bsops.c:744
void bs_init(int width, int height, int bpp)
Definition: bsops.c:158
void bs_set_clip(int x, int y, int cx, int cy)
Definition: bsops.c:189
int bs_warp_coords(int *x, int *y, int *cx, int *cy, int *srcx, int *srcy)
Definition: bsops.c:331
int bs_do_rop(int rop, int src, int dst)
Definition: bsops.c:52
int bs_is_pixel_on(char *data, int x, int y, int width, int bpp)
Definition: bsops.c:210
int bs_get_pixel(int x, int y)
Definition: bsops.c:79
void bs_set_pixel(int x, int y, int pixel, int rop, int use_clip)
Definition: bsops.c:108
void bs_set_pixel_on(char *data, int x, int y, int width, int bpp, int pixel)
Definition: bsops.c:246
void bs_memblt(int opcode, int x, int y, int cx, int cy, void *srcdata, int srcwidth, int srcheight, int srcx, int srcy)
Definition: bsops.c:560
void bs_copy_mem(char *d, char *s, int n)
Definition: bsops.c:282
void bs_copy_memb(char *d, char *s, int n)
Definition: bsops.c:305
void bs_draw_glyph(int x, int y, char *glyph_data, int glyph_width, int glyph_height, int fgcolour)
Definition: bsops.c:640
void bs_rect(int x, int y, int cx, int cy, int colour, int rop)
Definition: bsops.c:386
void bs_exit(void)
Definition: bsops.c:179
void bs_line(int opcode, int startx, int starty, int endx, int endy, int pen_width, int pen_style, int pen_colour)
Definition: bsops.c:661
void bs_reset_clip(void)
Definition: bsops.c:199
void bs_screenblt(int opcode, int x, int y, int cx, int cy, int srcx, int srcy)
Definition: bsops.c:469
DWORD bpp
Definition: surface.c:185
unsigned pen_style
Definition: paint.c:490
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLdouble s
Definition: gl.h:2039
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
GLdouble n
Definition: glext.h:7729
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
#define d
Definition: ke_i.h:81
static int rop(int rop, int src, int dst)
Definition: nanoxwin.c:124
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
_Out_opt_ int * cx
Definition: commctrl.h:585