CairoGraphics2D.java 文件源码

java
阅读 26 收藏 0 点赞 0 评论 0

项目:javify 作者:
/**
 * Set the current transform
 */
public void setTransform(AffineTransform tx)
{
  // Transform clip into target space using the old transform.
  updateClip(transform);

  // Update the native transform.
  setTransformImpl(tx);

  // Transform the clip back into user space using the inverse new transform.
  try
    {
      updateClip(transform.createInverse());
    }
  catch (NoninvertibleTransformException ex)
    {
      // TODO: How can we deal properly with this?
      ex.printStackTrace();
    }

  if (clip != null)
    setClip(clip);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号