Where in the source code is the pencil tool circle created

I am trying to code a circle brush in another program. I want the 3x3 size brush to be a cross instead of a square, like in aseprite. Where can I find the code in aseprite where this is done?

Nevermind, someone on gamedev stack exchange told me how to do it