Search.setIndex({desctypes:{"0":"data","1":"class","2":"attribute","3":"function","4":"method"},terms:{represent:1,all:1,less:1,api:[0,1],over:2,turnpolicy_whit:1,bitmap:[0,1,2],threshold:1,corner:1,accuraci:1,children:1,paramet:1,current:1,onli:1,middl:2,how:1,polici:1,fix:1,alphamax:1,should:1,black:1,els:2,main:2,local:1,pixel:1,non:1,liter:1,"return":1,greater:1,python:0,rectangl:2,util:0,print:2,background:1,turnpolicy_black:1,turnpolicy_right:1,pypotrac:[0,2],choic:1,pre:1,level:1,docutil:1,potrac:[0,1,2],list:1,resolv:1,iter:2,method:[1,2],turnpolici:1,vector:[0,1],contain:1,flag:1,refer:[0,1],page:0,right:1,neighborhood:1,transform:0,tree:1,zero:[1,2],result:1,is_corn:[1,2],pass:2,close:1,librari:1,nonzero:1,index:0,detect:1,turnpolicy_minor:1,c1_x:2,bind:0,potracelib_vers:1,tend:1,content:0,version:1,adapt:1,intersect:1,between:1,c1_y:2,"import":[1,2],uint32:2,attribut:1,foreground:1,object:[0,1,2],themselv:1,parent:1,whose:1,each:1,infin:1,here:2,step:1,although:1,path:[0,1,2],vertic:1,sinc:1,interpret:1,convert:[1,2],guarante:1,larger:1,keep:1,turn:1,amount:1,instanc:1,constructor:[1,2],whole:1,frequent:1,determin:1,control:1,rang:1,point:1,color:1,numpi:[1,2],arrai:[1,2],progress_func:1,prefer:1,number:1,compos:1,"boolean":1,wrap:1,constant:1,curves_tre:1,select:1,given:1,span:1,would:1,area:1,data:[1,2],top:1,hardli:1,two:1,least:1,compon:1,start:1,turdsiz:1,valu:1,call:2,white:1,type:1,"final":1,store:1,more:1,from:[1,2],imag:[0,1],search:0,decomposit:1,bmp:2,enclos:1,indic:0,c2_x:2,c2_y:2,c_y:2,c_x:2,line:1,"true":1,than:1,opttoler:1,made:1,possibl:1,whether:1,remov:1,simplif:1,smooth:1,can:1,defin:1,below:1,turnpolicy_major:1,error:1,posit:1,modul:0,purpos:1,connect:1,randomli:1,pil:1,have:1,creat:[1,2],dure:1,argument:1,end_point_x:2,repres:1,"default":1,good:1,decreas:1,turnpolicy_random:1,tabl:0,occur:1,bezierseg:1,alwai:1,turnpolicy_left:1,cornerseg:1,end:1,polygon:1,divid:1,end_point:[1,2],make:2,bezier:1,check:1,fals:1,other:1,take:1,which:1,you:[1,2],document:0,simpl:2,simplifi:1,curv:[0,1,2],thi:1,trace:[1,2],despeckl:1,optim:1,previou:1,most:1,attempt:1,regular:1,initi:1,tessel:1,easili:1,segment:[1,2],"class":[1,2],reduc:1,off:1,practic:1,algorithm:1,tutori:[0,2],start_point:[1,2],space:1,opticurv:1,visual:1,ambigu:1,tradeoff:1,exampl:[1,2],end_point_i:2,expens:1,allow:1,choos:1,left:1},titles:["pypotrace documentation","<tt class=\"docutils literal\"><span class=\"pre\">potrace</span></tt> &#8211; API reference","Tutorial"],modules:{potrace:1},descrefs:{potrace:{TURNPOLICY_LEFT:[1,0],BezierSegment:[1,1],Path:[1,1],CornerSegment:[1,1],Curve:[1,1],Bitmap:[1,1],TURNPOLICY_RIGHT:[1,0],potracelib_version:[1,3],TURNPOLICY_RANDOM:[1,0],TURNPOLICY_BLACK:[1,0],TURNPOLICY_MAJORITY:[1,0],TURNPOLICY_MINORITY:[1,0],TURNPOLICY_WHITE:[1,0]},"potrace.CornerSegment":{end_point:[1,2],c:[1,2],is_corner:[1,2]},"potrace.Curve":{segments:[1,2],regular:[1,2],tesselate:[1,4],adaptive:[1,2],start_point:[1,2],children:[1,2]},"potrace.BezierSegment":{end_point:[1,2],c1:[1,2],c2:[1,2],is_corner:[1,2]},"potrace.Path":{curves_tree:[1,2],curves:[1,2]},"potrace.Bitmap":{trace:[1,4]}},filenames:["index","ref","tutorial"]})