@Override protected void cairoNewPath(long pointer) { try { lock(); super.cairoNewPath(pointer); } finally { unlock(); } }