Displaying 20 results from an estimated 31 matches for "lineto".
Did you mean:
lineno
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#623)
...tricky to get right.
> >
> > Thanks. To solve my current problem, I changed the definition of the
> > `cl' operator in the postscript file to:
> >
> > /cl { gsave initclip newpath 3 index 3 index moveto 1 index
> > 4 -1 roll lineto exch 1 index lineto lineto
> > closepath clip grestore newpath } def
> >
> > [i.e. just adding the gsave ... grestore pair]
> >
> > Whether this is the proper solution though is another matter...
>
> PD> It isn't. It gres...
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#625)
...>
> > > Thanks. To solve my current problem, I changed the definition of the
> > > `cl' operator in the postscript file to:
> > >
> > > /cl { gsave initclip newpath 3 index 3 index moveto 1 index
> > > 4 -1 roll lineto exch 1 index lineto lineto
> > > closepath clip grestore newpath } def
> > >
> > > [i.e. just adding the gsave ... grestore pair]
> > >
> > > Whether this is the proper solution though is another matter...
> >
> &g...
2007 Sep 09
1
can't play youtube videos with latest git
...683):
swfdec_action_call_method: no function named lineStyle on object
SwfdecSpriteMovie SWFDEC: ERROR: swfdec_as_interpret.c(683):
swfdec_action_call_method: no function named moveTo on object
SwfdecSpriteMovie SWFDEC: ERROR: swfdec_as_interpret.c(683):
swfdec_action_call_method: no function named lineTo on object
SwfdecSpriteMovie SWFDEC: ERROR: swfdec_as_interpret.c(683):
swfdec_action_call_method: no function named lineStyle on object
SwfdecSpriteMovie SWFDEC: ERROR: swfdec_as_interpret.c(683):
swfdec_action_call_method: no function named lineStyle on object
SwfdecSpriteMovie SWFDEC: ERROR: swfd...
2007 Jun 10
1
variable scope
...rYcurrent < 13) {
borderYcurrent = 13;
}
with (_root.rectangle) {
lineStyle(10, 5592405, 100);
moveTo(borderXstart + (borderXcurrent <= borderXstart) *
CellSize, borderYstart + (borderYcurrent <= borderYstart) * CellSize);
lineTo(borderXcurrent, borderYstart + (borderYcurrent <=
borderYstart) * CellSize);
lineTo(borderXcurrent, borderYcurrent);
lineTo(borderXstart + (borderXcurrent <= borderXstart) *
CellSize, borderYcurrent);
lineTo(borderXstart + (borderXcurrent <= borderXstart...
2000 Nov 16
1
postscript error
...4 595 841 0 ()
%%Title: R Graphics Output
%%Creator: R Software
%%Pages: (atend)
%%Orientation: Landscape
%%BoundingBox: 18 18 577 824
%%EndComments
%%BeginProlog
/gs { gsave } def
/gr { grestore } def
/bp { gs 595.00 0 translate 90 rotate} def
/ep { showpage gr } def
/m { moveto } def
/l { lineto } def
/np { newpath } def
/cp { closepath } def
/f { fill } def
/o { stroke } def
/c { newpath 0 360 arc } def
/r { 3 index 3 index moveto 1 index 4 -1 roll
lineto exch 1 index lineto lineto closepath } def
/p1 { stroke } def
/p2 { bg setrgbcolor fill fg setrgbcolor } def
/p3 { gsave...
2007 Jun 28
0
Branch 'as' - 4 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c test/image
...</fillStyles>
+ <lineStyles/>
+ </StyleList>
+ </styles>
+ <shapes>
+ <Shape>
+ <edges>
+ <ShapeSetup x="0" y="0" fillStyle0="1"/>
+ <LineTo x="1000" y="0"/>
+ <LineTo x="0" y="1000"/>
+ <LineTo x="-1000" y="0"/>
+ <LineTo x="0" y="-1000"/>
+ <ShapeSetup/>
+ </edges&...
2007 Jul 01
1
implementing MovieClip drawing API
Hi,
I would like to implement MovieClip.{moveTo,lineTo,lineStyle}. I
initially thought I could place an SwfdecShape inside an
SwfdecSpriteMovie created by createEmptyMovieClip then call
swfdec_shape_ counterparts when MovieClip.{moveTo,lineTo,lineStyle}
were called. It wasn't as easy as I had thought. All the functions are
highly tied to swf bitstr...
2001 Jul 21
0
traceback on save in Camedia Master
...et=0041482d
08067ca0:Call gdi32.SelectObject(00001148,00002576) ret=0041483b
08067ca0:Ret gdi32.SelectObject() retval=0000ffe7 ret=0041483b
08067ca0:Call gdi32.MoveToEx(00001148,0000000a,0000006b,00000000) ret=00414854
08067ca0:Ret gdi32.MoveToEx() retval=00000001 ret=00414854
08067ca0:Call gdi32.LineTo(00001148,0000000a,0000000a) ret=00414869
08067ca0:Ret gdi32.LineTo() retval=00000001 ret=00414869
08067ca0:Call gdi32.LineTo(00001148,0000006e,0000000a) ret=00414878
08067ca0:Ret gdi32.LineTo() retval=00000001 ret=00414878
08067ca0:Call gdi32.SelectObject(00001148,0000ffe7) ret=00414880
08067ca0:...
2007 Oct 11
0
10 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/swfdec_buffer.c libswfdec/swfdec_movie_as_drawing.c test/image test/sound
...mage/drawing-zorder.as b/test/image/drawing-zorder.as
new file mode 100644
index 0000000..cd32c9e
--- /dev/null
+++ b/test/image/drawing-zorder.as
@@ -0,0 +1,19 @@
+// makeswf -v 7 -s 200x150 -r 1 -o drawing-zorder.swf drawing-zorder.as
+
+beginFill (0xFF);
+lineStyle (10, 0xFF00);
+moveTo (0, 0);
+lineTo (0, 100);
+lineTo (100, 100);
+lineTo (100, 0);
+lineTo (0, 0);
+endFill ();
+beginFill (0xFF0000);
+moveTo (50, 50);
+lineTo (50, 150);
+lineTo (150, 150);
+lineTo (150, 50);
+lineTo (50, 50);
+endFill ();
+
+//loadMovie ("FSCommand:quit", "");
diff-tree 24f7a0aa475f8eb58863d57...
2007 Dec 03
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_gradient_pattern.c libswfdec/swfdec_gradient_pattern.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_pattern.c
...dientFill.swf gradient-beginGradientFill.as
+
+x = 0;
+y = 0;
+
+function do_gradient (type, colors, alphas, ratios) {
+ var matrix = { a:0, b:-80, d:80, e:0, g: x * 100 + 50, h: y * 100 + 50 };
+ beginGradientFill (type, colors, alphas, ratios, matrix);
+ moveTo (x * 100 + 10, y * 100 + 10);
+ lineTo (x * 100 + 10, y * 100 + 90);
+ lineTo (x * 100 + 90, y * 100 + 90);
+ lineTo (x * 100 + 90, y * 100 + 10);
+ lineTo (x * 100 + 10, y * 100 + 10);
+ endFill ();
+ x++;
+ if (x > 3) {
+ x = 0;
+ y++;
+ }
+};
+
+// 1
+foo = function (o, s) {
+ if (!o.x)
+ o.x = 7;
+ else
+ o.x...
2011 Jul 30
1
grImport symbols
...Tree, say. I would like to imitate my.symbols from
TeachingDemos, but with grid.
2- I could not figure out what the size argument in grid.symbols()
does. The following example fails rather curiously.
petal.ps <- "%!PS
newpath % start a new shape
0 0 moveto % move to a start location
-5 10 lineto % line to a new location
-10 20 10 20 5 10 curveto % curve to a third location
5 10 lineto % line to a fourth location
closepath % connect back to the start location
0 setgray % set the drawing colour to black
fill % fill the current shape"
cat(petal.ps, file="petal.ps")
library(grI...
2002 Aug 19
1
PCAD2001 under wine
Dear sirs !
I have the only troube with PCAD under wine - PCB router shows all
traces 2 times thicker than real. (any version of wine in any
configurations)
It is possible to download 30 day trial for experiments.
There are some number of noncritical bugs, but trace width is most
significant.
This feature prevent me from using pcad under wine.
Will anyone solve this problem ?
Will it ever
1999 Mar 03
4
xfig device
Hi, I am VERY interested in getting the xfig driver so that I can edit
graphical output from R. Searching through the mail archives and reading
documentation isn't helping. Is there or isn't there a working driver for
this purpose. How can I get it? I tried looking at the development version
of the tarballs, but I didn't find anything that looked promising in there.
Also, does
2002 Mar 25
2
Extreme value distributions (Long.)
...a4 595 841 0 () ()
%%Title: R Graphics Output
%%Creator: R Software
%%Pages: (atend)
%%Orientation: Portrait
%%BoundingBox: 18 61 577 781
%%EndComments
%%BeginProlog
/bp { gs gs } def
% begin .ps.prolog
/gs { gsave } def
/gr { grestore } def
/ep { showpage gr gr } def
/m { moveto } def
/l { lineto } def
/np { newpath } def
/cp { closepath } def
/f { fill } def
/o { stroke } def
/c { newpath 0 360 arc } def
/r { 3 index 3 index moveto 1 index 4 -1 roll
lineto exch 1 index lineto lineto closepath } def
/p1 { stroke } def
/p2 { gsave bg setrgbcolor fill grestore newpath } def...
2000 Aug 04
2
pattern on bars?
Colors are real nice, but the publication I'm preparing these barplots for
permits only black and white. The Splus plot options ``dbangle'' (or plain
``angle'') and ``density'' (as on p. 65 of MASS 1st ed.) don't seem to be
available in R. Is there another way to do this?
I'm running R 1.1.0 on Linux (intel). Thanks.
2007 Nov 20
0
4 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c test/image test/trace
...e mode 100644
index 0000000..51f35dc
--- /dev/null
+++ b/test/image/mask-different-parent.as
@@ -0,0 +1,30 @@
+// makeswf -v 7 -s 200x150 -r 1 -o mask-different-parent.swf mask-different-parent.as
+
+rectangle = function (mc, color, x, y, w, h)
+{
+ mc.beginFill (color);
+ mc.moveTo (x, y);
+ mc.lineTo (x, y + h);
+ mc.lineTo (x + w, y + h);
+ mc.lineTo (x + w, y);
+ mc.lineTo (x, y);
+ mc.endFill ();
+};
+
+createEmptyMovieClip ("a", 0);
+a.createEmptyMovieClip ("a", 0);
+a.a.createEmptyMovieClip ("a", 0);
+a.a.a.createEmptyMovieClip ("a", 0);
+a._xsca...
2004 May 26
6
Saving Trellis Graphics in R 1.9.0. (PR#6915)
Full_Name: Zdenek Valenta
Version: 1.9.0.
OS: Windows XP
Submission from: (NULL) (147.231.7.250)
I could not copy/save (Trelis) graphics using R version 1.9.0. The graphics
displayed normally, but copying/saving it only produced an empty file.
Everything works o.k. with R rel. 1.8.1.
Best regards,
Zdenek Valenta
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...ction (script), 1 << (10 + i));
+ }
+}
+
+static SWFCharacter
+get_rectangle (int r, int g, int b)
+{
+ SWFShape shape;
+ SWFFillStyle fill;
+
+ shape = newSWFShape ();
+ fill = SWFShape_addSolidFillStyle (shape, r, g, b, 255);
+ SWFShape_setRightFillStyle (shape, fill);
+ SWFShape_drawLineTo (shape, 100, 0);
+ SWFShape_drawLineTo (shape, 100, 100);
+ SWFShape_drawLineTo (shape, 0, 100);
+ SWFShape_drawLineTo (shape, 0, 0);
+
+ return (SWFCharacter) shape;
+}
+
+static void
+do_movie (int version, int menu)
+{
+ char name[100];
+ SWFMovie movie;
+ SWFDisplayItem item;
+ SWFButto...
2007 Jun 03
1
some patches for swfdec
...e going to apply
them because I'm quite new in swfdec development.
BTW, how can I implement createEmptyMovieClip? I have no idea how to
create an SwfdecMovie properly. I also need to add the following. If
you have any idea, please tell me.
gotoAndPlay
_level0 global variable
swapDepths method
lineTo, lineStyle, moveTo
ahh.. those movies created by duplicateClip do not get added as
properties to _root. I saw blocky.swf trying to access movies via
_root.
some less important ones:
System global variable
Sound object
--
Duy
-------------- next part --------------
A non-text attachment was scrub...
2007 Oct 12
0
4 commits - libswfdec/swfdec_shape_parser.c NEWS README test/trace
...255"/>
+ </color>
+ </Solid>
+ </fillStyles>
+ <lineStyles/>
+ </StyleList>
+ </styles>
+ </ShapeSetup>
+ <LineTo x="0" y="0"/>
+ <LineTo x="100" y="100"/>
+ <ShapeSetup/>
+ </edges>
+ </Shape>
+ </shapes>
+ </DefineShape3>
+ <PlaceObject2 objectID="1" depth...