cvInitFont (&dfont, CV_FONT_HERSHEY_SIMPLEX , hscale, vscale, italicscale, thickness, CV_AA);cvInitFont(&font,CV_FONT_HERSHEY_SIMPLEX|CV_FONT_ITALIC, hScale,vScale,0,lineWidth); |
|
CvFont* font from eBook means pointer of the name?italicscale from Program is different with shear = 0 from eBook For the way they wrote? Or they are actually same?CV_AA? Or can I just put line_type = 8 instead of CV_AA?CV_AA but put only until lineWidth?cvPutText(img2, text, cvPoint(p1.x, p2.y + 15),&dfont,CV_RGB(100,100,100));cvPutText (img,"My comment",cvPoint(200,400), &font, cvScalar(255,255,0));cvPoint(p1.x, p2.y + 15) same as cvPoint(200,400) for the way there wrote?CV_RGB and cvScalar are the same?cvRectangle( img2, p1, p2, CV_RGB( 100, 100, 100 ), 1, 8, 0 );cvPoint(100,100) is inside the code from Internet but why the code from Program use p1, p2, and so on?| 1. Is this CvFont* font from eBook means pointer of the name? 2. Why is this italicscale from Program is different with shear = 0 from eBook For the way they wrote? Or they are actually same? 3. What is this means CV_AA? Or can I just put line_type = 8 instead of CV_AA? 4. Why the code from internet don't put CV_AA but put only until lineWidth? |