示例#1
0
文件: testApp.cpp 项目: MrMdR/julapy
void testApp :: drawSourceImage ()
{
	ofFill();
	ofSetColor( 0xFFFFFF );
	
	int b = 2;
	ofRect
	(
		-b,
		-b,
		imageColor.width  + b * 2,
		imageColor.height + b * 2
	);
	
	imageColor.draw( 0, 0 );
	
	drawROI();
}
示例#2
0
//--------------------------------------------------------------------------------
void ofxCvImage::drawROI( float x, float y ) const {
    ofRectangle roi = getROI();
    drawROI( x,y, roi.width, roi.height );
}