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