IplImage *Image=cvLoadImage("ABC.jpg"); CvFont Font1; cvInitFont(&Font1,CV_FONT_HERSHEY_COMPLEX,1,1,0.0f,2); <!-- when i set shear argument to 0.0f , i did not get any effect --> CvFont Font2; cvInitFont(&Font2,CV_FONT_HERSHEY_COMPLEX,1,1,1.0f,2); <!-- also whean shear arrgument equal 1.0f , i did not get any effect --> cvPutText(Image,"Hello World",cvPoint(50,50),&Font1,cvScalar(255)); cvPutText(Image,"Hello World",cvPoint(200,50),&Font2,cvScalar(255)); cvNamedWindow("0",0); cvShowImage("0",Image); cvWaitKey(0);
cvInitFont(&Font1,CV_FONT_HERSHEY_COMPLEX,1,1,0.314159282f,2);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)