Lines Matching defs:gbv

60     GlyphBlitVector *gbv;
74 gbv = (GlyphBlitVector*)malloc(bytesNeeded);
75 if (gbv == NULL) {
78 gbv->numGlyphs = len;
79 gbv->glyphs = (ImageRef*)((unsigned char*)gbv+sizeof(GlyphBlitVector));
83 free(gbv);
100 free(gbv);
109 gbv->glyphs[g].glyphInfo = ginfo;
110 gbv->glyphs[g].pixels = ginfo->image;
111 gbv->glyphs[g].width = ginfo->width;
112 gbv->glyphs[g].rowBytes = ginfo->rowBytes;
113 gbv->glyphs[g].height = ginfo->height;
114 FLOOR_ASSIGN(gbv->glyphs[g].x, px + ginfo->topLeftX);
115 FLOOR_ASSIGN(gbv->glyphs[g].y, py + ginfo->topLeftY);
122 gbv->glyphs[g].glyphInfo = ginfo;
123 gbv->glyphs[g].pixels = ginfo->image;
124 gbv->glyphs[g].width = ginfo->width;
125 gbv->glyphs[g].rowBytes = ginfo->rowBytes;
126 gbv->glyphs[g].height = ginfo->height;
127 FLOOR_ASSIGN(gbv->glyphs[g].x, x + ginfo->topLeftX);
128 FLOOR_ASSIGN(gbv->glyphs[g].y, y + ginfo->topLeftY);
138 return gbv;
141 jint RefineBounds(GlyphBlitVector *gbv, SurfaceDataBounds *bounds) {
145 int num = gbv->numGlyphs;
151 glyphImage = gbv->glyphs[index];
176 GlyphBlitVector *gbv, jint pixel, jint color,
204 if (!RefineBounds(gbv, &rasInfo.bounds)) {
225 gbv->glyphs, gbv->numGlyphs,
241 GlyphBlitVector *gbv, jint pixel, jint color,
271 if (!RefineBounds(gbv, &rasInfo.bounds)) {
293 gbv->glyphs, gbv->numGlyphs,
316 GlyphBlitVector* gbv;
323 if ((gbv = setupBlitVector(env, glyphlist)) == NULL) {
329 drawGlyphList(env, self, sg2d, sData, gbv, pixel, color,
331 free(gbv);
346 GlyphBlitVector* gbv;
353 if ((gbv = setupBlitVector(env, glyphlist)) == NULL) {
358 drawGlyphList(env, self, sg2d, sData, gbv, pixel, color,
360 free(gbv);
375 GlyphBlitVector* gbv;
382 if ((gbv = setupLCDBlitVector(env, glyphlist)) == NULL) {
389 drawGlyphListLCD(env, self, sg2d, sData, gbv, pixel, color,
392 free(gbv);
491 GlyphBlitVector *gbv;
507 gbv = (GlyphBlitVector*)malloc(bytesNeeded);
508 if (gbv == NULL) {
511 gbv->numGlyphs = len;
512 gbv->glyphs = (ImageRef*)((unsigned char*)gbv+sizeof(GlyphBlitVector));
516 free(gbv);
556 free(gbv);
564 gbv->glyphs[g].glyphInfo = ginfo;
565 gbv->glyphs[g].pixels = ginfo->image;
566 gbv->glyphs[g].width = ginfo->width;
567 gbv->glyphs[g].rowBytes = ginfo->rowBytes;
568 gbv->glyphs[g].height = ginfo->height;
600 FLOOR_ASSIGN(gbv->glyphs[g].x, pos);
611 frac = (int)((pos - gbv->glyphs[g].x)*3);
616 gbv->glyphs[g].rowBytesOffset = 0;
625 gbv->glyphs[g].rowBytesOffset = 3-frac;
626 gbv->glyphs[g].x += 1;
629 FLOOR_ASSIGN(gbv->glyphs[g].x, px + ginfo->topLeftX);
630 gbv->glyphs[g].rowBytesOffset = 0;
632 FLOOR_ASSIGN(gbv->glyphs[g].y, py + ginfo->topLeftY);
639 gbv->glyphs[g].glyphInfo = ginfo;
640 gbv->glyphs[g].pixels = ginfo->image;
641 gbv->glyphs[g].width = ginfo->width;
642 gbv->glyphs[g].rowBytes = ginfo->rowBytes;
643 gbv->glyphs[g].height = ginfo->height;
648 FLOOR_ASSIGN(gbv->glyphs[g].x, pos);
649 frac = (int)((pos - gbv->glyphs[g].x)*3);
651 gbv->glyphs[g].rowBytesOffset = 0;
653 gbv->glyphs[g].rowBytesOffset = 3-frac;
654 gbv->glyphs[g].x += 1;
657 FLOOR_ASSIGN(gbv->glyphs[g].x, x + ginfo->topLeftX);
658 gbv->glyphs[g].rowBytesOffset = 0;
660 FLOOR_ASSIGN(gbv->glyphs[g].y, y + ginfo->topLeftY);
669 return gbv;