Beispiel #1
0
        public Pango.Fontset LoadFontset(Pango.FontDescription desc, Pango.Language language)
        {
            IntPtr raw_ret = pango_context_load_fontset(Handle, desc == null ? IntPtr.Zero : desc.Handle, language == null ? IntPtr.Zero : language.Handle);

            Pango.Fontset ret = GLib.Object.GetObject(raw_ret) as Pango.Fontset;
            return(ret);
        }
Beispiel #2
0
        bool InvokeNative(Pango.Fontset fontset, Pango.Font font)
        {
            bool __result = native_cb(fontset == null ? IntPtr.Zero : fontset.Handle, font == null ? IntPtr.Zero : font.Handle, __data);

            return(__result);
        }