Lines Matching refs:cp
784 ControlPoint cp; in GetCompoundTTOutline() local
785 cp.flags = nextComponent[i].flags; in GetCompoundTTOutline()
787 cp.x = (sal_Int16)(fixedMul(t, m) >> 16); in GetCompoundTTOutline()
789 cp.y = (sal_Int16)(fixedMul(t, n) >> 16); in GetCompoundTTOutline()
792 … fprintf(stderr, "( %d %d ) -> ( %d %d )\n", nextComponent[i].x, nextComponent[i].y, cp.x, cp.y); in GetCompoundTTOutline()
795 myPoints.push_back( cp ); in GetCompoundTTOutline()
891 int cp = 0; /*- current point */ in BSplineToPSPath() local
899 int l = cp; in BSplineToPSPath()
900 StartContour = cp; in BSplineToPSPath()
904 if (cp + 1 < srcCount) { in BSplineToPSPath()
905 cp++; in BSplineToPSPath()
912 if (!(srcA[cp].flags & 1)) { in BSplineToPSPath()
914 p.x1 = x0 = (srcA[cp].x + srcA[EndContour].x + 1) / 2; in BSplineToPSPath()
915 p.y1 = y0 = (srcA[cp].y + srcA[EndContour].y + 1) / 2; in BSplineToPSPath()
921 p.x1 = x0 = srcA[cp].x; in BSplineToPSPath()
922 p.y1 = y0 = srcA[cp].y; in BSplineToPSPath()
923 cp++; in BSplineToPSPath()
930 curx = srcA[cp].x; in BSplineToPSPath()
931 cury = srcA[cp].y; in BSplineToPSPath()
933 if (srcA[cp].flags & 1) in BSplineToPSPath()
984 cp = EndContour + 1; in BSplineToPSPath()
985 if (cp >= srcCount) break; in BSplineToPSPath()
990 if (cp == EndContour) { in BSplineToPSPath()
991 cp = StartContour; in BSplineToPSPath()
994 cp++; in BSplineToPSPath()
2499 sal_uInt16 *cp; in MapString() local
2505 cp = str; in MapString()
2507 cp = glyphArray; in MapString()
2518 cp[i] = aChar; in MapString()
2531 case CMAP_MS_ShiftJIS: TranslateString12(str, cp, nchars); break; in MapString()
2532 case CMAP_MS_Big5: TranslateString13(str, cp, nchars); break; in MapString()
2533 case CMAP_MS_PRC: TranslateString14(str, cp, nchars); break; in MapString()
2534 case CMAP_MS_Wansung: TranslateString15(str, cp, nchars); break; in MapString()
2535 case CMAP_MS_Johab: TranslateString16(str, cp, nchars); break; in MapString()
2539 cp[i] = (sal_uInt16)ttf->mapper(ttf->cmap, cp[i]); in MapString()
2540 if (cp[i]!=0 && bvertical!=0) in MapString()
2541 cp[i] = (sal_uInt16)UseGSUB(ttf,cp[i],bvertical); in MapString()
2791 ControlPoint *cp; in GetTTRawGlyphData() local
2792 n = GetTTGlyphPoints(ttf, glyphID, &cp); in GetTTRawGlyphData()
2796 if (cp[i].flags & 0x8000) m++; in GetTTRawGlyphData()
2800 free(cp); in GetTTRawGlyphData()