-
- assert(pchars != 0);
-
- Unison::Video::TextureSection texture = pchars->get_texture();
- texture.clip_rect.pos.x += (int) glyph.rect.p1.x;
- texture.clip_rect.pos.y += (int) glyph.rect.p1.y;
- texture.clip_rect.size.x += (unsigned int) glyph.rect.get_width();
- texture.clip_rect.size.y += (unsigned int) glyph.rect.get_height();
-
- Unison::Video::RenderOptions options;
- options.alpha = (unsigned char) alpha * 0xff;
- options.h_flip = (drawing_effect == HORIZONTAL_FLIP);
- options.v_flip = (drawing_effect == VERTICAL_FLIP);
-
- Vector transformed = p + glyph.offset;
- Unison::Video::Point dst_pos((int) transformed.x, (int) transformed.y);
-
- dst.blit_section(texture, dst_pos, options);
-
- /*DrawingRequest request;