Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 406783 | Differences between
and this patch

Collapse All | Expand All

(-)pgf-2.10.orig/tex/generic/pgf/libraries/shapes/pgflibraryshapes.callouts.code.tex (-7 / +7 lines)
Lines 247-255 Link Here
247
			\pgf@lib@callouts@shortenpointer%
247
			\pgf@lib@callouts@shortenpointer%
248
			\pgf@lib@ellipsecallout@getpoints%	
248
			\pgf@lib@ellipsecallout@getpoints%	
249
			\calloutpointeranchor%	
249
			\calloutpointeranchor%	
250
			\ifx\pgf@test\pgfutil@empty%
250
			\ifx\pgf@node@name\pgfutil@empty%
251
			\else%
251
			\else%
252
				\edef\pgf@sh@@temp{\noexpand\expandafter\noexpand\pgfutil@g@addto@macro\noexpand\csname pgf@sh@np@\pgf@test\noexpand\endcsname}%
252
				\edef\pgf@sh@@temp{\noexpand\expandafter\noexpand\pgfutil@g@addto@macro\noexpand\csname pgf@sh@np@\pgf@node@name\noexpand\endcsname}%
253
				\edef\pgf@sh@@@temp{%
253
				\edef\pgf@sh@@@temp{%
254
					\noexpand\def\noexpand\calloutpointeranchor{%
254
					\noexpand\def\noexpand\calloutpointeranchor{%
255
						\noexpand\pgf@x\the\pgf@x%
255
						\noexpand\pgf@x\the\pgf@x%
Lines 568-582 Link Here
568
			\pgfmathsetlengthmacro\pointerwidth{\pgfkeysvalueof{/pgf/callout pointer width}}%
568
			\pgfmathsetlengthmacro\pointerwidth{\pgfkeysvalueof{/pgf/callout pointer width}}%
569
			\pgf@lib@rectanglecallout@pointer%
569
			\pgf@lib@rectanglecallout@pointer%
570
			%
570
			%
571
			% \pgf@test = the shape name (from \pgfmultipartnode)
571
			% \pgf@node@name = the shape name (from \pgfmultipartnode)
572
			%
572
			%
573
			\ifx\pgf@test\pgfutil@empty%
573
			\ifx\pgf@node@name\pgfutil@empty%
574
			\else%
574
			\else%
575
				%
575
				%
576
				% Now hack an extra saved anchor \calloutpointeranchor,
576
				% Now hack an extra saved anchor \calloutpointeranchor,
577
				% with the new anchor for the callout pointer.
577
				% with the new anchor for the callout pointer.
578
				%
578
				%
579
				\edef\pgf@sh@@temp{\noexpand\expandafter\noexpand\pgfutil@g@addto@macro\noexpand\csname pgf@sh@np@\pgf@test\noexpand\endcsname}%
579
				\edef\pgf@sh@@temp{\noexpand\expandafter\noexpand\pgfutil@g@addto@macro\noexpand\csname pgf@sh@np@\pgf@node@name\noexpand\endcsname}%
580
				\edef\pgf@sh@@@temp{%
580
				\edef\pgf@sh@@@temp{%
581
					\noexpand\def\noexpand\calloutpointeranchor{%
581
					\noexpand\def\noexpand\calloutpointeranchor{%
582
						\noexpand\pgf@x\the\pgf@x%
582
						\noexpand\pgf@x\the\pgf@x%
Lines 862-870 Link Here
862
   		\pgfextract@process\calloutpointer{%
862
   		\pgfextract@process\calloutpointer{%
863
				\pgfpointanchor{pgf@lib@callout@pointer}{center}%
863
				\pgfpointanchor{pgf@lib@callout@pointer}{center}%
864
			}%
864
			}%
865
			\ifx\pgf@test\pgfutil@empty%
865
			\ifx\pgf@node@name\pgfutil@empty%
866
			\else%
866
			\else%
867
				\edef\pgf@sh@@temp{\noexpand\expandafter\noexpand\pgfutil@g@addto@macro\noexpand\csname pgf@sh@np@\pgf@test\noexpand\endcsname}%
867
				\edef\pgf@sh@@temp{\noexpand\expandafter\noexpand\pgfutil@g@addto@macro\noexpand\csname pgf@sh@np@\pgf@node@name\noexpand\endcsname}%
868
				\edef\pgf@sh@@@temp{%
868
				\edef\pgf@sh@@@temp{%
869
					\noexpand\def\noexpand\calloutpointeranchor{%
869
					\noexpand\def\noexpand\calloutpointeranchor{%
870
						\noexpand\pgf@x\the\pgf@x%
870
						\noexpand\pgf@x\the\pgf@x%

Return to bug 406783