Displaying 9 results from an estimated 9 matches for "setrgb".
Did you mean:
getrgb
2011 Aug 03
1
one way to solve bad looking density plots in postscript
...utput.
If in the eps file produced above, you change the line
/p2 { gsave bg fill grestore newpath } def
with
/p2 { bg gsave fill grestore stroke newpath } def
and add
0.0001 setlinewidth
two lines before the next p2 - i.e. before we start plotting the rectangles of the image:
change:
/bg { 1 0 0 setrgb } def
59.04 73.44 41.47 37.15 r p2
to:
0.0001 setlinewidth
/bg { 1 0 0 setrgb } def
59.04 73.44 41.47 37.15 r p2
What this does is plot the outline of each rectangle in addition to filling it.
The page at:
http://pages.uoregon.edu/noeckel/MathematicaGraphics.html#ExportGraphics
Claims that Mathema...
2007 Jun 05
0
[1045] trunk/wxruby2/swig/classes/include/wxImage.h: Add missing Size and Resize methods in Wx::Image
...mage Scale(int width, int height, int quality = wxIMAGE_QUALITY_NORMAL ) const;
</span><span class="lines">@@ -91,7 +92,7 @@
</span><span class="cx"> void SetPalette(const wxPalette& palette ) ;
</span><span class="cx"> void SetRGB(int x , int y , unsigned char red , unsigned char green , unsigned char blue ) ;
</span><span class="cx"> wxImage ShrinkBy( int xFactor , int yFactor ) const ;
</span><del>-
</del><ins>+      &...
2007 May 23
0
Branch 'as' - 7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
...NG ("ga")
+ SWFDEC_AS_CONSTANT_STRING ("gb")
+ SWFDEC_AS_CONSTANT_STRING ("ra")
+ SWFDEC_AS_CONSTANT_STRING ("rb")
+ SWFDEC_AS_CONSTANT_STRING ("getRGB")
+ SWFDEC_AS_CONSTANT_STRING ("getTransform")
+ SWFDEC_AS_CONSTANT_STRING ("setRGB")
+ SWFDEC_AS_CONSTANT_STRING ("setTransform")
+ SWFDEC_AS_CONSTANT_STRING ("Color")
/* add more here */
;
diff --git a/libswfdec/swfdec_color_as.c b/libswfdec/swfdec_color_as.c
new file mode 100644
index 0000000..33ed9ee
--- /dev/null
+++ b/libswfdec/swfdec_color_a...
2007 May 29
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_math.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c
...orgot to commit required string
diff --git a/libswfdec/swfdec_as_strings.c b/libswfdec/swfdec_as_strings.c
index 52b4d01..acafe6b 100644
--- a/libswfdec/swfdec_as_strings.c
+++ b/libswfdec/swfdec_as_strings.c
@@ -163,6 +163,7 @@ const char swfdec_as_strings[] =
SWFDEC_AS_CONSTANT_STRING ("setRGB")
SWFDEC_AS_CONSTANT_STRING ("setTransform")
SWFDEC_AS_CONSTANT_STRING ("Color")
+ SWFDEC_AS_CONSTANT_STRING ("push")
/* add more here */
;
diff-tree b1af12501a718c910eb88c7052cb500058c2269c (from 63f4eba1aa82473a2185f78c37db0ace7b0343e3)
Author: Benj...
2007 Mar 11
0
10 commits - libswfdec/js libswfdec/swfdec_js_color.c libswfdec/swfdec_js_connection.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_js_video.c libswfdec/swfdec_js_xml.c libswfdec/swfdec_script.c player/.gitignore
...- if (string == NULL)
- return JS_FALSE;
-
- *rval = STRING_TO_JSVAL (string);
- return JS_TRUE;
-}
-
static JSFunctionSpec color_methods[] = {
{ "getRGB", swfdec_js_color_get_rgb, 1, 0, 0 },
{ "getTransform", swfdec_js_color_get_transform, 1, 0, 0 },
{ "setRGB", swfdec_js_color_set_rgb, 1, 0, 0 },
{ "setTransform", swfdec_js_color_set_transform, 1, 0, 0 },
- { "toString", swfdec_js_color_to_string, 0, 0, 0 },
{0,0,0,0,0}
};
diff --git a/libswfdec/swfdec_js_connection.c b/libswfdec/swfdec_js_connection.c
index 1568...
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...--git a/test/trace/Makefile.am b/test/trace/Makefile.am
index 443cba2..27f0cac 100644
--- a/test/trace/Makefile.am
+++ b/test/trace/Makefile.am
@@ -16,6 +16,8 @@ EXTRA_DIST = \
children.swf.trace \
color-getters.swf \
color-getters.swf.trace \
+ color-new.swf \
+ color-new.swf.trace \
color-setRGB.swf \
color-setRGB.swf.trace \
color-setTransform-alpha.swf \
diff --git a/test/trace/color-new.swf b/test/trace/color-new.swf
new file mode 100755
index 0000000..e9f9727
Binary files /dev/null and b/test/trace/color-new.swf differ
diff --git a/test/trace/color-new.swf.trace b/test/trace/color-...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...rototype", "setQuality", true],
+ ["_global.Color", "prototype", false],
+ ["_global.Color.prototype", "getRGB", false],
+ ["_global.Color.prototype", "getTransform", false],
+ ["_global.Color.prototype", "setRGB", false],
+ ["_global.Color.prototype", "setTransform", false],
+ ["_global.ContextMenu", "prototype", false],
+ ["_global.ContextMenu.prototype", "copy", true],
+ ["_global.ContextMenu.prototype", "hideBuiltInItems...
2007 Apr 13
0
[954] branches/wxruby2/wxwidgets_282: Additions to Image API 2.6 -> 2.8, remove comment cruft
...p;nbsp     * \param unsigned char
-         * \param unsigned char
-        */
-
</del><span class="cx"> void SetRGB(int x , int y , unsigned char red , unsigned char green , unsigned char blue ) ;
</span><ins>+ wxImage ShrinkBy( int xFactor , int yFactor ) const ;
+
</ins><span class="cx"> };
</span><span class="cx">
</span><span class=&qu...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...--git a/test/trace/Makefile.am b/test/trace/Makefile.am
index 443cba2..27f0cac 100644
--- a/test/trace/Makefile.am
+++ b/test/trace/Makefile.am
@@ -16,6 +16,8 @@ EXTRA_DIST = \
children.swf.trace \
color-getters.swf \
color-getters.swf.trace \
+ color-new.swf \
+ color-new.swf.trace \
color-setRGB.swf \
color-setRGB.swf.trace \
color-setTransform-alpha.swf \
diff --git a/test/trace/color-new.swf b/test/trace/color-new.swf
new file mode 100755
index 0000000..e9f9727
Binary files /dev/null and b/test/trace/color-new.swf differ
diff --git a/test/trace/color-new.swf.trace b/test/trace/color-...