Home
last modified time | relevance | path

Searched refs:hatchStyle (Results 1 – 25 of 76) sorted by relevance

1234

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/tests/Drawing2D/
H A DHatchBrushTests.cs19 public void Ctor_HatchStyle_ForeColor(HatchStyle hatchStyle, Color foreColor) in Ctor_HatchStyle_ForeColor() argument
21 var brush = new HatchBrush(hatchStyle, foreColor); in Ctor_HatchStyle_ForeColor()
22 Assert.Equal(hatchStyle, brush.HatchStyle); in Ctor_HatchStyle_ForeColor()
38 …public void Ctor_HatchStyle_ForeColor_BackColor(HatchStyle hatchStyle, Color foreColor, Color back… in Ctor_HatchStyle_ForeColor_BackColor() argument
40 var brush = new HatchBrush(hatchStyle, foreColor, backColor); in Ctor_HatchStyle_ForeColor_BackColor()
41 Assert.Equal(hatchStyle, brush.HatchStyle); in Ctor_HatchStyle_ForeColor_BackColor()
53 public void Ctor_InvalidHatchStyle_ThrowsArgumentException(HatchStyle hatchStyle) in Ctor_InvalidHatchStyle_ThrowsArgumentException() argument
55 …sions.Throws<ArgumentException>("hatchstyle", null, () => new HatchBrush(hatchStyle, Color.Empty)); in Ctor_InvalidHatchStyle_ThrowsArgumentException()
56 …ons.Throws<ArgumentException>("hatchstyle", null, () => new HatchBrush(hatchStyle, Color.Empty, Co… in Ctor_InvalidHatchStyle_ThrowsArgumentException()
/dports/graphics/krita/krita-4.4.8/libs/flake/
H A DKoHatchBackground.cpp151 KoGenStyle hatchStyle(KoGenStyle::HatchStyle /*no family name*/); in saveHatchStyle() local
152 hatchStyle.addAttribute("draw:display-name", d->name); in saveHatchStyle()
153 hatchStyle.addAttribute("draw:color", d->lineColor.name()); in saveHatchStyle()
155 hatchStyle.addAttribute("draw:distance", d->distance); in saveHatchStyle()
157 hatchStyle.addAttribute("draw:rotation", QString("%1").arg(d->angle * 10)); in saveHatchStyle()
161 hatchStyle.addAttribute("draw:style", "single"); in saveHatchStyle()
164 hatchStyle.addAttribute("draw:style", "double"); in saveHatchStyle()
167 hatchStyle.addAttribute("draw:style", "triple"); in saveHatchStyle()
171 return context.mainStyles().insert(hatchStyle, "hatch"); in saveHatchStyle()
/dports/editors/calligra/calligra-3.2.1/libs/flake/
H A DKoHatchBackground.cpp148 KoGenStyle hatchStyle(KoGenStyle::HatchStyle /*no family name*/); in saveHatchStyle() local
149 hatchStyle.addAttribute("draw:display-name", d->name); in saveHatchStyle()
150 hatchStyle.addAttribute("draw:color", d->lineColor.name()); in saveHatchStyle()
152 hatchStyle.addAttributePt("draw:distance", d->distance); in saveHatchStyle()
154 hatchStyle.addAttribute("draw:rotation", QString("%1").arg(d->angle * 10)); in saveHatchStyle()
158 hatchStyle.addAttribute("draw:style", "single"); in saveHatchStyle()
161 hatchStyle.addAttribute("draw:style", "double"); in saveHatchStyle()
164 hatchStyle.addAttribute("draw:style", "triple"); in saveHatchStyle()
168 return context.mainStyles().insert(hatchStyle, "hatch"); in saveHatchStyle()
/dports/x11-toolkits/libgdiplus/libgdiplus-6.0.4/src/
H A Dhatchbrush-private.h43 #define gdip_hatch_get_width(hbr) (hatches_const[hbr->hatchStyle][0])
44 #define gdip_hatch_get_height(hbr) (hatches_const[hbr->hatchStyle][1])
45 #define gdip_hatch_get_line_width(hbr) (hatches_const[hbr->hatchStyle][2])
51 GpHatchStyle hatchStyle; member
H A Dhatchbrush.c264 BOOL dotted = (hbr->hatchStyle == HatchStyleDottedGrid); in draw_cross_hatch()
274 if (hbr->hatchStyle == HatchStyleDottedGrid) in draw_cross_hatch()
324 switch (hbr->hatchStyle) { in draw_percent_hatch()
361 if (hbr->hatchStyle == HatchStyle60Percent) { in draw_30_percent_hatch()
378 if (hbr->hatchStyle == HatchStyleDottedDiamond) { in draw_30_percent_hatch()
522 if (hbr->hatchStyle == HatchStyleDarkDownwardDiagonal) { in draw_dark_diagonal_hatch()
580 if (hbr->hatchStyle == HatchStyleDashedUpwardDiagonal) { in draw_dashed_diagonal_hatch()
1115 switch (hbr->hatchStyle) { in gdip_hatch_setup()
1308 result->hatchStyle = hatch->hatchStyle; in gdip_hatch_clone()
1350 result->hatchStyle = hatchstyle; in GdipCreateHatchBrush()
[all …]
/dports/x11-toolkits/libgdiplus/libgdiplus-6.0.4/tests/
H A Dtesthatchbrush.c33 GpHatchStyle hatchStyle; in test_clone() local
46 GdipGetHatchStyle ((GpHatch *) clone, &hatchStyle); in test_clone()
47 assertEqualInt (hatchStyle, HatchStyle10Percent); in test_clone()
113 GpHatchStyle hatchStyle; in test_getHatchStyle() local
117 status = GdipGetHatchStyle (brush, &hatchStyle); in test_getHatchStyle()
119 assertEqualInt (hatchStyle, HatchStyle05Percent); in test_getHatchStyle()
122 status = GdipGetHatchStyle (NULL, &hatchStyle); in test_getHatchStyle()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/src/System/Drawing/Drawing2D/
H A DHatchBrush.cs49 int hatchStyle;
50 …tatus = SafeNativeMethods.Gdip.GdipGetHatchStyle(new HandleRef(this, NativeBrush), out hatchStyle);
53 return (HatchStyle)hatchStyle;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/xfa/fgas/graphics/
H A Dcfgas_gepattern.cpp9 CFGAS_GEPattern::CFGAS_GEPattern(FX_HatchStyle hatchStyle, in CFGAS_GEPattern() argument
12 : m_hatchStyle(hatchStyle), m_foreArgb(foreArgb), m_backArgb(backArgb) {} in CFGAS_GEPattern()
H A Dcfgas_gepattern.h19 CFGAS_GEPattern(FX_HatchStyle hatchStyle,
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/xfa/fxgraphics/
H A Dcxfa_gepattern.cpp9 CXFA_GEPattern::CXFA_GEPattern(FX_HatchStyle hatchStyle, in CXFA_GEPattern() argument
12 : m_hatchStyle(hatchStyle), m_foreArgb(foreArgb), m_backArgb(backArgb) {} in CXFA_GEPattern()
H A Dcxfa_gepattern.h19 CXFA_GEPattern(FX_HatchStyle hatchStyle,
/dports/graphics/krita/krita-4.4.8/libs/odf/
H A DKoOdfGraphicStyles.cpp183 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
184 hatchStyle.addAttribute("draw:rotation", 0); in saveOdfHatchStyle()
187 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
188 hatchStyle.addAttribute("draw:rotation", 450); in saveOdfHatchStyle()
191 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
192 hatchStyle.addAttribute("draw:rotation", 900); in saveOdfHatchStyle()
195 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
196 hatchStyle.addAttribute("draw:rotation", 1350); in saveOdfHatchStyle()
200 hatchStyle.addAttribute("draw:rotation", 0); in saveOdfHatchStyle()
204 hatchStyle.addAttribute("draw:rotation", 450); in saveOdfHatchStyle()
[all …]
/dports/editors/calligra/calligra-3.2.1/libs/odf/
H A DKoOdfGraphicStyles.cpp182 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
183 hatchStyle.addAttribute("draw:rotation", 0); in saveOdfHatchStyle()
186 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
187 hatchStyle.addAttribute("draw:rotation", 450); in saveOdfHatchStyle()
190 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
191 hatchStyle.addAttribute("draw:rotation", 900); in saveOdfHatchStyle()
194 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
195 hatchStyle.addAttribute("draw:rotation", 1350); in saveOdfHatchStyle()
199 hatchStyle.addAttribute("draw:rotation", 0); in saveOdfHatchStyle()
203 hatchStyle.addAttribute("draw:rotation", 450); in saveOdfHatchStyle()
[all …]
/dports/editors/calligraplan/calligraplan-3.3.0/src/libs/odf/
H A DKoOdfGraphicStyles.cpp183 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
184 hatchStyle.addAttribute("draw:rotation", 0); in saveOdfHatchStyle()
187 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
188 hatchStyle.addAttribute("draw:rotation", 450); in saveOdfHatchStyle()
191 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
192 hatchStyle.addAttribute("draw:rotation", 900); in saveOdfHatchStyle()
195 hatchStyle.addAttribute("draw:style", "single"); in saveOdfHatchStyle()
196 hatchStyle.addAttribute("draw:rotation", 1350); in saveOdfHatchStyle()
200 hatchStyle.addAttribute("draw:rotation", 0); in saveOdfHatchStyle()
204 hatchStyle.addAttribute("draw:rotation", 450); in saveOdfHatchStyle()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/xfa/fxgraphics/
H A Dcfx_pattern.cpp9 CFX_Pattern::CFX_Pattern(FX_HatchStyle hatchStyle, in CFX_Pattern() argument
13 : m_hatchStyle(hatchStyle), m_foreArgb(foreArgb), m_backArgb(backArgb) { in CFX_Pattern()
/dports/graphics/wdune/wdune-1.926/src/
H A DNodeFillProperties.h42 FieldIndex hatchStyle; variable
62 fieldMacros(SFInt32, hatchStyle, ProtoFillProperties)
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/src/msw/
H A Dbrush.cpp166 int hatchStyle = TranslateHatchStyle(m_style); in GetHBRUSH() local
167 if ( hatchStyle == -1 ) in GetHBRUSH()
195 m_hBrush = ::CreateHatchBrush(hatchStyle, m_colour.GetPixel()); in GetHBRUSH()
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/msw/
H A Dbrush.cpp173 int hatchStyle = TranslateHatchStyle(m_style); in GetHBRUSH() local
174 if ( hatchStyle == -1 ) in GetHBRUSH()
204 m_hBrush = ::CreateHatchBrush(hatchStyle, m_colour.GetPixel()); in GetHBRUSH()
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/msw/
H A Dbrush.cpp173 int hatchStyle = TranslateHatchStyle(m_style); in GetHBRUSH() local
174 if ( hatchStyle == -1 ) in GetHBRUSH()
204 m_hBrush = ::CreateHatchBrush(hatchStyle, m_colour.GetPixel()); in GetHBRUSH()
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/msw/
H A Dbrush.cpp173 int hatchStyle = TranslateHatchStyle(m_style); in GetHBRUSH() local
174 if ( hatchStyle == -1 ) in GetHBRUSH()
204 m_hBrush = ::CreateHatchBrush(hatchStyle, m_colour.GetPixel()); in GetHBRUSH()
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/msw/
H A Dbrush.cpp173 int hatchStyle = TranslateHatchStyle(m_style); in GetHBRUSH() local
174 if ( hatchStyle == -1 ) in GetHBRUSH()
204 m_hBrush = ::CreateHatchBrush(hatchStyle, m_colour.GetPixel()); in GetHBRUSH()
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/msw/
H A Dbrush.cpp174 int hatchStyle = TranslateHatchStyle(m_style); in GetHBRUSH() local
175 if ( hatchStyle == -1 ) in GetHBRUSH()
205 m_hBrush = ::CreateHatchBrush(hatchStyle, m_colour.GetPixel()); in GetHBRUSH()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/msw/
H A Dbrush.cpp174 int hatchStyle = TranslateHatchStyle(m_style); in GetHBRUSH() local
175 if ( hatchStyle == -1 ) in GetHBRUSH()
205 m_hBrush = ::CreateHatchBrush(hatchStyle, m_colour.GetPixel()); in GetHBRUSH()
/dports/editors/calligra/calligra-3.2.1/filters/karbon/xfig/
H A DXFigOdgWriter.cpp928 KoGenStyle hatchStyle(KoGenStyle::HatchStyle); in writeHatch() local
1004 hatchStyle.addAttribute("draw:display-name", colorString+QLatin1String(displayName)); in writeHatch()
1005 hatchStyle.addAttribute("draw:style", style); in writeHatch()
1006 hatchStyle.addAttribute("draw:color", colorString); in writeHatch()
1007 hatchStyle.addAttribute("draw:distance", distance); in writeHatch()
1008 hatchStyle.addAttribute("draw:rotation", rotation); in writeHatch()
1010 m_StyleCollector.insert(hatchStyle, QLatin1String("hatchStyle")); in writeHatch()
/dports/editors/calligra/calligra-3.2.1/filters/sheets/excel/import/
H A Dexcelimporttoods.cc1675 KoGenStyle hatchStyle(KoGenStyle::HatchStyle); in processFormat() local
1676 hatchStyle.addAttribute("draw:color", "#000000"); in processFormat()
1680 hatchStyle.addAttribute("draw:style", "single"); in processFormat()
1681 hatchStyle.addAttribute("draw:rotation", 0); in processFormat()
1684 hatchStyle.addAttribute("draw:style", "single"); in processFormat()
1685 hatchStyle.addAttribute("draw:rotation", 900); in processFormat()
1689 hatchStyle.addAttribute("draw:style", "single"); in processFormat()
1690 hatchStyle.addAttribute("draw:rotation", 450); in processFormat()
1694 hatchStyle.addAttribute("draw:rotation", 1350); in processFormat()
1698 hatchStyle.addAttribute("draw:rotation", 0); in processFormat()
[all …]

1234