Hi Edward (EDK)
You are not only wise, you are a multilanguage man.
About my previous post, some time ago i found this HARU code associated with text inside a circle.-
I suppose it's oriented to C, and my knowledge on that language is too poor.
I try to implement it, but lots of error become like a rain.-
I copy behind part of the code, and perhaps this give's you a better idea.-
With regards, as allways.
Eduardo
/* text along a circle */
HPDF_Page_SetGrayStroke (page, 0);
HPDF_Page_Circle (page, 210, 190, 145);
HPDF_Page_Circle (page, 210, 190, 113);
HPDF_Page_Stroke (page);
angle1 = 360 / (strlen (SAMP_TXT));
angle2 = 180;
HPDF_Page_BeginText (page);
font = HPDF_GetFont (pdf, "Courier-Bold", NULL);
HPDF_Page_SetFontAndSize (page, font, 30);
for (i = 0; i < strlen (SAMP_TXT); i++) {
char buf[2];
float x;
float y;
rad1 = (angle2 - 90) / 180 * 3.141592;
rad2 = angle2 / 180 * 3.141592;
x = 210 + cos(rad2) * 122;
y = 190 + sin(rad2) * 122;
HPDF_Page_SetTextMatrix(page, cos(rad1), sin(rad1), -sin(rad1), cos(rad1), x, y);
buf[0] = SAMP_TXT
;
buf[1] = 0;
HPDF_Page_ShowText (page, buf);
angle2 -= angle1;
}
HPDF_Page_EndText (page);
/* save the document to a file */
HPDF_SaveToFile (pdf, fname);