Remove commented out code for what used to be : static int start_rgb()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
22e6b7b4a3
commit
d2378be968
@ -628,23 +628,6 @@ void Fl_Xlib_Graphics_Driver::draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP
|
||||
}
|
||||
|
||||
|
||||
/*static int start_rgb(int XP, int YP, int WP, int HP, int w, int h, int &cx, int &cy,
|
||||
int &X, int &Y, int &W, int &H)
|
||||
{
|
||||
// account for current clip region (faster on Irix):
|
||||
fl_clip_box(XP,YP,WP,HP,X,Y,W,H);
|
||||
cx += X-XP; cy += Y-YP;
|
||||
// clip the box down to the size of image, quit if empty:
|
||||
if (cx < 0) {W += cx; X -= cx; cx = 0;}
|
||||
if (cx+W > w) W = w-cx;
|
||||
if (W <= 0) return 1;
|
||||
if (cy < 0) {H += cy; Y -= cy; cy = 0;}
|
||||
if (cy+H > h) H = h-cy;
|
||||
if (H <= 0) return 1;
|
||||
return 0;
|
||||
}*/
|
||||
|
||||
|
||||
// Composite an image with alpha on systems that don't have accelerated
|
||||
// alpha compositing...
|
||||
static void alpha_blend(Fl_RGB_Image *img, int X, int Y, int W, int H, int cx, int cy) {
|
||||
|
Loading…
Reference in New Issue
Block a user