How to generate EAN13 barcode in C++

In that link, I am confusing with DrawPattern function.
It seems to draw a pattern with strings.
But I don’t get how it manages to draw a pattern with strings?
Can someone please explain?

Source: c++

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.