Lines Matching refs:strike

81     StrikePtr strike, last_strike;
83 strike = font->strikes;
85 while(strike) {
86 if(strike->sizeX == sizeX && strike->sizeY == sizeY)
87 return strike;
88 last_strike = strike;
89 strike = strike->next;
92 strike = malloc(sizeof(StrikeRec));
93 if(strike == NULL)
99 free(strike);
102 *strike = (StrikeRec) {
112 last_strike->next = strike;
114 font->strikes = strike;
116 return strike;
120 makeBitmap(StrikePtr strike, int code,
145 if(strike->bitmaps[i] == NULL) {
146 strike->bitmaps[i] = calloc(FONT_SEGMENT_SIZE, sizeof(BitmapPtr));
148 if(strike->bitmaps[i] == NULL) {
152 if(strike->bitmaps[i][j] != NULL) {
156 return strike->bitmaps[i][j];
247 strike->bitmaps[i][j] = bitmap;
248 strike->numSbits++;
254 makeIndexSubTables(StrikePtr strike, CmapPtr cmap)
278 bitmap0 = strikeBitmapIndex(strike, cmap, index);
284 while((bitmap = strikeBitmapIndex(strike, cmap, index + n)) != NULL) {
293 BitmapPtr b1 = strikeBitmapIndex(strike, cmap, index + n + 1);
294 BitmapPtr b2 = strikeBitmapIndex(strike, cmap, index + n + 2);
295 BitmapPtr b3 = strikeBitmapIndex(strike, cmap, index + n + 3);
296 BitmapPtr b4 = strikeBitmapIndex(strike, cmap, index + n + 4);
335 StrikePtr strike;
339 strike = font->strikes;
340 while(strike) {
341 BitmapPtr bitmap = STRIKE_BITMAP(strike, code);
344 strike = strike->next;
421 strikeBitmapIndex(StrikePtr strike, CmapPtr cmap, int index)
427 return STRIKE_BITMAP(strike, code);
431 strikeMaxWidth(StrikePtr strike)
436 BitmapPtr bitmap = STRIKE_BITMAP(strike, i);
452 StrikePtr strike;
454 strike = font->strikes;
455 while(strike) {
456 BitmapPtr bitmap = STRIKE_BITMAP(strike, code);
460 (((float)bitmap->advanceWidth) / strike->sizeX) *
464 ((float)bitmap->horiBearingX / strike->sizeX) *
469 / strike->sizeY) * TWO_SIXTEENTH;
473 / strike->sizeX) * TWO_SIXTEENTH;
476 (((float)bitmap->horiBearingY) / strike->sizeY) *
480 strike = strike->next;