@Override protected void cairoSetMatrix(long pointer, double[] m) { try { lock(); super.cairoSetMatrix(pointer, m); } finally { unlock(); } }