search for: swfdec_text_field_render

Displaying 5 results from an estimated 5 matches for "swfdec_text_field_render".

2007 Oct 14
0
10 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...Oct 14 02:26:48 2007 +0300 Don't render lines that are not horizontally inside invalid area diff --git a/libswfdec/swfdec_text_field.c b/libswfdec/swfdec_text_field.c index 6adbe8a..867b30d 100644 --- a/libswfdec/swfdec_text_field.c +++ b/libswfdec/swfdec_text_field.c @@ -254,7 +254,7 @@ swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, GList *layouts, *iter; SwfdecRect limit; SwfdecColor color; - int y, linenum; + int y, x, linenum; g_return_if_fail (SWFDEC_IS_TEXT_FIELD (text)); g_return_if_fail (cr != NULL); @@ -285,8 +285,9 @@ swfdec_text_field_render (SwfdecTextField *te...
2007 Oct 15
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...12:18:19 2007 +0300 TextField: Render first visible line, even if it doesn't fit completely diff --git a/libswfdec/swfdec_text_field.c b/libswfdec/swfdec_text_field.c index e848c90..a594bbd 100644 --- a/libswfdec/swfdec_text_field.c +++ b/libswfdec/swfdec_text_field.c @@ -276,6 +276,7 @@ swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, SwfdecRect limit; SwfdecColor color; int i, y, x, linenum; + gboolean first; g_return_if_fail (SWFDEC_IS_TEXT_FIELD (text)); g_return_if_fail (cr != NULL); @@ -308,6 +309,7 @@ swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, lay...
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
..._margin; - layout.height += block->leading / PANGO_SCALE; - - layouts = g_array_append_val (layouts, layout); - - if (!text->word_wrap) - break; - } - } - - if (num != NULL) - *num = layouts->len; - - return (SwfdecLayout *)g_array_free (layouts, FALSE); -} - -void -swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, - const SwfdecParagraph *paragraphs, SwfdecColor border_color, - SwfdecColor background_color, const SwfdecColorTransform *trans, - const SwfdecRect *inval) -{ - SwfdecLayout *layouts; - SwfdecRect limit; - SwfdecColor color; - int i, y, x, linenum;...
2007 Oct 14
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h
...t 14 12:53:50 2007 +0300 Add support for vertical scrolling to the rendering part of TextField diff --git a/libswfdec/swfdec_text_field.c b/libswfdec/swfdec_text_field.c index 867b30d..b6a97a3 100644 --- a/libswfdec/swfdec_text_field.c +++ b/libswfdec/swfdec_text_field.c @@ -295,19 +295,21 @@ swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, PangoLayoutIter *iter_line; PangoLayoutLine *line; PangoRectangle rect; + int skipped; iter_line = pango_layout_get_iter (layout->layout); + skipped = 0; do { - /*if (++linenum < text->text->scroll) { - cairo_r...
2007 Oct 14
1
libswfdec/swfdec_text_field.c
libswfdec/swfdec_text_field.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) New commits: commit 13a1f11d9aebddc8d2e24c94878547589c485832 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Sun Oct 14 18:22:17 2007 +0300 Implement aligning TextField lines even when wordWrap is off diff --git a/libswfdec/swfdec_text_field.c