Eye Square with Rounded Corner - Just a Question, not an Issue #165
Replies: 5 comments
-
I'd recommend to build it in e.g. Inkscape and have a look at the SVG path code. You can basically do the exact same thing then in code here. |
Beta Was this translation helpful? Give feedback.
-
@SergiuPogor I did some experimenting and was able to create something similar using line() and curve(). I created a new renderer module implementing the EyeInterface and created the paths as follows: External Path:
Internal Path:
|
Beta Was this translation helpful? Give feedback.
-
Could someone explain to me why using this code I get very poor quality rounding? |
Beta Was this translation helpful? Give feedback.
-
how can I use this to work in mine I would want to build the same QR code. I am using Laravel? |
Beta Was this translation helpful? Give feedback.
-
@wojoj93 that's probably a png you're rendering? Try it in svg format, it's much smoother. The png renderer probably can't handle the curves properly for whatever reason. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to write a new Module Renderer for Eye(internal and external) in order to get Square with Rounded Corner(not circle) but not sure how to get that.
I mean, using matrix logic how to achieve this?
For Circle I use this one:
Should I focus on replacing ellipticArc with a combination of line() and curve()?
Expected result:
Beta Was this translation helpful? Give feedback.
All reactions