Patch from Tony Colley; I modified the DrawPolyLine function in TGX11.cxx to split polylines with too many points into drawable chunks. This would not handle the case where someone wanted to draw a filled curve with too many points; but I don't need really big filled curves anyway. This change enabled ROOT to successfully handle a TGraph of 10^7 points (not quickly, by any means, but at least it draws the graph and doesn't crash).
Patch from Tony Colley;
I modified the DrawPolyLine function in TGX11.cxx to split polylines with
too many points into drawable chunks. This would not handle the case where
someone wanted to draw a filled curve with too many points; but I don't need
really big filled curves anyway. This change enabled ROOT to successfully
handle a TGraph of 10^7 points (not quickly, by any means, but at least it
draws the graph and doesn't crash).


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@4200 27541ba8-7e3a-0410-8455-c3a389f83636

0x0all/ROOT,mhuwiler/rootauto,omazapa/root-old,veprbl/root,omazapa/root-old,gganis/root,georgtroska/root,sbinet/cxx-root,Duraznos/root,dfunke/root,arch1tect0r/root,vukasinmilosevic/root,perovic/root,BerserkerTroll/root,buuck/root,satyarth934/root,davidlt/root,omazapa/root-old,zzxuanyuan/root,thomaskeck/root,sbinet/cxx-root,arch1tect0r/root,nilqed/root,georgtroska/root,mhuwiler/rootauto,olifre/root,Y--/root,sawenzel/root,agarciamontoro/root,jrtomps/root,sawenzel/root,zzxuanyuan/root,georgtroska/root,evgeny-boger/root,perovic/root,thomaskeck/root,Dr15Jones/root,bbockelm/root,vukasinmilosevic/root,alexschlueter/cern-root,beniz/root,cxx-hep/root-cern,kirbyherm/root-r-tools,perovic/root,mattkretz/root,sbinet/cxx-root,nilqed/root,Dr15Jones/root,davidlt/root,satyarth934/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,strykejern/TTreeReader,veprbl/root,Dr15Jones/root,dfunke/root,kirbyherm/root-r-tools,zzxuanyuan/root,evgeny-boger/root,ffurano/root5,mhuwiler/rootauto,vukasinmilosevic/root,dfunke/root,jrtomps/root,gganis/root,thomaskeck/root,arch1tect0r/root,CristinaCristescu/root,esakellari/my_root_for_test,vukasinmilosevic/root,omazapa/root,omazapa/root,mattkretz/root,dfunke/root,abhinavmoudgil95/root,olifre/root,tc3t/qoot,jrtomps/root,simonpf/root,root-mirror/root,dfunke/root,root-mirror/root,esakellari/my_root_for_test,sawenzel/root,esakellari/root,olifre/root,smarinac/root,agarciamontoro/root,omazapa/root,mkret2/root,omazapa/root,omazapa/root-old,thomaskeck/root,zzxuanyuan/root-compressor-dummy,mattkretz/root,Duraznos/root,0x0all/ROOT,gbitzes/root,satyarth934/root,sawenzel/root,sbinet/cxx-root,0x0all/ROOT,mhuwiler/rootauto,pspe/root,krafczyk/root,evgeny-boger/root,ffurano/root5,omazapa/root-old,tc3t/qoot,krafczyk/root,mattkretz/root,perovic/root,perovic/root,sawenzel/root,satyarth934/root,dfunke/root,tc3t/qoot,veprbl/root,sawenzel/root,abhinavmoudgil95/root,Y--/root,smarinac/root,nilqed/root,esakellari/my_root_for_test,davidlt/root,vukasinmilosevic/root,tc3t/qoot,0x0all/ROOT,beniz/root,sawenzel/root,esakellari/root,jrtomps/root,sirinath/root,beniz/root,olifre/root,veprbl/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,jrtomps/root,mattkretz/root,sirinath/root,gbitzes/root,sawenzel/root,bbockelm/root,sirinath/root,veprbl/root,buuck/root,gbitzes/root,nilqed/root,satyarth934/root,simonpf/root,sbinet/cxx-root,lgiommi/root,alexschlueter/cern-root,zzxuanyuan/root-compressor-dummy,buuck/root,gganis/root,omazapa/root-old,gganis/root,pspe/root,strykejern/TTreeReader,georgtroska/root,esakellari/root,root-mirror/root,lgiommi/root,davidlt/root,davidlt/root,cxx-hep/root-cern,esakellari/root,nilqed/root,jrtomps/root,perovic/root,krafczyk/root,omazapa/root-old,lgiommi/root,0x0all/ROOT,Y--/root,esakellari/my_root_for_test,BerserkerTroll/root,cxx-hep/root-cern,karies/root,mkret2/root,esakellari/root,evgeny-boger/root,pspe/root,zzxuanyuan/root,cxx-hep/root-cern,mkret2/root,krafczyk/root,mattkretz/root,arch1tect0r/root,karies/root,simonpf/root,veprbl/root,jrtomps/root,buuck/root,tc3t/qoot,BerserkerTroll/root,georgtroska/root,evgeny-boger/root,jrtomps/root,root-mirror/root,Dr15Jones/root,thomaskeck/root,gbitzes/root,bbockelm/root,esakellari/root,alexschlueter/cern-root,root-mirror/root,perovic/root,kirbyherm/root-r-tools,esakellari/root,cxx-hep/root-cern,gganis/root,abhinavmoudgil95/root,lgiommi/root,mhuwiler/rootauto,CristinaCristescu/root,thomaskeck/root,bbockelm/root,bbockelm/root,karies/root,simonpf/root,strykejern/TTreeReader,davidlt/root,agarciamontoro/root,satyarth934/root,mkret2/root,CristinaCristescu/root,cxx-hep/root-cern,buuck/root,root-mirror/root,CristinaCristescu/root,zzxuanyuan/root-compressor-dummy,Duraznos/root,sirinath/root,satyarth934/root,gganis/root,BerserkerTroll/root,Duraznos/root,root-mirror/root,arch1tect0r/root,perovic/root,tc3t/qoot,agarciamontoro/root,karies/root,nilqed/root,sawenzel/root,Y--/root,gbitzes/root,zzxuanyuan/root,esakellari/root,mhuwiler/rootauto,Y--/root,sbinet/cxx-root,sbinet/cxx-root,mattkretz/root,omazapa/root,bbockelm/root,alexschlueter/cern-root,omazapa/root,Duraznos/root,thomaskeck/root,CristinaCristescu/root,esakellari/root,lgiommi/root,abhinavmoudgil95/root,abhinavmoudgil95/root,omazapa/root,sawenzel/root,olifre/root,lgiommi/root,buuck/root,BerserkerTroll/root,BerserkerTroll/root,Y--/root,smarinac/root,alexschlueter/cern-root,smarinac/root,abhinavmoudgil95/root,zzxuanyuan/root,zzxuanyuan/root,mkret2/root,davidlt/root,agarciamontoro/root,evgeny-boger/root,smarinac/root,omazapa/root-old,CristinaCristescu/root,beniz/root,olifre/root,abhinavmoudgil95/root,mattkretz/root,evgeny-boger/root,pspe/root,omazapa/root-old,0x0all/ROOT,lgiommi/root,zzxuanyuan/root,agarciamontoro/root,thomaskeck/root,dfunke/root,BerserkerTroll/root,cxx-hep/root-cern,mattkretz/root,smarinac/root,agarciamontoro/root,mattkretz/root,0x0all/ROOT,evgeny-boger/root,vukasinmilosevic/root,olifre/root,esakellari/my_root_for_test,CristinaCristescu/root,root-mirror/root,gbitzes/root,krafczyk/root,ffurano/root5,abhinavmoudgil95/root,sirinath/root,arch1tect0r/root,BerserkerTroll/root,jrtomps/root,buuck/root,gbitzes/root,omazapa/root,Y--/root,davidlt/root,strykejern/TTreeReader,krafczyk/root,abhinavmoudgil95/root,zzxuanyuan/root,veprbl/root,abhinavmoudgil95/root,veprbl/root,vukasinmilosevic/root,ffurano/root5,perovic/root,nilqed/root,agarciamontoro/root,root-mirror/root,esakellari/my_root_for_test,sawenzel/root,Duraznos/root,lgiommi/root,simonpf/root,buuck/root,esakellari/my_root_for_test,olifre/root,zzxuanyuan/root,vukasinmilosevic/root,agarciamontoro/root,lgiommi/root,georgtroska/root,Duraznos/root,nilqed/root,veprbl/root,agarciamontoro/root,mkret2/root,mkret2/root,karies/root,gganis/root,krafczyk/root,mkret2/root,sirinath/root,zzxuanyuan/root-compressor-dummy,Dr15Jones/root,esakellari/root,georgtroska/root,tc3t/qoot,Duraznos/root,karies/root,jrtomps/root,jrtomps/root,tc3t/qoot,Y--/root,zzxuanyuan/root,smarinac/root,abhinavmoudgil95/root,CristinaCristescu/root,kirbyherm/root-r-tools,BerserkerTroll/root,evgeny-boger/root,smarinac/root,pspe/root,veprbl/root,thomaskeck/root,pspe/root,omazapa/root-old,simonpf/root,davidlt/root,esakellari/root,davidlt/root,simonpf/root,krafczyk/root,mattkretz/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,georgtroska/root,nilqed/root,pspe/root,zzxuanyuan/root-compressor-dummy,sirinath/root,simonpf/root,kirbyherm/root-r-tools,BerserkerTroll/root,cxx-hep/root-cern,sbinet/cxx-root,alexschlueter/cern-root,mhuwiler/rootauto,vukasinmilosevic/root,beniz/root,0x0all/ROOT,sbinet/cxx-root,Duraznos/root,pspe/root,strykejern/TTreeReader,0x0all/ROOT,gbitzes/root,omazapa/root,simonpf/root,sbinet/cxx-root,olifre/root,ffurano/root5,vukasinmilosevic/root,strykejern/TTreeReader,Dr15Jones/root,zzxuanyuan/root-compressor-dummy,root-mirror/root,beniz/root,arch1tect0r/root,beniz/root,arch1tect0r/root,mkret2/root,bbockelm/root,evgeny-boger/root,strykejern/TTreeReader,mkret2/root,gganis/root,dfunke/root,karies/root,lgiommi/root,pspe/root,tc3t/qoot,georgtroska/root,Dr15Jones/root,smarinac/root,satyarth934/root,bbockelm/root,bbockelm/root,Y--/root,beniz/root,georgtroska/root,gbitzes/root,vukasinmilosevic/root,simonpf/root,buuck/root,CristinaCristescu/root,arch1tect0r/root,zzxuanyuan/root,beniz/root,dfunke/root,kirbyherm/root-r-tools,sirinath/root,Duraznos/root,root-mirror/root,mhuwiler/rootauto,mhuwiler/rootauto,nilqed/root,kirbyherm/root-r-tools,tc3t/qoot,simonpf/root,CristinaCristescu/root,dfunke/root,dfunke/root,mhuwiler/rootauto,omazapa/root,nilqed/root,veprbl/root,mhuwiler/rootauto,krafczyk/root,sirinath/root,bbockelm/root,omazapa/root-old,alexschlueter/cern-root,perovic/root,olifre/root,evgeny-boger/root,olifre/root,sirinath/root,esakellari/my_root_for_test,karies/root,gganis/root,karies/root,pspe/root,karies/root,Y--/root,thomaskeck/root,buuck/root,agarciamontoro/root,gbitzes/root,zzxuanyuan/root-compressor-dummy,sirinath/root,gganis/root,ffurano/root5,davidlt/root,arch1tect0r/root,bbockelm/root,ffurano/root5,satyarth934/root,gbitzes/root,arch1tect0r/root,karies/root,smarinac/root,beniz/root,buuck/root,BerserkerTroll/root,esakellari/my_root_for_test,gganis/root,lgiommi/root,sbinet/cxx-root,Y--/root,omazapa/root,mkret2/root,pspe/root,Duraznos/root,perovic/root,beniz/root,satyarth934/root,satyarth934/root,krafczyk/root