Hi,@Forrest Crawford . Welcome to Microsoft Q&A.
The D2DERR_WRONG_FACTORY error you're encountering with SharpDX and Direct2D typically occurs when you try to use resources that were created with different factories than the ones being used for rendering. In your case, this error is happening because the PathGeometry objects are being created and stored in a list, and then later used for rendering. This can cause issues if the rendering target or the resource cache uses a different factory than the one used to create the geometries.
Ensure that the same Direct2D factory instance is used for creating PathGeometry objects and for the RenderTarget. The factory used to create PathGeometry should be the same factory used by the RenderTarget.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentationto enable e-mail notifications if you want to receive the related email notification for this thread.