www.pudn.com > VirtualVCR-src-v2.6.9.zip > VideoCropPropData.cpp


/* 
	Virtual VCR 
    Copyright (C) 2002  Shaun Faulds 
 
    This program is free software; you can redistribute it and/or modify 
    it under the terms of the GNU General Public License as published by 
    the Free Software Foundation; either version 2 of the License, or 
    (at your option) any later version. 
 
    This program 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 General Public License for more details. 
 
    You should have received a copy of the GNU General Public License 
    along with this program; if not, write to the Free Software 
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
 
	Acknowledgments: 
	This application and associated filters are based on the examples 
	from the Microsoft DirectX DirectShow SDK. 
*/ 
 
#include "VideoCropPropData.h" 
 
 
VideoCropPropData::VideoCropPropData(int le, int ri, int to, int bo, int wid, int hei) 
{ 
	left = le; 
	right = ri; 
	top = to; 
	bottom = bo; 
 
	input_width = wid; 
	input_height = hei; 
} 
 
VideoCropPropData::~VideoCropPropData() 
{ 
 
} 
 
int VideoCropPropData::getTop() 
{ 
	return top; 
} 
int VideoCropPropData::getRight() 
{ 
	return right; 
} 
int VideoCropPropData::getBottom() 
{ 
	return bottom; 
} 
int VideoCropPropData::getLeft() 
{ 
	return left; 
} 
int VideoCropPropData::getInputWidth() 
{ 
	return input_width; 
} 
int VideoCropPropData::getInputHeight() 
{ 
	return input_height; 
}