예제 #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 );
}