Here’s one way to do it:


Draw a circle and some rectangles.
Snap the rectangles to the center of the circle.
Drag out points as needed.
Select the circle.
Choose Use As Mask from the Layer menu.
The rectangles should now be masked by the circle.




Sketch3: how do you draw a fan shape?
I want to be able to get back to the main.cpp file from another.  For example.

// Main.cpp
#include "Globals.h"

int main()
{
    otherFile();
}

// Globals.h

#include &lt;iostream&gt;
#include &lt;stdlib.h&gt;

bool otherFile();

//otherFile.cpp
#include "Globals.h"

bool otherFile() 
{
    // do stuff
    // Here I want to be able to go back to the main.cpp file.
}


Sorry if my question makes no sense
