search for: border_color

Displaying 15 results from an estimated 15 matches for "border_color".

2017 Sep 18
2
pheatmap: incomplete figure
Dear R Community, I tried to generate heatmap for a matrix of 1500 columns by 106 rows using the following R script: > pheatmap(tf.vs.DE.1.removeAllZeroCol, fontsize=3,border_color=NA) and got the graph (as attached Fig 1) Since the column labels appear very crowded, I tried to increase the cellwidth to stretch the graph horizontally. The idea was to show the graph section by section, but with clear/readable column labels (not overlapped labels). So I typed: > pheatmap(tf...
2007 Nov 02
0
5 commits - libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c
...d_color) << 8 | + SWFDEC_COLOR_B (text->background_color)); } static void @@ -546,7 +549,11 @@ swfdec_text_field_movie_get_borderColor (SwfdecAsContext *cx, SWFDEC_AS_CHECK (SWFDEC_TYPE_TEXT_FIELD_MOVIE, &text, ""); - SWFDEC_AS_VALUE_SET_NUMBER (ret, text->border_color & 0xffffff); + + SWFDEC_AS_VALUE_SET_NUMBER (ret, + SWFDEC_COLOR_R (text->border_color) << 16 | + SWFDEC_COLOR_G (text->border_color) << 8 | + SWFDEC_COLOR_B (text->border_color)); } static void commit 625d6ff01fdd5cea2179ad51c6c4331d4741e152 Author: Pek...
2017 Sep 18
0
pheatmap: incomplete figure
> On Sep 18, 2017, at 9:26 AM, Fix Ace via R-help <r-help at r-project.org> wrote: > > Dear R Community, > I tried to generate heatmap for a matrix of 1500 columns by 106 rows using the following R script: >> pheatmap(tf.vs.DE.1.removeAllZeroCol, fontsize=3,border_color=NA) > and got the graph (as attached Fig 1) > > Since the column labels appear very crowded, I tried to increase the cellwidth to stretch the graph horizontally. The idea was to show the graph section by section, but with clear/readable column labels (not overlapped labels). > So I typ...
2007 Oct 23
0
9 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h
..._movie.c index c071666..b56466d 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -611,7 +611,7 @@ swfdec_text_field_movie_render (SwfdecMovie *movie, cairo_t *cr, movie->original_extents.y1); color = swfdec_color_apply_transform (text_movie->border_color, trans); swfdec_color_set_source (cr, color); - cairo_set_line_width (cr, 20.0); // FIXME: Is this correct? + cairo_set_line_width (cr, SWFDEC_DOUBLE_TO_TWIPS (1)); cairo_stroke (cr); } commit c7c15478f857113ff9dcf28a5f976f4583d4ec40 Author: Pekka Lampila <pekka.lampila at i...
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
...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; - gboolean first; - - g_return_if_fail (SWFDEC_IS_TEXT_FIELD (text)); - g_return_if_fail (cr != NU...
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
...e (text->surface); } void diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h index f394747..d7bbb03 100644 --- a/libswfdec/swfdec_text_field_movie.h +++ b/libswfdec/swfdec_text_field_movie.h @@ -63,6 +63,11 @@ struct _SwfdecTextFieldMovie { SwfdecColor border_color; SwfdecColor background_color; + // FIXME: Temporary using image surface, until there is a way to get cairo_t + // outside the rendering functions + cairo_surface_t * surface; + cairo_t * cr; + /* for rendering */ SwfdecParagraph * paragraphs; }; commit 251eb0e0a313a7ebf017e4f1710...
2007 Oct 27
1
libswfdec/swfdec_text_field_movie.c
libswfdec/swfdec_text_field_movie.c | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 27e0f570ff653063b78efc89a604236e7fe03ece Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Sat Oct 27 17:14:06 2007 +0300 Init TextField's native properties when TextField is created from a tag diff --git a/libswfdec/swfdec_text_field_movie.c
2007 Nov 01
0
2 commits - libswfdec/swfdec_text_field_movie.c test/image
...xffffff) + (255 << 24)); cairo_fill (cr); } @@ -604,7 +605,8 @@ swfdec_text_field_movie_render (SwfdecMovie *movie, cairo_t *cr, movie->original_extents.y1 - movie->original_extents.y0 - SWFDEC_DOUBLE_TO_TWIPS (1)); color = swfdec_color_apply_transform (text_movie->border_color, trans); - swfdec_color_set_source (cr, color); + // always use full alpha + swfdec_color_set_source (cr, (color & 0xffffff) + (255 << 24)); cairo_set_line_width (cr, SWFDEC_DOUBLE_TO_TWIPS (1)); cairo_set_operator (cr, CAIRO_OPERATOR_OVER); cairo_set_antialias (cr...
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...t->border = value; - swfdec_movie_invalidate (SWFDEC_MOVIE (text)); + swfdec_movie_invalidate_last (SWFDEC_MOVIE (text)); } } @@ -570,7 +570,7 @@ swfdec_text_field_movie_set_borderColor (SwfdecAsContext *cx, color = swfdec_text_field_movie_int_to_color (cx, value); if (text->border_color != color) { text->border_color = color; - swfdec_movie_invalidate (SWFDEC_MOVIE (text)); + swfdec_movie_invalidate_last (SWFDEC_MOVIE (text)); } } @@ -615,7 +615,7 @@ swfdec_text_field_movie_do_set_hscroll (SwfdecAsContext *cx, if (value != text->hscroll) { text->h...
2007 Nov 01
0
5 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_text_field_movie.c test/image
...BLE_TO_TWIPS (1), + movie->original_extents.y0, movie->original_extents.x1 - + movie->original_extents.x0 - SWFDEC_DOUBLE_TO_TWIPS (1), + movie->original_extents.y1 - movie->original_extents.y0 - + SWFDEC_DOUBLE_TO_TWIPS (1)); color = swfdec_color_apply_transform (text_movie->border_color, trans); swfdec_color_set_source (cr, color); cairo_set_line_width (cr, SWFDEC_DOUBLE_TO_TWIPS (1)); + cairo_set_operator (cr, CAIRO_OPERATOR_OVER); + cairo_set_antialias (cr, CAIRO_ANTIALIAS_NONE); cairo_stroke (cr); } commit cd7ef475d2811b1283cc9a8a2ce0d2a0dd086981 Autho...
2007 Aug 03
4
[ANNOUNCE] compiz-0.5.2
...f only position changes as we'll never change Make it possible to end resize when resize notify is received. Remove unnecessary code. Add outline resize mode. Add rectangle resize mode. Add stretch resize mode. Cleanup. Cleanup. Cleanup. Add border_color and fill_color options. Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/app/compiz Add macros that make it easier to use integer options as Turn the filter option into an integer option. Turn the mode option into an integer option. Merge branch...
2007 Oct 18
0
11 commits - libswfdec/swfdec_as_strings.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_text_field_movie.h test/trace
...44 --- a/libswfdec/swfdec_text_field_movie.h +++ b/libswfdec/swfdec_text_field_movie.h @@ -60,7 +60,9 @@ struct _SwfdecTextFieldMovie { gboolean embed_fonts; SwfdecStyleSheet * style_sheet; + guint scroll; gboolean mouse_wheel_enabled; + const char * restrict_; SwfdecColor border_color; @@ -90,7 +92,7 @@ void swfdec_text_field_movie_set_text_format (SwfdecTextFieldMovie * text, guint start_index, guint end_index); void swfdec_text_field_movie_set_scroll (SwfdecTextFieldMovie * text, - int value); + guint value); const char * swfdec_text...
2007 Oct 01
4
[ANNOUNCE] compiz-0.6.0
...f only position changes as we'll never change Make it possible to end resize when resize notify is received. Remove unnecessary code. Add outline resize mode. Add rectangle resize mode. Add stretch resize mode. Cleanup. Cleanup. Cleanup. Add border_color and fill_color options. Add macros that make it easier to use integer options as Turn the filter option into an integer option. Turn the mode option into an integer option. Turn the texture filter option into an integer option. Add compWatchFdEvents function. Add...
2010 Aug 06
4
nv vpe video decoder
Hello, I have my work on the nv vpe video decoder in a functional state. In case you didn't know this decoder accelerates mpeg2 video at the idct/mc level. I have verified that it works on nv40 hardware. I believe it works on nv30 hardware (and maybe some earlier hardware), but I cannot verify since I have none. I will reply with patches against the kernel, drm, ddx and mesa for
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...02b7b73..a181cb7 100644 --- a/libswfdec/swfdec_text_field_movie.h +++ b/libswfdec/swfdec_text_field_movie.h @@ -60,6 +60,9 @@ struct _SwfdecTextFieldMovie { gboolean embed_fonts; SwfdecStyleSheet * style_sheet; + gboolean mouse_wheel_enabled; + const char * restrict_; + SwfdecColor border_color; SwfdecColor background_color; diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c index 635009c..2930c66 100644 --- a/libswfdec/swfdec_text_field_movie_as.c +++ b/libswfdec/swfdec_text_field_movie_as.c @@ -250,6 +250,43 @@ swfdec_text_field_movie_set_...