Home
last modified time | relevance | path

Searched refs:FontFamily (Results 1 – 25 of 2089) sorted by relevance

12345678910>>...84

/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Drawing/Test/System.Drawing/
H A DFontFamilyTest.cs84 FontFamily ff = new FontFamily (name); in FontFamily_String()
98 FontFamily ff = new FontFamily (name, null); in FontFamily_String_FontCollection_Null()
118 FontFamily ff = new FontFamily (GenericFontFamilies.Monospace); in FontFamily_Monospace()
125 FontFamily ff = new FontFamily (GenericFontFamilies.SansSerif); in FontFamily_SansSerif()
134 FontFamily ff = new FontFamily (GenericFontFamilies.Serif); in FontFamily_Serif()
152 FontFamily ff = FontFamily.GenericMonospace; in GenericMonospace()
162 FontFamily ff = FontFamily.GenericSansSerif; in GenericSansSerif()
171 FontFamily ff = FontFamily.GenericSerif; in GenericSerif()
186 FontFamily[] ffc = FontFamily.GetFamilies (graphic); in GetFamilies()
193 FontFamily ff = FontFamily.GenericSerif; in Dispose_Double()
[all …]
H A DTestFont.cs51 using (FontFamily ff = new FontFamily (GenericFontFamilies.Monospace)) { in FixtureSetUp()
69 Assert.AreEqual (f.FontFamily, f2.FontFamily, "FontFamily"); in TestClone()
199 Assert.AreEqual (FontFamily.GenericSansSerif, f.FontFamily, "FontFamily"); in Font_StringNull_Float()
210 Assert.AreEqual (FontFamily.GenericMonospace, f.FontFamily, "FontFamily"); in Font_String_Float()
228 Assert.AreEqual (FontFamily.GenericMonospace, f.FontFamily, "FontFamily"); in Font_String_Float_FontStyle()
251 Assert.AreEqual (FontFamily.GenericMonospace, f.FontFamily, "FontFamily"); in Font_String_Float_FontStyle_GraphicsUnit()
274 Assert.AreEqual (FontFamily.GenericMonospace, f.FontFamily, "FontFamily"); in Font_String_Float_FontStyle_GraphicsUnit_Byte()
292 Assert.AreEqual (FontFamily.GenericMonospace, f.FontFamily, "FontFamily"); in Font_String_Float_FontStyle_GraphicsUnit_Byte_Bool()
319 Assert.AreEqual (FontFamily.GenericMonospace, f.FontFamily, "FontFamily"); in Font_FontFamily_Float()
337 Assert.AreEqual (FontFamily.GenericMonospace, f.FontFamily, "FontFamily"); in Font_FontFamily_Float_FontStyle()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/tests/
H A DFontFamilyTests.cs78 FontFamily fontFamily = FontFamily.GenericMonospace; in Equals_TestData()
110 FontFamily[] families = FontFamily.Families; in Families_Get_ReturnsExpected()
165 using (FontFamily fontFamily1 = FontFamily.GenericSerif) in GenericSerif_Get_ReturnsExpected()
187 using (FontFamily fontFamily = FontFamily.GenericSansSerif) in GetHashCode_Invoke_ReturnsNameHashCode()
228 FontFamily fontFamily = FontFamily.GenericMonospace; in IsStyleAvailable_Disposed_ThrowsArgumentException()
238 FontFamily fontFamily = FontFamily.GenericMonospace; in GetEmHeight_Disposed_ThrowsArgumentException()
270 FontFamily fontFamily = FontFamily.GenericMonospace; in GetName_Disposed_ThrowsArgumentException()
280 FontFamily fontFamily = FontFamily.GenericMonospace; in GetCellAscent_Disposed_ThrowsArgumentException()
290 FontFamily fontFamily = FontFamily.GenericMonospace; in GetCellDescent_Disposed_ThrowsArgumentException()
300 FontFamily fontFamily = FontFamily.GenericMonospace; in GetLineSpacing_Disposed_ThrowsArgumentException()
[all …]
H A DFontTests.cs297 using (FontFamily family = FontFamily.GenericMonospace) in Ctor_FamilyNamePrefixedWithAtSign_StripsSign()
329 using (FontFamily family = FontFamily.GenericSerif) in Ctor_DisposedFont_Success()
357 FontFamily family = FontFamily.GenericSansSerif; in Ctor_DisposedFamily_ThrowsArgumentException()
377 using (FontFamily family = FontFamily.GenericSansSerif) in Ctor_InvalidEmSize_ThrowsArgumentException()
401 using (FontFamily family = FontFamily.GenericSansSerif) in Ctor_InvalidUnit_ThrowsArgumentException()
418 using (FontFamily family = FontFamily.GenericSansSerif) in Clone_Invoke_ReturnsExpected()
437 using (FontFamily family = FontFamily.GenericSansSerif) in Clone_DisposedFont_ThrowsArgumentException()
448 FontFamily family = FontFamily.GenericSansSerif; in Equals_TestData()
525 using (FontFamily family = FontFamily.GenericSansSerif) in GetHeight_Parameterless_ReturnsExpected()
539 using (FontFamily family = FontFamily.GenericSansSerif) in GetHeight_Graphics_ReturnsExpected()
[all …]
/dports/x11-toolkits/pangomm/pangomm-2.40.1/pango/pangomm/
H A Dfontfamily.cc110 PangoFontFamily* FontFamily::gobj_copy() in gobj_copy()
116 FontFamily::FontFamily(const Glib::ConstructParams& construct_params) in FontFamily() function in Pango::FontFamily
123 FontFamily::FontFamily(PangoFontFamily* castitem) in FontFamily() function in Pango::FontFamily
129 FontFamily::FontFamily(FontFamily&& src) noexcept in FontFamily() function in Pango::FontFamily
133 FontFamily& FontFamily::operator=(FontFamily&& src) noexcept in operator =()
140 FontFamily::~FontFamily() noexcept in ~FontFamily()
144 FontFamily::CppClassType FontFamily::fontfamily_class_; // initialize static member
146 GType FontFamily::get_type() in get_type()
152 GType FontFamily::get_base_type() in get_base_type()
158 Glib::ustring FontFamily::get_name() const in get_name()
[all …]
H A Dfontfamily.h55 class FontFamily : public Glib::Object
61 using CppObjectType = FontFamily;
67 FontFamily(const FontFamily&) = delete;
68 FontFamily& operator=(const FontFamily&) = delete;
74 explicit FontFamily(const Glib::ConstructParams& construct_params);
75 explicit FontFamily(PangoFontFamily* castitem);
81 FontFamily(FontFamily&& src) noexcept;
82 FontFamily& operator=(FontFamily&& src) noexcept;
84 ~FontFamily() noexcept override;
185 Glib::RefPtr<Pango::FontFamily> wrap(PangoFontFamily* object, bool take_copy = false);
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/graphics/
H A DFontFamily.h37 class FontFamily {
39 FontFamily() { } in FontFamily() function
40 FontFamily(const FontFamily&);
41 FontFamily& operator=(const FontFamily&);
47 const FontFamily* next() const;
57 class SharedFontFamily : public FontFamily, public RefCounted<SharedFontFamily> {
68 bool operator==(const FontFamily&, const FontFamily&);
69 inline bool operator!=(const FontFamily& a, const FontFamily& b) { return !(a == b); }
71 inline const FontFamily* FontFamily::next() const in next()
76 inline void FontFamily::appendFamily(PassRefPtr<SharedFontFamily> family) in appendFamily()
[all …]
H A DFontFamily.cpp31 FontFamily::FontFamily(const FontFamily& other) in FontFamily() function in WebCore::FontFamily
37 FontFamily& FontFamily::operator=(const FontFamily& other) in operator =()
44 bool operator==(const FontFamily& a, const FontFamily& b) in operator ==()
48 const FontFamily* ap; in operator ==()
49 const FontFamily* bp; in operator ==()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/
H A Dfont_family.h39 class PLATFORM_EXPORT FontFamily {
43 FontFamily() = default;
44 ~FontFamily();
50 const FontFamily* Next() const;
65 class PLATFORM_EXPORT SharedFontFamily : public FontFamily,
79 PLATFORM_EXPORT bool operator==(const FontFamily&, const FontFamily&);
80 inline bool operator!=(const FontFamily& a, const FontFamily& b) {
84 inline FontFamily::~FontFamily() { in ~FontFamily()
92 inline const FontFamily* FontFamily::Next() const { in Next()
96 inline void FontFamily::AppendFamily(scoped_refptr<SharedFontFamily> family) { in AppendFamily()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/fonts/
H A Dfont_family.h39 class PLATFORM_EXPORT FontFamily {
43 FontFamily() = default;
44 ~FontFamily();
50 const FontFamily* Next() const;
65 class PLATFORM_EXPORT SharedFontFamily : public FontFamily,
79 PLATFORM_EXPORT bool operator==(const FontFamily&, const FontFamily&);
80 inline bool operator!=(const FontFamily& a, const FontFamily& b) {
84 inline FontFamily::~FontFamily() { in ~FontFamily()
92 inline const FontFamily* FontFamily::Next() const { in Next()
96 inline void FontFamily::AppendFamily(scoped_refptr<SharedFontFamily> family) { in AppendFamily()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Drawing/System.Drawing/
H A DFontFamily.cs47 internal FontFamily(IntPtr fntfamily) in FontFamily() method in System.Drawing.FontFamily
65 ~FontFamily() in ~FontFamily()
87 public FontFamily (GenericFontFamilies genericFamily) in FontFamily() method in System.Drawing.FontFamily
105 public FontFamily(string name) : this (name, null) in FontFamily() method in System.Drawing.FontFamily
126 public static FontFamily GenericMonospace {
130 public static FontFamily GenericSansSerif {
134 public static FontFamily GenericSerif {
135 get { return new FontFamily (GenericFontFamilies.Serif); }
197 FontFamily o = (obj as FontFamily); in Equals()
210 public static FontFamily[] Families {
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/plotters-backend-0.3.2/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { implementation
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/plotters-backend-0.3.2/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { impl
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/plotters-backend-0.3.2/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { implementation
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/plotters-backend-0.3.0/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { impl
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/plotters-backend/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { implementation
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/plotters-backend-0.3.0/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { implementation
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/misc/xplr/xplr-0.17.0/cargo-crates/plotters-backend-0.3.2/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { impl
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/graphics/pastel/pastel-0.8.1/cargo-crates/plotters-backend-0.3.2/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { implementation
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/textproc/jql/jql-3.0.6/cargo-crates/plotters-backend-0.3.2/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { implementation
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/benchmarks/inferno/inferno-0.10.9/cargo-crates/plotters-backend-0.3.2/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { impl
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/textproc/angle-grinder/angle-grinder-0.18.0/cargo-crates/plotters-backend-0.3.0/src/
H A Dtext.rs8 pub enum FontFamily<'a> { enum
19 impl<'a> FontFamily<'a> { implementation
24 FontFamily::Serif => "serif", in as_str()
25 FontFamily::SansSerif => "sans-serif", in as_str()
26 FontFamily::Monospace => "monospace", in as_str()
27 FontFamily::Name(face) => face, in as_str()
32 impl<'a> From<&'a str> for FontFamily<'a> { implementation
33 fn from(from: &'a str) -> FontFamily<'a> { in from()
35 "serif" => FontFamily::Serif, in from()
38 _ => FontFamily::Name(from), in from()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/plotters-0.2.12/src/style/font/
H A Dfont_desc.rs46 family: FontFamily<'a>,
56 pub enum FontFamily<'a> { enum
67 impl<'a> FontFamily<'a> { implementation
72 FontFamily::Serif => "serif", in as_str()
74 FontFamily::Monospace => "monospace", in as_str()
75 FontFamily::Name(face) => face, in as_str()
80 impl<'a> From<&'a str> for FontFamily<'a> { implementation
81 fn from(from: &'a str) -> FontFamily<'a> { in from()
83 "serif" => FontFamily::Serif, in from()
86 _ => FontFamily::Name(from), in from()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/src/System/Drawing/
H A DFontFamily.cs17 public sealed class FontFamily : MarshalByRefObject, IDisposable class
43 internal FontFamily(IntPtr family) => SetNativeFamily(family);
52 internal FontFamily(string name, bool createDefaultOnFail) in FontFamily() method in System.Drawing.FontFamily
61 public FontFamily(string name) => CreateFontFamily(name, null); in FontFamily() method in System.Drawing.FontFamily
108 public FontFamily(GenericFontFamilies genericFamily) in FontFamily() method in System.Drawing.FontFamily
131 ~FontFamily() => Dispose(false); in ~FontFamily()
142 if (!(obj is FontFamily otherFamily)) in Equals()
225 public static FontFamily GenericSansSerif => new FontFamily(GetGdipGenericSansSerif());
239 public static FontFamily GenericSerif => new FontFamily(GenericFontFamilies.Serif);
244 public static FontFamily GenericMonospace => new FontFamily(GenericFontFamilies.Monospace);
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/dom_distiller/core/
H A Ddistilled_page_prefs_unittests.cc21 void OnChangeFontFamily(mojom::FontFamily new_font) override { in OnChangeFontFamily()
25 mojom::FontFamily GetFontFamily() { return font_; } in GetFontFamily()
38 mojom::FontFamily font_;
65 EXPECT_EQ(mojom::FontFamily::kSansSerif, obs.GetFontFamily()); in TEST_F()
67 EXPECT_EQ(mojom::FontFamily::kMonospace, obs.GetFontFamily()); in TEST_F()
69 distilled_page_prefs_->SetFontFamily(mojom::FontFamily::kSerif); in TEST_F()
71 EXPECT_EQ(mojom::FontFamily::kSerif, obs.GetFontFamily()); in TEST_F()
83 EXPECT_EQ(mojom::FontFamily::kSerif, obs.GetFontFamily()); in TEST_F()
84 EXPECT_EQ(mojom::FontFamily::kSerif, obs2.GetFontFamily()); in TEST_F()
90 EXPECT_EQ(mojom::FontFamily::kSerif, obs.GetFontFamily()); in TEST_F()
[all …]

12345678910>>...84