Displaying 20 results from an estimated 43 matches for "moveto".
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...
2006 Jan 20
2
Effect.moveTo??
I cant seem to find an effect to move an element to a given XY position
new Effect.Move(''elid'',{x:10, y:10});
Will move the element 10px down and 10px to the right, but I want to
move my element to 10px from the top left corner of the page.
I know I could find the current position, and do the math to find out
how far to move it, but is there already a built in function in
2008 Aug 20
1
Problems with PostScript Encoding
.....=0.05) 0 0 0 t
167.68 420.39 (..=0.005) 0 0 0 t
167.68 405.99 (..=0.0005) 0 0 0 t
and here is what I've changed it to:
/ps 12 def /Font1 findfont 12 s
0 setgray
167.64 317.78 (Lower Limit, = 0.05) 0 0 0 t
167.64 303.38 (Upper Limit, = 0.05) 0 0 0 t
/Symbol 12 selectfont 240 303.38 moveto
/alpha glyphshow
240 317.78 moveto
/alpha glyphshow
The problem with this solution is that it is a terrible hack. Can someone
please help me find a better solution to this problem?
Thanks,
Scott
--
View this message in context: http://www.nabble.com/Problems-with-PostScript-Encoding-tp19070...
2000 Nov 16
1
postscript error
...l
%%DocumentMedia: a4 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...
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#623)
...t; > gsave/grestore instead. Sounds a bit 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....
2007 Sep 09
1
can't play youtube videos with latest git
...):
swfdec_action_call_method: no function named beginFill 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 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_...
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#625)
...nstead. Sounds a bit 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 solu...
2005 Aug 15
6
setting position for draggables?
Hi list,
how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it.
Thanks in advance!
Martin
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle
Freunde gleichzeitig schicken:
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
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.
2006 Jun 14
1
Cross Browser Popups
Hi,
Does anybody have a little cross-browser piece of code
to resize a popup ?
Excatly, I don''t know if it is possible ?, I would like to open
a popup on the side of an existing window like if it would be a tabpane.
So reducing window width by the width of the popup, set the popup on
the side of the window. And the best of the best: when the window is
resize, resizing the popup also
2005 Oct 17
1
Passing a draggable element''s attributes to controller on drop
...l need to be extended to allow the persistence of the
draggable object''s position?
I''m just trying to drag divs around the page and have them keep their
position when I drop them (I *think* what I want to do is just pass
the difference between originalLeft and originalTop and the moveTo
values to the controller and just update that record''s coordinate
fields in the database). Is this possible?
dc
2005 Sep 16
1
Drag and Drop effects without dragging and dropping?
Hi there,
This is very much a newbie question. I''ve been playing with the wiki.script.aculo.us
libraries drag & drop functionality (sortable list) for a few days and trying to figure
out how the scripts work, without a lot of luck.
I was wondering how the "move" of the option is achieved (the "flying" option effect, if
you will) and whether I can achieve the
2011 Jul 30
1
grImport symbols
...but rather specified as a regular
grob/gTree, 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...
2007 Feb 28
1
On PostScript
...lewritter ppd is this:
---> snip
%%Page: 1 1
%%PageBoundingBox: 0 0 612 792
%%BeginPageSetup
%
[{
%%BeginFeature: *PageSize Letter
<</PageSize[612 792]/ImagingBBox null>>setpagedevice
%%EndFeature
} stopped cleartomark
%%EndPageSetup
gsave
[0.24 0 0 -0.24 0 792] concat
gsave
237 278 moveto
0 setgray
(Courier-iso1252) cvn findfont 50 -50 matrix scale makefont setfont
<585858582D746F2D6661782D6E756D626572>
[30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0]
xshow
grestore grestore
showpage
%%PageTrailer
%%Trailer
%%BoundingBox: 0 0 612 792
%%Pages: 1
<---
What this tells...
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
2007 Jun 10
1
variable scope
...if (borderYcurrent > CellSize * heightMax + 13) {
borderYcurrent = CellSize * heightMax + 13;
}
if (borderYcurrent < 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(bo...
2002 Mar 25
2
Extreme value distributions (Long.)
...ol
%%DocumentMedia: 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 gr...
2007 Jun 03
1
some patches for swfdec
...em 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 scrubbed...
Name: 0001-W...
2003 May 29
4
Postscript query: plotting long vectors
...eg.dat", row.names=F, col.names=F,
quote=F)
and then in gnuplot:
set term postscript
set output "gnuplot.ps"
plot "eg.dat" wi lines
This came out fine; in gnuplot.ps every 400 lines during the plot it
outputs "currentpoint stroke M" (M is defined to moveto). I had a
look at the gnuplot source (gnuplot-3.7.3/term/post.trm) and found
that it does keep count of the length of the current postscript path:
e.g. in the function PS_vector(x,y) we see (line 1122):
if (ps_path_count >= 400) {
fprintf(gpoutfile,"currentpoint stroke M\n");
ps...