+
    i!                         ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
HtHtHtHtHt ^ RIHt  ! R R]4      t ! R	 R
]4      t ! R R]4      t ! R R]4      tR# )    N)font)S)
PlotObject)billboard_matrixdot_productget_direction_vectorsstrided_rangevec_magvec_sub)is_sequencec                      a  ] tR t^t o RRRRRRRRRRRR	R
RRRRRRRRRRRRRR^/R ltR tR tR tR tR t	R t
R tRtV tR# )PlotAxesstyle noneNframeboxordinatestrideg      ?visibleoverlaycolored
label_axeslabel_tickstick_length皙?	font_faceArial	font_sizec                  VP                  4       pVe   RpVe   RpVe   RpVe   RpVR
9   d   \        V 4      V n        M9VR9   d   \        V 4      V n        M!VR9   d	   R V n        M\	        RV,          4      h \        V4      p\        V4      '       d#   \        V4      ^8w  d   \	        R4      hW`n	        M	WfV.V n	        \        V4      V n        . ROV n        V P                  4        R pV! VR4      V n        V! VR4      V n        V! V	R	4      V n        V! V
R	4      V n        V! VR4      V n        Wn        Wn        V P+                  4        R #   \         d     Li ; i)Nr   r   r   r   zUnrecognized axes style %s.zlength should be equal to 3c                 <    V R9   d   V # V R9   d   R# V R9   d   R # V# )TF)TF)fFfalseFalse)tTtrueTrue )inputdefaults   &&a/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/plotting/pygletplot/plot_axes.pyflexible_boolean+PlotAxes.__init__.<locals>.flexible_boolean;   s,    %4422N    TF)r   r   )r   r   )r   r   r   r   )lowerPlotAxesOrdinate_render_objectPlotAxesFrame
ValueErroreval	TypeErrorr   len_stridefloat_tick_length_originreset_bounding_boxr   _overlay_colored_label_axes_label_ticksr   r   reset_resources)selfr   r   r   r   r   r   r   r   r   r   r   r   r   r   argskwargsr.   s   &$$$$$$$$$$$$$$*, r-   __init__PlotAxes.__init__   sm     EE?EE$$"24"8D&&"/"5Dh"&D;FGG	&\F v6{a !>??!L"F3DL!+. !!	 (5($7(%8+J>,[$? #" 	I  		s   ;E E E c                    R V n         R # N)
label_fontrD   s   &r-   rC   PlotAxes.reset_resourcesS   s	    r0   c                :    R R .R R .R R ..V n         . . . .V n        R # rJ   )_bounding_box_axis_ticksrL   s   &r-   r>   PlotAxes.reset_bounding_boxV   s+    #TlT4L4,GB<r0   c                   V P                   '       d   \        P                  ! \        P                  \        P                  ,          \        P
                  ,          4       V P                  '       d%   \        P                  ! \        P                  4       V P                   P                  4        \        P                  ! 4        R # R # rJ   )r4   pglglPushAttribGL_ENABLE_BITGL_POLYGON_BITGL_DEPTH_BUFFER_BITr?   	glDisableGL_DEPTH_TESTdrawglPopAttribrL   s   &r-   rZ   PlotAxes.drawZ   st    S..1C1CCcF]F]]^}}}c//0$$&OO r0   c                d   V P                   pTp\        ^4       EF  p\        W4,          ^ ,          4      \        P                  J g+   \        W4,          ^,          4      \        P                  J d   KZ  W$,          ^ ,          f   W4,          ^ ,          M&\        W$,          ^ ,          W4,          ^ ,          .4      W$,          ^ &   W$,          ^,          f   W4,          ^,          M&\        W$,          ^,          W4,          ^,          .4      W$,          ^&   W n         V P                  V4       EK  	  R# )   N)rO   rangeabsr   Infinityminmax_recalculate_axis_ticks)rD   child_boundsbcis   &&   r-   adjust_boundsPlotAxes.adjust_boundsb   s    qA147|qzz)Sa\QZZ-G!"aad1gc147ADG:L6MADG!"aad1gc147ADG:L6MADG!"((+ r0   c                   V P                   pW!,          ^ ,          e   W!,          ^,          f   . V P                  V&   R# \        W!,          ^ ,          W!,          ^,          V P                  V,          4      V P                  V&   R# r   N)rO   rP   r	   r:   )rD   axisrf   s   && r-   rd    PlotAxes._recalculate_axis_ticksm   sf    71:!3%'DT"%2171:qwqz37<<3E&GDT"r0   c                2    V P                   '       * V n         R # rJ   )r   rL   s   &r-   toggle_visiblePlotAxes.toggle_visibleu   s    <<'r0   c                2    V P                   '       * V n         R # rJ   )r@   rL   s   &r-   toggle_colorsPlotAxes.toggle_colorsx   s     MM)r0   )rP   rO   r@   rA   rB   r=   r?   r4   r:   r<   r   r   rK   r   )__name__
__module____qualname____firstlineno__rG   rC   r>   rZ   ri   rd   rp   rs   __static_attributes____classdictcell____classdict__s   @r-   r   r      s     DDD'+D15D@DDD D !#D -/D <>D LND 	D
 D
 *,DL(	,G(* *r0   r   c                   H   a  ] tR t^|t o R tR tR tR tR	R ltR t	Rt
V tR# )
PlotAxesBasec                    Wn         R # rJ   _p)rD   parent_axess   &&r-   rG   PlotAxesBase.__init__~   s    r0   c                    . RO. RO. RO3. RO. RO. RO3.V P                   P                  ,          pV P                  V4       V P                  ^V^,          4       V P                  ^V^,          4       V P                  ^ V^ ,          4       R# )皙?N)r   r   333333?)?r         ?)r         ?r   )r   r   r   )r   r@   draw_background	draw_axisrD   colors   & r-   rZ   PlotAxesBase.draw   su    !?OD!?ODFFJggFVFVXU#q%(#q%(#q%(#r0   c                    R # rJ   r*   r   s   &&r-   r   PlotAxesBase.draw_background       r0   c                    \        4       hrJ   NotImplementedErrorrD   rm   r   s   &&&r-   r   PlotAxesBase.draw_axis       !##r0   c                   \        V4      ^8X  d   V^ ,          V^,          V^,          R3pV P                  P                  fR   \        P                  ! V P                  P
                  V P                  P                  RRR7      V P                  n        \        P                  ! V P                  P                  VV\        P                  P                  \        P                  P                  R7      p\        P                  ! 4        \        P                  ! V!   \        4        RV,          p\        P                  ! WfV4       \        P                  ! ^ ^ ^ ^ 4       VP!                  4        \        P"                  ! 4        R# )r^   r   NTF)bolditalic)r   valignhaligng{Gzt?)r9   r   rK   r   loadr   r   TextBASELINECENTERrS   glPushMatrixglTranslatefr   glScalef	glColor4frZ   glPopMatrix)rD   textpositionr   scalelabelscale_factors   &&&&&  r-   	draw_textPlotAxesBase.draw_text   s   u:?1XuQxq37E77%!%477+<+<+/77+<+<04U"DDGG 		$'',,d %!%!3!3!%!1!13
 	(#u}\>aAq!

r0   c                |   V P                   P                  p\        P                  ! \        P                  4       \        P
                  ! V!   \        P                  ! V^ ,          ^ ,          V^ ,          ,           V^ ,          ^,          V^,          ,           V^ ,          ^,          V^,          ,           4       \        P                  ! V^,          ^ ,          V^ ,          ,           V^,          ^,          V^,          ,           V^,          ^,          V^,          ,           4       \        P                  ! 4        R# rl   )r   r=   rS   glBeginGL_LINES	glColor3f
glVertex3fglEnd)rD   vr   os   &&& r-   	draw_linePlotAxesBase.draw_line   s    GGOOCLL!uqtAw1~qtAw1~qtAw1~FqtAw1~qtAw1~qtAw1~F		r0   r   N)r   )ru   rv   rw   rx   rG   rZ   r   r   r   r   ry   rz   r{   s   @r-   r~   r~   |   s(     $$. r0   r~   c                   P   a a ] tR t^t oV 3R ltR tR tR tR tR t	Rt
VtV ;t# )r3   c                &   < \         SV `  V4       R # rJ   superrG   rD   r   	__class__s   &&r-   rG   PlotAxesOrdinate.__init__       %r0   c                D   V P                   P                  V,          pV P                   P                  R ,          p\        V4      ^8  d   R# . RO. RO.pV^ ,          VR,          uV^ ,          V&   V^,          V&   \	        V^,          V^ ,          4      p\        4       ^,          p\        \        Wg4      4      pV\        V4      ,          p\        VR,
          4      R8  p	V F  p
V P                  WWJV	4       K  	  V P                  WV^ ,          VR,          V	4       R# )g       @Nr   g{Gz?r1   )r   rP   r<   r9   r   r   r`   r   r
   draw_tick_linedraw_axis_line)rD   rm   r   ticksradius
axis_linesaxis_vectorpos_zdlabels_visibleticks   &&&        r-   r   PlotAxesOrdinate.draw_axis   s    ##D)%%+u:>  +
388U2Y0
1dZ]40jmZ]; &'*K/0$$ QW, DV>J  	Dq59nMr0   c                    . RO. RO.pW4uV^ ,          V&   V^,          V&   V P                  Wb4       V'       d   V P                  WV4       R# R# r   Nr1   )r   draw_axis_line_labels)rD   rm   r   a_mina_maxr   	axis_lines   &&&&&& r-   r   PlotAxesOrdinate.draw_axis_line   sL    	*	16.	!TIaL.y(&&tI> r0   c                   V P                   P                  '       g   R # V^ ,          R,          V^,          R,          .pV^ ,          V;;,          R,          uu&   V^,          V;;,          R,          uu&   . ROV,          pV P                  RV,           V^ ,          V4       V P                  RV,           V^,          V4       R # )N:NNNr   -+)XYZ)r   rA   r   )rD   rm   r   r   axis_labelsa_strs   &&&&  r-   r   &PlotAxesOrdinate.draw_axis_line_labels   s    ww""" |B'1b)9:At#At#%sU{KNE:sU{KNE:r0   c                    ^ ^^^ ^^/V,          p. RO. RO.pV;V^ ,          V&   V^,          V&   V) VuV^ ,          V&   V^,          V&   V P                  Wr4       V'       d   V P                  WW44       R# R# r   )r   draw_tick_line_label)rD   rm   r   r   r   r   	tick_axis	tick_lines   &&&&&&  r-   r   PlotAxesOrdinate.draw_tick_line   s    1aA&t,		*	266	!TYq\$/<B7F8	!Y1i!8y(%%d6@ r0   c                    V P                   P                  '       g   R # . ROpWEV&   . ROV,          V,          R,          V^ ^^^ ^^/V,          &   V P                  \        V4      WRRR7       R # )Ng      @r   )r   r1   )r      r   )r   rA   r   str)rD   rm   r   r   r   tick_label_vectors   &&&&& r-   r   %PlotAxesOrdinate.draw_tick_line_label   so    ww"""%"&$6@77 7!1aAq!,T23s4y"3#Fr0   r*   )ru   rv   rw   rx   rG   r   r   r   r   r   ry   rz   __classcell__r   r|   s   @@r-   r3   r3      s,     &N4?;AG Gr0   r3   c                   >   a a ] tR t^t oV 3R ltR tR tRtVtV ;t	# )r5   c                &   < \         SV `  V4       R # rJ   r   r   s   &&r-   rG   PlotAxesFrame.__init__   r   r0   c                    R # rJ   r*   r   s   &&r-   r   PlotAxesFrame.draw_background   r   r0   c                    \        4       hrJ   r   r   s   &&&r-   r   PlotAxesFrame.draw_axis   r   r0   r*   )
ru   rv   rw   rx   rG   r   r   ry   rz   r   r   s   @@r-   r5   r5      s     &$ $r0   r5   )	pyglet.glglrS   pygletr   
sympy.corer   %sympy.plotting.pygletplot.plot_objectr   sympy.plotting.pygletplot.utilr   r   r   r	   r
   r   sympy.utilities.iterablesr   r   r~   r3   r5   r*   r0   r-   <module>r      sW       <? ? 1n*z n*b0: 0f@G| @GF	$L 	$r0   