€cdocutils.nodes document q)q}q(U nametypesq}q(XtestsqNXcaf tests: crisp-edges propertyqNuUsubstitution_defsq}q Uparse_messagesq ]q Ucurrent_sourceq NU decorationq NUautofootnote_startqKUnameidsq}q(hUtestsqhUcaf-tests-crisp-edges-propertyquUchildrenq]q(cdocutils.nodes comment q)q}q(U rawsourceqX -*- rest -*-qUparentqhUsourceqcdocutils.nodes reprunicode qX5/home/pmajka/4/doc/sphinx/source/test_crisp-edges.rstq…q}qbUtagnameq Ucommentq!U attributesq"}q#(U xml:spaceq$Upreserveq%Uidsq&]q'Ubackrefsq(]q)Udupnamesq*]q+Uclassesq,]q-Unamesq.]q/uUlineq0KUdocumentq1hh]q2cdocutils.nodes Text q3X -*- rest -*-q4…q5}q6(hUhhubaubh)q7}q8(hXvim:syntax=restq9hhhhh h!h"}q:(h$h%h&]q;h(]qh.]q?uh0Kh1hh]q@h3Xvim:syntax=restqA…qB}qC(hUhh7ubaubcdocutils.nodes section qD)qE}qF(hUhhhhh UsectionqGh"}qH(h*]qIh,]qJh(]qKh&]qLhah.]qMhauh0Kh1hh]qN(cdocutils.nodes title qO)qP}qQ(hX#CAF tests: ``crisp-edges`` propertyqRhhEhhh UtitleqSh"}qT(h*]qUh,]qVh(]qWh&]qXh.]qYuh0Kh1hh]qZ(h3X CAF tests: q[…q\}q](hX CAF tests: q^hhPubcdocutils.nodes literal q_)q`}qa(hX``crisp-edges``qbh"}qc(h*]qdh,]qeh(]qfh&]qgh.]qhuhhPh]qih3X crisp-edgesqj…qk}ql(hUhh`ubah Uliteralqmubh3X propertyqn…qo}qp(hX propertyqqhhPubeubcdocutils.nodes paragraph qr)qs}qt(hXÞCrisp edges property determines the rendering settings of the SVG drawing. Note: By now (and probably also by the future) the 'shape-rendering' property is run-time property only and is not stored or loaded from SVG files.quhhEhhh U paragraphqvh"}qw(h*]qxh,]qyh(]qzh&]q{h.]q|uh0Kh1hh]q}h3XÞCrisp edges property determines the rendering settings of the SVG drawing. Note: By now (and probably also by the future) the 'shape-rendering' property is run-time property only and is not stored or loaded from SVG files.q~…q}q€(hhuhhsubaubhD)q}q‚(hUhhEhhh hGh"}qƒ(h*]q„h,]q…h(]q†h&]q‡hah.]qˆhauh0K h1hh]q‰(hO)qŠ}q‹(hXTestsqŒhhhhh hSh"}q(h*]qŽh,]qh(]qh&]q‘h.]q’uh0K h1hh]q“h3XTestsq”…q•}q–(hhŒhhŠubaubcdocutils.nodes literal_block q—)q˜}q™(hX>>> import barqšhhhhh U literal_blockq›h"}qœ(U testnodetypeqXdoctestqžh$h%h&]qŸh(]q h*]q¡h,]q¢h.]q£Ugroupsq¤]q¥Udefaultq¦aUoptionsq§}q¨uh0Kh1hh]q©h3X>>> import barqª…q«}q¬(hUhh˜ubaubhr)q­}q®(hX6Create empty slide and check its 'crispEdges' propertyq¯hhhhh hvh"}q°(h*]q±h,]q²h(]q³h&]q´h.]qµuh0Kh1hh]q¶h3X6Create empty slide and check its 'crispEdges' propertyq·…q¸}q¹(hh¯hh­ubaubh—)qº}q»(hXE>>> testSlide = bar.barCafSlide() >>> print testSlide.crispEdges Trueq¼hhhhh h›h"}q½(U testnodetypeq¾Xdoctestq¿h$h%h&]qÀh(]qÁh*]qÂh,]qÃh.]qÄUgroupsqÅ]qÆh¦ah§}qÇuh0Kh1hh]qÈh3XE>>> testSlide = bar.barCafSlide() >>> print testSlide.crispEdges TrueqÉ…qÊ}qË(hUhhºubaubhr)qÌ}qÍ(hX%Let's set ``crispEdges`` to ``False``qÎhhhhh hvh"}qÏ(h*]qÐh,]qÑh(]qÒh&]qÓh.]qÔuh0Kh1hh]qÕ(h3X Let's set qÖ…q×}qØ(hX Let's set qÙhhÌubh_)qÚ}qÛ(hX``crispEdges``qÜh"}qÝ(h*]qÞh,]qßh(]qàh&]qáh.]qâuhhÌh]qãh3X crispEdgesqä…qå}qæ(hUhhÚubah hmubh3X to qç…qè}qé(hX to qêhhÌubh_)që}qì(hX ``False``qíh"}qî(h*]qïh,]qðh(]qñh&]qòh.]qóuhhÌh]qôh3XFalseqõ…qö}q÷(hUhhëubah hmubeubh—)qø}qù(hX >>> testSlide.crispEdges = Falseqúhhhhh h›h"}qû(U testnodetypeqüXdoctestqýh$h%h&]qþh(]qÿh*]rh,]rh.]rUgroupsr]rh¦ah§}ruh0Kh1hh]rh3X >>> testSlide.crispEdges = Falser…r}r (hUhhøubaubhr)r }r (hXzNow, lets validate 'crispEdges' property on the ``path`` object. Path element has assigned corresponding attribute definedr hhhhh hvh"}r (h*]rh,]rh(]rh&]rh.]ruh0K!h1hh]r(h3X0Now, lets validate 'crispEdges' property on the r…r}r(hX0Now, lets validate 'crispEdges' property on the rhj ubh_)r}r(hX``path``rh"}r(h*]rh,]rh(]rh&]rh.]r uhj h]r!h3Xpathr"…r#}r$(hUhjubah hmubh3XB object. Path element has assigned corresponding attribute definedr%…r&}r'(hXB object. Path element has assigned corresponding attribute definedr(hj ubeubh—)r)}r*(hXñ>>> testPath = bar.barPath("structure_test_test", "M 100 100 L 100 200 L 200 200 Z", "#ff0000") >>> testPath.crispEdges = True >>> print testPath >>> testPath.crispEdges = False >>> print testPath r+hhhhh h›h"}r,(U testnodetyper-Xdoctestr.h$h%h&]r/h(]r0h*]r1h,]r2h.]r3Ugroupsr4]r5h¦ah§}r6uh0K$h1hh]r7h3Xñ>>> testPath = bar.barPath("structure_test_test", "M 100 100 L 100 200 L 200 200 Z", "#ff0000") >>> testPath.crispEdges = True >>> print testPath >>> testPath.crispEdges = False >>> print testPath r8…r9}r:(hUhj)ubaubhr)r;}r<(hXvNote that ``crispEdges`` property accepts only boolean values. Providing type other than boolean will cause exception.r=hhhhh hvh"}r>(h*]r?h,]r@h(]rAh&]rBh.]rCuh0K/h1hh]rD(h3X Note that rE…rF}rG(hX Note that rHhj;ubh_)rI}rJ(hX``crispEdges``rKh"}rL(h*]rMh,]rNh(]rOh&]rPh.]rQuhj;h]rRh3X crispEdgesrS…rT}rU(hUhjIubah hmubh3X^ property accepts only boolean values. Providing type other than boolean will cause exception.rV…rW}rX(hX^ property accepts only boolean values. Providing type other than boolean will cause exception.rYhj;ubeubh—)rZ}r[(hXñ>>> testPath.crispEdges = 'string is invalid' Traceback (most recent call last): AssertionError: Boolean value expected >>> testSlide.crispEdges = 'string is invalid' Traceback (most recent call last): AssertionError: Boolean value expectedr\hhhhh h›h"}r](U testnodetyper^Xdoctestr_h$h%h&]r`h(]rah*]rbh,]rch.]rdUgroupsre]rfh¦ah§}rguh0K2h1hh]rhh3Xñ>>> testPath.crispEdges = 'string is invalid' Traceback (most recent call last): AssertionError: Boolean value expected >>> testSlide.crispEdges = 'string is invalid' Traceback (most recent call last): AssertionError: Boolean value expectedri…rj}rk(hUhjZubaubhr)rl}rm(hX8``crispEdgest`` should also always return boolean value:rnhhhhh hvh"}ro(h*]rph,]rqh(]rrh&]rsh.]rtuh0K>> type(testPath.crispEdges) == type(True) True >>> type(testSlide.crispEdges) == type(True) Truer‰hhhhh h›h"}rŠ(U testnodetyper‹XdoctestrŒh$h%h&]rh(]rŽh*]rh,]rh.]r‘Ugroupsr’]r“h¦ah§}r”uh0K>h1hh]r•h3Xc>>> type(testPath.crispEdges) == type(True) True >>> type(testSlide.crispEdges) == type(True) Truer–…r—}r˜(hUhj‡ubaubeubeubehUU transformerr™NU footnote_refsrš}r›Urefnamesrœ}rUsymbol_footnotesrž]rŸUautofootnote_refsr ]r¡Usymbol_footnote_refsr¢]r£U citationsr¤]r¥h1hU current_liner¦NUtransform_messagesr§]r¨Ureporterr©NUid_startrªKU autofootnotesr«]r¬U citation_refsr­}r®Uindirect_targetsr¯]r°Usettingsr±(cdocutils.frontend Values r²or³}r´(Ufootnote_backlinksrµKUrecord_dependenciesr¶NU rfc_base_urlr·Uhttp://tools.ietf.org/html/r¸U tracebackr¹ˆUpep_referencesrºNUstrip_commentsr»NU toc_backlinksr¼Uentryr½U language_coder¾Uenr¿U datestamprÀNU report_levelrÁKU _destinationrÂNU halt_levelrÃKU strip_classesrÄNhSNUerror_encoding_error_handlerrÅUbackslashreplacerÆUdebugrÇNUembed_stylesheetrȉUoutput_encoding_error_handlerrÉUstrictrÊU sectnum_xformrËKUdump_transformsrÌNU docinfo_xformrÍKUwarning_streamrÎNUpep_file_url_templaterÏUpep-%04drÐUexit_status_levelrÑKUconfigrÒNUstrict_visitorrÓNUcloak_email_addressesrÔˆUtrim_footnote_reference_spacerÕ‰UenvrÖNUdump_pseudo_xmlr×NUexpose_internalsrØNUsectsubtitle_xformrÙ‰U source_linkrÚNUrfc_referencesrÛNUoutput_encodingrÜUutf-8rÝU source_urlrÞNUinput_encodingrßU utf-8-sigràU_disable_configráNU id_prefixrâUU tab_widthrãKUerror_encodingräUANSI_X3.4-1968råU_sourceræU5/home/pmajka/4/doc/sphinx/source/test_crisp-edges.rstrçUgettext_compactrèˆU generatorréNUdump_internalsrêNU pep_base_urlrëUhttp://www.python.org/dev/peps/rìUsyntax_highlightríUshortrîUinput_encoding_error_handlerrïjÊUauto_id_prefixrðUidrñUdoctitle_xformrò‰Ustrip_elements_with_classesróNU _config_filesrô]rõUfile_insertion_enabledröKU raw_enabledr÷KU dump_settingsrøNubUsymbol_footnote_startrùKUidsrú}rû(hhhhEuUsubstitution_namesrü}rýh h1h"}rþ(h*]rÿh&]rh(]rUsourcerhh,]rh.]ruU footnotesr]rUrefidsr}rub.