Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounded Cutoff #41

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Conversation

EagleoutIce
Copy link
Owner

Currently, we do circle radius calculation but this is to be improved to really reflect the outer edge rounding:
qr-minimal

Code
\documentclass{article}

\errorcontextlines=99999
\usepackage{fancyqr}

\usepackage[active,tightpage]{preview}
\setlength\PreviewBorder{50pt}
\usepackage{pgffor}

\makeatletter
% make all black:
\def\qr@white{1}
\begin{document}
\preview
\foreach \i in {0,.1,...,1}{%
\expandafter\FancyQrDoNotPrintRadius\expandafter{\i}%
\fancyqr[classic,image=\Large\color{green}@,level=H,version=10]{https://github.com/EagleoutIce/fancyqr}\hfill
\fancyqr[classic,image=\Large\color{purple}*\fpeval{round(\i,2)}*,level=H,version=10]{https://github.com/EagleoutIce/fancyqr}\hfill
}\\
\centerline{Various Variants of \texttt{\textbackslash FancyQrDoNotPrintRadius}}
\endpreview
\end{document}

@EagleoutIce EagleoutIce linked an issue Nov 26, 2024 that may be closed by this pull request
@EagleoutIce EagleoutIce merged commit 61d143b into main Nov 26, 2024
@EagleoutIce EagleoutIce deleted the 5-allow-for-circular-cut-outs-not-just-rectangle branch November 26, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for circular cut-outs not just rectangle
1 participant