Author: greatlrd
Date: Fri Nov 10 21:10:05 2006
New Revision: 24716
URL: http://svn.reactos.org/svn/reactos?rev=24716&view=rev
Log:
Renamed remotely
Frik85 suggest it should use the official name, I did use word flow_digram for not all do known what UML flow digram.
Added:
trunk/documentation/UML flowchart/
- copied from r24715, trunk/documentation/flow_digram/
Removed:
trunk/documentation/flow_digram/
Author: greatlrd
Date: Fri Nov 10 20:58:47 2006
New Revision: 24715
URL: http://svn.reactos.org/svn/reactos?rev=24715&view=rev
Log:
flow digram / chart for D3DParseUnknownCommand, format it store in follow format dia, (GPL UML edior http://www.gnome.org/projects/dia/), eps (vector graphic), gif (pixel graphic)
Added:
trunk/documentation/flow_digram/
trunk/documentation/flow_digram/ddraw/
trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.dia (with props)
trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.eps
trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.gif (with props)
Added: trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.dia
URL: http://svn.reactos.org/svn/reactos/trunk/documentation/flow_digram/ddraw/D3…
==============================================================================
Binary file - no diff available.
Propchange: trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.dia
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.eps
URL: http://svn.reactos.org/svn/reactos/trunk/documentation/flow_digram/ddraw/D3…
==============================================================================
--- trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.eps (added)
+++ trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.eps Fri Nov 10 20:58:47 2006
@@ -1,0 +1,881 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%Title: C:\Documents and Settings\Administrator.AMD64\Desktop\dia\D3DParseUnknownCommand.dia
+%%Creator: Dia v0.95-1
+%%CreationDate: Sat Oct 28 12:04:18 2006
+%%For: Administrator
+%%Orientation: Portrait
+%%Magnification: 1.0000
+%%BoundingBox: 0 0 2022 1883
+%%BeginSetup
+%%EndSetup
+%%EndComments
+%%BeginProlog
+[ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
+/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
+/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
+/.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright
+/parenleft /parenright /asterisk /plus /comma /hyphen /period /slash /zero /one
+/two /three /four /five /six /seven /eight /nine /colon /semicolon
+/less /equal /greater /question /at /A /B /C /D /E
+/F /G /H /I /J /K /L /M /N /O
+/P /Q /R /S /T /U /V /W /X /Y
+/Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c
+/d /e /f /g /h /i /j /k /l /m
+/n /o /p /q /r /s /t /u /v /w
+/x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef
+/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
+/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
+/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
+/space /exclamdown /cent /sterling /currency /yen /brokenbar /section /dieresis /copyright
+/ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree /plusminus /twosuperior /threesuperior
+/acute /mu /paragraph /periodcentered /cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf
+/threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
+/Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde
+/Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex
+/Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring
+/ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis
+/eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave
+/uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] /isolatin1encoding exch def
+/cp {closepath} bind def
+/c {curveto} bind def
+/f {fill} bind def
+/a {arc} bind def
+/ef {eofill} bind def
+/ex {exch} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth pop} bind def
+/tr {translate} bind def
+
+/ellipsedict 8 dict def
+ellipsedict /mtrx matrix put
+/ellipse
+{ ellipsedict begin
+ /endangle exch def
+ /startangle exch def
+ /yrad exch def
+ /xrad exch def
+ /y exch def
+ /x exch def /savematrix mtrx currentmatrix def
+ x y tr xrad yrad sc
+ 0 0 1 startangle endangle arc
+ savematrix setmatrix
+ end
+} def
+
+/mergeprocs {
+dup length
+3 -1 roll
+dup
+length
+dup
+5 1 roll
+3 -1 roll
+add
+array cvx
+dup
+3 -1 roll
+0 exch
+putinterval
+dup
+4 2 roll
+putinterval
+} bind def
+/Times-Roman-latin1
+ /Times-Roman findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Times-Italic-latin1
+ /Times-Italic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Times-Bold-latin1
+ /Times-Bold findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Times-BoldItalic-latin1
+ /Times-BoldItalic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/AvantGarde-Book-latin1
+ /AvantGarde-Book findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/AvantGarde-BookOblique-latin1
+ /AvantGarde-BookOblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/AvantGarde-Demi-latin1
+ /AvantGarde-Demi findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/AvantGarde-DemiOblique-latin1
+ /AvantGarde-DemiOblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Bookman-Light-latin1
+ /Bookman-Light findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Bookman-LightItalic-latin1
+ /Bookman-LightItalic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Bookman-Demi-latin1
+ /Bookman-Demi findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Bookman-DemiItalic-latin1
+ /Bookman-DemiItalic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Courier-latin1
+ /Courier findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Courier-Oblique-latin1
+ /Courier-Oblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Courier-Bold-latin1
+ /Courier-Bold findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Courier-BoldOblique-latin1
+ /Courier-BoldOblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-latin1
+ /Helvetica findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-Oblique-latin1
+ /Helvetica-Oblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-Bold-latin1
+ /Helvetica-Bold findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-BoldOblique-latin1
+ /Helvetica-BoldOblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-Narrow-latin1
+ /Helvetica-Narrow findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-Narrow-Oblique-latin1
+ /Helvetica-Narrow-Oblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-Narrow-Bold-latin1
+ /Helvetica-Narrow-Bold findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Helvetica-Narrow-BoldOblique-latin1
+ /Helvetica-Narrow-BoldOblique findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/NewCenturySchoolbook-Roman-latin1
+ /NewCenturySchoolbook-Roman findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/NewCenturySchoolbook-Italic-latin1
+ /NewCenturySchoolbook-Italic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/NewCenturySchoolbook-Bold-latin1
+ /NewCenturySchoolbook-Bold findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/NewCenturySchoolbook-BoldItalic-latin1
+ /NewCenturySchoolbook-BoldItalic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Palatino-Roman-latin1
+ /Palatino-Roman findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Palatino-Italic-latin1
+ /Palatino-Italic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Palatino-Bold-latin1
+ /Palatino-Bold findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Palatino-BoldItalic-latin1
+ /Palatino-BoldItalic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/Symbol-latin1
+ /Symbol findfont
+definefont pop
+/ZapfChancery-MediumItalic-latin1
+ /ZapfChancery-MediumItalic findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+/ZapfDingbats-latin1
+ /ZapfDingbats findfont
+ dup length dict begin
+ {1 index /FID ne {def} {pop pop} ifelse} forall
+ /Encoding isolatin1encoding def
+ currentdict end
+definefont pop
+28.346000 -28.346000 scale
+4.130187 -69.862438 translate
+%%EndProlog
+
+
+1.000000 1.000000 1.000000 srgb
+n 2.359742 7.700000 m 15.142094 7.700000 l 14.159375 10.400000 l 1.377022 10.400000 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 2.359742 7.700000 m 15.142094 7.700000 l 14.159375 10.400000 l 1.377022 10.400000 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(frist param is name lpCmd) dup sw 2 div 8.259558 ex sub 9.350000 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n 7.810660 12.875000 m 12.971320 15.455330 l 7.810660 18.035660 l 2.650000 15.455330 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 7.810660 12.875000 m 12.971320 15.455330 l 7.810660 18.035660 l 2.650000 15.455330 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpCmd NULL ?) dup sw 2 div 7.810660 ex sub 15.755330 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n 2.700000 3.500000 m 2.700000 5.400000 l 13.700000 5.400000 l 13.700000 3.500000 l f
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 2.700000 3.500000 m 2.700000 5.400000 l 13.700000 5.400000 l 13.700000 3.500000 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(D3DParseUnknownCommand) dup sw 2 div 8.200000 ex sub 4.750000 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 8.300000 5.550000 m 8.281361 7.163144 l s
+[] 0 sd
+0 slj
+0 slc
+n 8.277028 7.538119 m 8.032821 7.035263 l 8.281361 7.163144 l 8.532788 7.041040 l ef
+n 8.277028 7.538119 m 8.032821 7.035263 l 8.281361 7.163144 l 8.532788 7.041040 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 7.768199 10.400000 m 7.802310 12.388268 l s
+[] 0 sd
+0 slj
+0 slc
+n 7.808742 12.763213 m 7.550202 12.267575 l 7.802310 12.388268 l 8.050129 12.258998 l ef
+n 7.808742 12.763213 m 7.550202 12.267575 l 7.802310 12.388268 l 8.050129 12.258998 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+0 slj
+0 slc
+0 slj
+[] 0 sd
+1.000000 1.000000 1.000000 srgb
+n 19.366421 14.487868 m 28.623528 14.487868 l 30.474949 15.487868 l 28.623528 16.487868 l 19.366421 16.487868 l 17.515000 15.487868 l 19.366421 14.487868 l ef
+0.000000 0.000000 0.000000 srgb
+n 19.366421 14.487868 m 28.623528 14.487868 l 30.474949 15.487868 l 28.623528 16.487868 l 19.366421 16.487868 l 17.515000 15.487868 l 19.366421 14.487868 l s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Set return value to E_FAIL) dup sw 2 div 23.994975 ex sub 15.787868 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(Yes) 15.268160 15.480334 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 13.021320 15.472801 m 17.028199 15.486236 l s
+[] 0 sd
+0 slj
+0 slc
+n 17.403197 15.487493 m 16.902362 15.735815 l 17.028199 15.486236 l 16.904038 15.235818 l ef
+n 17.403197 15.487493 m 16.902362 15.735815 l 17.028199 15.486236 l 16.904038 15.235818 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+0 slj
+0 slc
+0 slj
+[] 0 sd
+1.000000 1.000000 1.000000 srgb
+n 49.703763 10.919156 m 59.510869 10.919156 l 60.864949 10.919156 61.962646 11.458005 61.962646 12.122709 c 61.962646 12.787414 60.864949 13.326263 59.510869 13.326263 c 49.703763 13.326263 l 48.349683 13.326263 47.251986 12.787414 47.251986 12.122709 c 47.251986 11.458005 48.349683 10.919156 49.703763 10.919156 c ef
+0.000000 0.000000 0.000000 srgb
+n 49.703763 10.919156 m 59.510869 10.919156 l 60.864949 10.919156 61.962646 11.458005 61.962646 12.122709 c 61.962646 12.787414 60.864949 13.326263 59.510869 13.326263 c 49.703763 13.326263 l 48.349683 13.326263 47.251986 12.787414 47.251986 12.122709 c 47.251986 11.458005 48.349683 10.919156 49.703763 10.919156 c s
+/Helvetica-latin1 ff 0.560000 scf sf
+(return the value) dup sw 2 div 54.607316 ex sub 12.022709 m gs 1 -1 sc sh gr
+(End ) dup sw 2 div 54.607316 ex sub 12.822709 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 30.474949 15.487868 m 46.774689 12.218446 l s
+[] 0 sd
+0 slj
+0 slc
+n 47.142366 12.144697 m 46.701296 12.488147 l 46.774689 12.218446 l 46.602964 11.997911 l ef
+n 47.142366 12.144697 m 46.701296 12.488147 l 46.774689 12.218446 l 46.602964 11.997911 l cp s
+1.000000 1.000000 1.000000 srgb
+n 1.959742 21.175000 m 14.742094 21.175000 l 13.759375 23.875000 l 0.977022 23.875000 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 1.959742 21.175000 m 14.742094 21.175000 l 13.759375 23.875000 l 0.977022 23.875000 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Second param is name lpRetCmd) dup sw 2 div 7.859558 ex sub 22.425000 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n 7.305660 28.347500 m 12.641320 31.015330 l 7.305660 33.683160 l 1.970000 31.015330 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 7.305660 28.347500 m 12.641320 31.015330 l 7.305660 33.683160 l 1.970000 31.015330 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpRetCmd NULL ?) dup sw 2 div 7.305660 ex sub 31.315330 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 12.641320 31.015330 m 19.161918 16.929633 l s
+[] 0 sd
+0 slj
+0 slc
+n 19.319453 16.589327 m 19.336277 17.148091 l 19.161918 16.929633 l 18.882536 16.938044 l ef
+n 19.319453 16.589327 m 19.336277 17.148091 l 19.161918 16.929633 l 18.882536 16.938044 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 7.810660 18.035660 m 7.839011 20.638595 l s
+[] 0 sd
+0 slj
+0 slc
+n 7.843096 21.013573 m 7.587665 20.516325 l 7.839011 20.638595 l 8.087635 20.510879 l ef
+n 7.843096 21.013573 m 7.587665 20.516325 l 7.839011 20.638595 l 8.087635 20.510879 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Yes) 16.003871 23.751599 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 7.368199 23.875000 m 7.333624 27.822594 l s
+[] 0 sd
+0 slj
+0 slc
+n 7.330339 28.197579 m 7.084728 27.695409 l 7.333624 27.822594 l 7.584709 27.699788 l ef
+n 7.330339 28.197579 m 7.084728 27.695409 l 7.333624 27.822594 l 7.584709 27.699788 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 7.348779 26.092189 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 7.827487 19.580515 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n -2.125216 36.380308 m -2.125216 38.280308 l 16.674784 38.280308 l 16.674784 36.380308 l f
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n -2.125216 36.380308 m -2.125216 38.280308 l 16.674784 38.280308 l 16.674784 36.380308 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Copy lpCmd memory pointer into lpRetCmd as a value) dup sw 2 div 7.274784 ex sub 37.630308 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 7.305660 33.683160 m 7.280356 35.893537 l s
+[] 0 sd
+0 slj
+0 slc
+n 7.276064 36.268512 m 7.031804 35.765683 l 7.280356 35.893537 l 7.531771 35.771407 l ef
+n 7.276064 36.268512 m 7.031804 35.765683 l 7.280356 35.893537 l 7.531771 35.771407 l cp s
+1.000000 1.000000 1.000000 srgb
+n -3.871894 40.545670 m -3.871894 42.445670 l 18.428106 42.445670 l 18.428106 40.545670 l f
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n -3.871894 40.545670 m -3.871894 42.445670 l 18.428106 42.445670 l 18.428106 40.545670 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Copy lpCmd memory pointer to LPD3HAL_DP2COMMAND struct) dup sw 2 div 7.278106 ex sub 41.795670 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 7.274784 38.280308 m 7.276571 40.009561 l s
+[] 0 sd
+0 slj
+0 slc
+n 7.276958 40.384561 m 7.026442 39.884820 l 7.276571 40.009561 l 7.526441 39.884303 l ef
+n 7.276958 40.384561 m 7.026442 39.884820 l 7.276571 40.009561 l 7.526441 39.884303 l cp s
+1.000000 1.000000 1.000000 srgb
+n 7.237580 45.465913 m 18.555347 49.196260 l 7.237580 52.926607 l -4.080187 49.196260 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 7.237580 45.465913 m 18.555347 49.196260 l 7.237580 52.926607 l -4.080187 49.196260 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpCmd->Command equal with ) dup sw 2 div 7.237580 ex sub 49.096260 m gs 1 -1 sc sh gr
+(D3DDP2OP_VIEWPORTINFO ?) dup sw 2 div 7.237580 ex sub 49.896260 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 7.278106 42.445670 m 7.244111 44.979153 l s
+[] 0 sd
+0 slj
+0 slc
+n 7.239080 45.354119 m 6.995811 44.850810 l 7.244111 44.979153 l 7.495766 44.857519 l ef
+n 7.239080 45.354119 m 6.995811 44.850810 l 7.244111 44.979153 l 7.495766 44.857519 l cp s
+1.000000 1.000000 1.000000 srgb
+n 33.191829 45.636839 m 44.509596 49.367186 l 33.191829 53.097533 l 21.874062 49.367186 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 33.191829 45.636839 m 44.509596 49.367186 l 33.191829 53.097533 l 21.874062 49.367186 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpCmd->Command equal with ) dup sw 2 div 33.191829 ex sub 49.267186 m gs 1 -1 sc sh gr
+(D3DDP2OP_WINFO ?) dup sw 2 div 33.191829 ex sub 50.067186 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n 52.142291 40.723459 m 64.422391 44.770992 l 52.142291 48.818525 l 39.862191 44.770992 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 52.142291 40.723459 m 64.422391 44.770992 l 52.142291 48.818525 l 39.862191 44.770992 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpCmd->Command equal with ) dup sw 2 div 52.142291 ex sub 44.670992 m gs 1 -1 sc sh gr
+(value 0x0D \(decimal 13\)) dup sw 2 div 52.142291 ex sub 45.470992 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 18.481675 49.270310 m 21.460941 49.289930 l s
+[] 0 sd
+0 slj
+0 slc
+n 21.835933 49.292400 m 21.334297 49.539102 l 21.460941 49.289930 l 21.337590 49.039112 l ef
+n 21.835933 49.292400 m 21.334297 49.539102 l 21.460941 49.289930 l 21.337590 49.039112 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 44.509596 49.367186 m 40.208314 45.113302 l s
+[] 0 sd
+0 slj
+0 slc
+n 39.941684 44.849610 m 40.472986 45.023446 l 40.208314 45.113302 l 40.121396 45.378952 l ef
+n 39.941684 44.849610 m 40.472986 45.023446 l 40.208314 45.113302 l 40.121396 45.378952 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 20.214704 49.281723 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 42.185893 47.069089 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n 38.275927 19.240468 m 50.194615 23.168880 l 38.275927 27.097291 l 26.357238 23.168880 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 38.275927 19.240468 m 50.194615 23.168880 l 38.275927 27.097291 l 26.357238 23.168880 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpCmd->Command) dup sw 2 div 38.275927 ex sub 22.668880 m gs 1 -1 sc sh gr
+( less that or equal to ) dup sw 2 div 38.275927 ex sub 23.468880 m gs 1 -1 sc sh gr
+(D3DDP2OP_INDEXEDTRIANGLELIST ?) dup sw 2 div 38.275927 ex sub 24.268880 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 26.357238 23.168880 m 26.312748 16.974659 l s
+[] 0 sd
+0 slj
+0 slc
+n 26.310054 16.599668 m 26.563639 17.097860 l 26.312748 16.974659 l 26.063652 17.101451 l ef
+n 26.310054 16.599668 m 26.563639 17.097860 l 26.312748 16.974659 l 26.063652 17.101451 l cp s
+1.000000 1.000000 1.000000 srgb
+n 36.115702 27.449662 m 48.209390 31.435753 l 36.115702 35.421845 l 24.022013 31.435753 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 36.115702 27.449662 m 48.209390 31.435753 l 36.115702 35.421845 l 24.022013 31.435753 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpCmd->Command ) dup sw 2 div 36.115702 ex sub 30.935753 m gs 1 -1 sc sh gr
+(equal to ) dup sw 2 div 36.115702 ex sub 31.735753 m gs 1 -1 sc sh gr
+(D3DDP2OP_RENDERSTATE ?) dup sw 2 div 36.115702 ex sub 32.535753 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 24.022013 31.435753 m 23.995855 16.974671 l s
+[] 0 sd
+0 slj
+0 slc
+n 23.995177 16.599671 m 24.246081 17.099218 l 23.995855 16.974671 l 23.746082 17.100123 l ef
+n 23.995177 16.599671 m 24.246081 17.099218 l 23.995855 16.974671 l 23.746082 17.100123 l cp s
+1.000000 1.000000 1.000000 srgb
+n 33.791880 35.639070 m 45.885568 39.625161 l 33.791880 43.611253 l 21.698191 39.625161 l ef
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 33.791880 35.639070 m 45.885568 39.625161 l 33.791880 43.611253 l 21.698191 39.625161 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(is lpCmd->Command ) dup sw 2 div 33.791880 ex sub 39.125161 m gs 1 -1 sc sh gr
+(greater that or equal to ) dup sw 2 div 33.791880 ex sub 39.925161 m gs 1 -1 sc sh gr
+(D3DDP2OP_LINELIST ?) dup sw 2 div 33.791880 ex sub 40.725161 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 21.698191 39.625161 m 21.681066 16.974671 l s
+[] 0 sd
+0 slj
+0 slc
+n 21.680783 16.599671 m 21.931161 17.099482 l 21.681066 16.974671 l 21.431161 17.099860 l ef
+n 21.680783 16.599671 m 21.931161 17.099482 l 21.681066 16.974671 l 21.431161 17.099860 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Yes) 26.333245 19.828374 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(Yes) 24.008494 23.961811 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(Yes) 21.689445 28.056515 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 52.142291 40.723459 m 34.272765 43.535577 l s
+[] 0 sd
+0 slj
+0 slc
+n 33.902324 43.593873 m 34.357381 43.269184 l 34.272765 43.535577 l 34.435109 43.763105 l ef
+n 33.902324 43.593873 m 34.357381 43.269184 l 34.272765 43.535577 l 34.435109 43.763105 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 42.967085 42.167356 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 45.885568 39.625161 m 48.076502 31.904067 l s
+[] 0 sd
+0 slj
+0 slc
+n 48.178870 31.543310 m 48.282884 32.092565 l 48.076502 31.904067 l 47.801874 31.956074 l ef
+n 48.178870 31.543310 m 48.282884 32.092565 l 48.076502 31.904067 l 47.801874 31.956074 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 47.047479 35.530457 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 47.690292 26.804055 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 45.185968 30.439230 m 49.918442 23.569761 l s
+[] 0 sd
+0 slj
+0 slc
+n 50.131187 23.260950 m 50.053402 23.814528 l 49.918442 23.569761 l 49.641653 23.530869 l ef
+n 50.131187 23.260950 m 50.053402 23.814528 l 49.918442 23.569761 l 49.641653 23.530869 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+0 slj
+0 slc
+0 slj
+[] 0 sd
+1.000000 1.000000 1.000000 srgb
+n 36.112518 15.247618 m 54.719625 15.247618 l 58.441047 16.451171 l 54.719625 17.654724 l 36.112518 17.654724 l 32.391097 16.451171 l 36.112518 15.247618 l ef
+0.000000 0.000000 0.000000 srgb
+n 36.112518 15.247618 m 54.719625 15.247618 l 58.441047 16.451171 l 54.719625 17.654724 l 36.112518 17.654724 l 32.391097 16.451171 l 36.112518 15.247618 l s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Set return value to ) dup sw 2 div 45.416072 ex sub 16.351171 m gs 1 -1 sc sh gr
+(D3DERR_COMMAND_UNPARSED) dup sw 2 div 45.416072 ex sub 17.151171 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 44.235271 21.204674 m 45.262426 18.116645 l s
+[] 0 sd
+0 slj
+0 slc
+n 45.380784 17.760813 m 45.460194 18.314161 l 45.262426 18.116645 l 44.985752 18.156350 l ef
+n 45.380784 17.760813 m 45.460194 18.314161 l 45.262426 18.116645 l 44.985752 18.156350 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 50.067848 15.247618 m 54.159015 13.516009 l s
+[] 0 sd
+0 slj
+0 slc
+n 54.504355 13.369841 m 54.141346 13.794958 l 54.159015 13.516009 l 53.946456 13.334504 l ef
+n 54.504355 13.369841 m 54.141346 13.794958 l 54.159015 13.516009 l 53.946456 13.334504 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 44.825671 19.429699 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n -3.181038 56.240151 m -3.181038 58.940151 l 17.790123 58.940151 l 17.790123 56.240151 l f
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n -3.181038 56.240151 m -3.181038 58.940151 l 17.790123 58.940151 l 17.790123 56.240151 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(lpRetCmd = lpCmd + sizeof D3DHAL_COMMAND + ) dup sw 2 div 7.304543 ex sub 57.490151 m gs 1 -1 sc sh gr
+(\( lpCmd->wState * sizeof D3DHAL_DP2VIEWPORTINFO\) ) dup sw 2 div 7.304543 ex sub 58.290151 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n 22.712089 55.933044 m 22.712089 58.633044 l 43.683250 58.633044 l 43.683250 55.933044 l f
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 22.712089 55.933044 m 22.712089 58.633044 l 43.683250 58.633044 l 43.683250 55.933044 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(lpRetCmd = lpCmd + sizeof D3DHAL_COMMAND + ) dup sw 2 div 33.197669 ex sub 57.183044 m gs 1 -1 sc sh gr
+(\( lpCmd->wState * sizeof D3DHAL_DP2WINFO\) ) dup sw 2 div 33.197669 ex sub 57.983044 m gs 1 -1 sc sh gr
+1.000000 1.000000 1.000000 srgb
+n 41.662551 51.690404 m 41.662551 54.390404 l 62.633712 54.390404 l 62.633712 51.690404 l f
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0.000000 0.000000 0.000000 srgb
+n 41.662551 51.690404 m 41.662551 54.390404 l 62.633712 54.390404 l 62.633712 51.690404 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(lpRetCmd = lpCmd + sizeof D3DHAL_COMMAND + ) dup sw 2 div 52.148131 ex sub 52.940404 m gs 1 -1 sc sh gr
+(\( lpCmd->wState * lpCmd>bReserved\) ) dup sw 2 div 52.148131 ex sub 53.740404 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+0 slj
+0 slc
+0 slj
+[] 0 sd
+1.000000 1.000000 1.000000 srgb
+n 28.453519 67.812438 m 37.960626 67.812438 l 39.862048 68.812438 l 37.960626 69.812438 l 28.453519 69.812438 l 26.552098 68.812438 l 28.453519 67.812438 l ef
+0.000000 0.000000 0.000000 srgb
+n 28.453519 67.812438 m 37.960626 67.812438 l 39.862048 68.812438 l 37.960626 69.812438 l 28.453519 69.812438 l 26.552098 68.812438 l 28.453519 67.812438 l s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Set return value to DD_OK) dup sw 2 div 33.207073 ex sub 69.112438 m gs 1 -1 sc sh gr
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slj
+0 slc
+n 39.862048 68.812438 m 80.357765 60.342106 64.447863 21.915018 62.082397 12.594554 c s
+[] 0 sd
+0 slj
+0 slc
+n 61.990149 12.231077 m 62.355464 12.654214 l 62.082397 12.594554 l 61.870828 12.777211 l ef
+n 61.990149 12.231077 m 62.355464 12.654214 l 62.082397 12.594554 l 61.870828 12.777211 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 46.905341 54.390404 m 38.230587 67.407347 l s
+[] 0 sd
+0 slj
+0 slc
+n 38.022628 67.719402 m 38.091871 67.164690 l 38.230587 67.407347 l 38.507943 67.441969 l ef
+n 38.022628 67.719402 m 38.091871 67.164690 l 38.230587 67.407347 l 38.507943 67.441969 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 33.197669 58.633044 m 33.206574 67.325635 l s
+[] 0 sd
+0 slj
+0 slc
+n 33.206958 67.700635 m 32.956446 67.200891 l 33.206574 67.325635 l 33.456446 67.200379 l ef
+n 33.206958 67.700635 m 32.956446 67.200891 l 33.206574 67.325635 l 33.456446 67.200379 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 12.547333 58.940151 m 26.154216 68.531962 l s
+[] 0 sd
+0 slj
+0 slc
+n 26.460717 68.748022 m 25.908009 68.664276 l 26.154216 68.531962 l 26.196089 68.255607 l ef
+n 26.460717 68.748022 m 25.908009 68.664276 l 26.154216 68.531962 l 26.196089 68.255607 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 7.237580 52.926607 m 7.294707 55.753447 l s
+[] 0 sd
+0 slj
+0 slc
+n 7.302284 56.128370 m 7.042232 55.633524 l 7.294707 55.753447 l 7.542130 55.623421 l ef
+n 7.302284 56.128370 m 7.042232 55.633524 l 7.294707 55.753447 l 7.542130 55.623421 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 33.195190 53.145440 m 33.197236 55.446241 l s
+[] 0 sd
+0 slj
+0 slc
+n 33.197570 55.821241 m 32.947125 55.321464 l 33.197236 55.446241 l 33.447125 55.321019 l ef
+n 33.197570 55.821241 m 32.947125 55.321464 l 33.197236 55.446241 l 33.447125 55.321019 l cp s
+0.100000 slw
+[] 0 sd
+[] 0 sd
+0 slc
+n 52.142291 48.818525 m 52.147141 51.203601 l s
+[] 0 sd
+0 slj
+0 slc
+n 52.147904 51.578600 m 51.896887 51.079110 l 52.147141 51.203601 l 52.396886 51.078093 l ef
+n 52.147904 51.578600 m 51.896887 51.079110 l 52.147141 51.203601 l 52.396886 51.078093 l cp s
+/Helvetica-latin1 ff 0.560000 scf sf
+(Yes) 7.271061 54.583379 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(Yes) 33.196430 54.539242 m gs 1 -1 sc sh gr
+/Helvetica-latin1 ff 0.560000 scf sf
+(No) 7.290222 35.031734 m gs 1 -1 sc sh gr
+showpage
Added: trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.gif
URL: http://svn.reactos.org/svn/reactos/trunk/documentation/flow_digram/ddraw/D3…
==============================================================================
Binary file - no diff available.
Propchange: trunk/documentation/flow_digram/ddraw/D3DParseUnknownCommand.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Author: jimtabor
Date: Fri Nov 10 15:50:34 2006
New Revision: 24713
URL: http://svn.reactos.org/svn/reactos?rev=24713&view=rev
Log:
Sync up PATH_Arc and PATH_Ellipse with Wine.
Modified:
trunk/reactos/subsystems/win32/win32k/include/path.h
trunk/reactos/subsystems/win32/win32k/objects/line.c
trunk/reactos/subsystems/win32/win32k/objects/path.c
Modified: trunk/reactos/subsystems/win32/win32k/include/path.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/path.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/path.h Fri Nov 10 15:50:34 2006
@@ -3,7 +3,7 @@
#define PATH_IsPathOpen(path) ((path).state==PATH_Open)
-BOOL FASTCALL PATH_Arc (PDC dc, INT x1, INT y1, INT x2, INT y2, INT xStart, INT yStart, INT xEnd, INT yEnd);
+BOOL FASTCALL PATH_Arc (PDC dc, INT x1, INT y1, INT x2, INT y2, INT xStart, INT yStart, INT xEnd, INT yEnd, INT lines);
BOOL FASTCALL PATH_AssignGdiPath (GdiPath *pPathDest, const GdiPath *pPathSrc);
VOID FASTCALL PATH_DestroyGdiPath (GdiPath *pPath);
BOOL FASTCALL PATH_Ellipse (PDC dc, INT x1, INT y1, INT x2, INT y2);
Modified: trunk/reactos/subsystems/win32/win32k/objects/line.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/line.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/line.c Fri Nov 10 15:50:34 2006
@@ -299,7 +299,7 @@
if(PATH_IsPathOpen(dc->w.path))
{
return PATH_Arc(dc, LeftRect, TopRect, RightRect, BottomRect,
- XStartArc, YStartArc, XEndArc, YEndArc);
+ XStartArc, YStartArc, XEndArc, YEndArc, GdiTypeArc );
}
// FIXME
Modified: trunk/reactos/subsystems/win32/win32k/objects/path.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/path.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/path.c Fri Nov 10 15:50:34 2006
@@ -720,24 +720,29 @@
{
/* TODO: This should probably be revised to call PATH_AngleArc */
/* (once it exists) */
- return PATH_Arc ( dc, x1, y1, x2, y2, x1, (y1+y2)/2, x1, (y1+y2)/2 );
+ BOOL Ret = PATH_Arc ( dc, x1, y1, x2, y2, x1, (y1+y2)/2, x1, (y1+y2)/2, GdiTypeArc );
+ if (Ret) IntGdiCloseFigure(dc);
+ return Ret;
}
/* PATH_Arc
*
* Should be called when a call to Arc is performed on a DC that has
* an open path. This adds up to five Bezier splines representing the arc
- * to the path. Returns TRUE if successful, else FALSE.
+ * to the path. When 'lines' is 1, we add 1 extra line to get a chord,
+ * and when 'lines' is 2, we add 2 extra lines to get a pie.
+ * Returns TRUE if successful, else FALSE.
*/
BOOL
FASTCALL
PATH_Arc ( PDC dc, INT x1, INT y1, INT x2, INT y2,
- INT xStart, INT yStart, INT xEnd, INT yEnd)
+ INT xStart, INT yStart, INT xEnd, INT yEnd, INT lines)
{
double angleStart, angleEnd, angleStartQuadrant, angleEndQuadrant=0.0;
/* Initialize angleEndQuadrant to silence gcc's warning */
double x, y;
FLOAT_POINT corners[2], pointStart, pointEnd;
+ POINT centre;
BOOL start, end;
INT temp;
BOOL clockwise;
@@ -857,6 +862,19 @@
PATH_DoArcPart ( &dc->w.path, corners, angleStartQuadrant, angleEndQuadrant, start );
start = FALSE;
} while(!end);
+
+ /* chord: close figure. pie: add line and close figure */
+ if(lines==GdiTypeChord) // 1
+ {
+ IntGdiCloseFigure(dc);
+ }
+ else if(lines==GdiTypePie) // 2
+ {
+ centre.x = (corners[0].x+corners[1].x)/2;
+ centre.y = (corners[0].y+corners[1].y)/2;
+ if(!PATH_AddEntry(&dc->w.path, ¢re, PT_LINETO | PT_CLOSEFIGURE))
+ return FALSE;
+ }
return TRUE;
}