1 #define PERL_NO_GET_CONTEXT
12 DEFINE_IMAGER_CALLBACKS;
14 MODULE = Imager::Font::W32 PACKAGE = Imager::Font::W32
17 i_wf_bbox(face, size, text_sv, utf8=0)
23 int cords[BOUNDING_BOX_COUNT];
28 text = SvPV(text_sv, text_len);
33 if (rc = i_wf_bbox(face, size, text, text_len, cords, utf8)) {
35 for (i = 0; i < rc; ++i)
36 PUSHs(sv_2mortal(newSViv(cords[i])));
40 i_wf_text(face, im, tx, ty, cl, size, text_sv, align, aa, utf8 = 0)
55 text = SvPV(text_sv, text_len);
60 RETVAL = i_wf_text(face, im, tx, ty, cl, size, text, text_len,
66 i_wf_cp(face, im, tx, ty, channel, size, text_sv, align, aa, utf8 = 0)
81 text = SvPV(text_sv, text_len);
86 RETVAL = i_wf_cp(face, im, tx, ty, channel, size, text, text_len,
101 PERL_INITIALIZE_IMAGER_CALLBACKS;