Exemple #1
0
        public override bool Equals(object obj)
        {
            Class805 class805 = (Class805)obj;

            if ((int)this.char_0 == (int)class805.char_0)
            {
                return(this.shxFile_0 == class805.shxFile_0);
            }
            return(false);
        }
Exemple #2
0
        public static Class521 GetPolylines(
            ShxFile font,
            char character,
            GraphicsConfig config)
        {
            Class805 key = new Class805(font, character);
            Class521 class521;

            if (Class521.dictionary_0.TryGetValue(key, out class521))
            {
                return(class521);
            }
            ShxShape shape = font.GetShape(character);

            if (shape != null)
            {
                class521 = new Class521(font, shape, config);
                Class521.dictionary_0.Add(key, class521);
            }
            return(class521);
        }