This example demonstrates the process of extracting a function
from an existing function.
Procedure
- Select the highlighted code as shown below.
- Right-click the highlighted code and then click .
- In the Extract EGL function window,
information about the new function, such as the function name and
its parameters, are displayed.
- Click Preview to preview the changes
that will be made. Click OK to extract the
function.
- After the extract operation, a new function is created
as shown below.