示例#1
0
        public virtual bool equals(FontRenderContext frc)
        {
            if (this == frc)
            {
                return(true);
            }

            if (frc == null)
            {
                return(false);
            }

            if (!frc.getTransform().equals(this.getTransform()) &&
                !frc.isAntiAliased() == this.fAntiAliased &&
                !frc.usesFractionalMetrics() == this.fFractionalMetrics)
            {
                return(false);
            }
            return(true);
        }
示例#2
0
        public virtual bool equals(FontRenderContext frc)
        {
            if (this == frc)
            {
                return true;
            }

            if (frc == null)
            {
                return false;
            }

            if (!frc.getTransform().equals(this.getTransform()) &&
                !frc.isAntiAliased() == this.fAntiAliased &&
                !frc.usesFractionalMetrics() == this.fFractionalMetrics)
            {
                return false;
            }
            return true;
        }