… | |
… | |
731 | |
731 | |
732 | CFClient::Layout |
732 | CFClient::Layout |
733 | new (SV *class, int rgba = 0) |
733 | new (SV *class, int rgba = 0) |
734 | CODE: |
734 | CODE: |
735 | #if _WIN32 |
735 | #if _WIN32 |
736 | rgba = 0;//D |
736 | //rgba = 0;//D make stext nicer, breaks TextView |
737 | #endif |
737 | #endif |
738 | New (0, RETVAL, 1, struct cf_layout); |
738 | New (0, RETVAL, 1, struct cf_layout); |
739 | |
739 | |
740 | RETVAL->pl = pango_layout_new (rgba ? cairo_context : ft2_context); |
740 | RETVAL->pl = pango_layout_new (rgba ? cairo_context : ft2_context); |
741 | RETVAL->rgba = rgba; |
741 | RETVAL->rgba = rgba; |