|
ReactOS 0.4.17-dev-243-g1369312
|
#include <assert.h>#include <stdarg.h>#include "windef.h"#include "winbase.h"#include "wingdi.h"#include "objbase.h"#include "gdiplus.h"#include "gdiplus_private.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | region_header |
| struct | region_data_header |
| struct | path_header |
| struct | packed_point |
Macros | |
| #define | FLAGS_INTPATH 0x4000 |
Typedefs | |
| typedef struct packed_point | packed_point |
| typedef struct packed_point packed_point |
|
inlinestatic |
Definition at line 144 of file region.c.
Referenced by clone_element(), GdipCloneRegion(), GdipCombineRegionPath(), GdipCombineRegionRect(), and GdipCombineRegionRegion().
|
inlinestatic |
Definition at line 193 of file region.c.
Referenced by GdipCombineRegionPath(), GdipCombineRegionRect(), and GdipCombineRegionRegion().
| GpStatus WINGDIPAPI GdipCloneRegion | ( | GpRegion * | region, |
| GpRegion ** | clone | ||
| ) |
Definition at line 215 of file region.c.
Referenced by GdipCombineRegionRegion(), GdipGetClip(), GdipPlayMetafileRecord(), GdipSetClipRegion(), get_clip_hrgn(), get_region_scans_data(), init_container(), restore_container(), and SOFTWARE_GdipFillRegion().
| GpStatus WINGDIPAPI GdipCombineRegionPath | ( | GpRegion * | region, |
| GpPath * | path, | ||
| CombineMode | mode | ||
| ) |
Definition at line 236 of file region.c.
Referenced by GdipEnumerateMetafileSrcRectDestPoints(), GdipSetClipPath(), test_combinereplace(), test_getbounds(), test_getregiondata(), test_incombinedregion(), test_isvisiblepoint(), test_isvisiblerect(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipCombineRegionRect | ( | GpRegion * | region, |
| GDIPCONST GpRectF * | rect, | ||
| CombineMode | mode | ||
| ) |
Definition at line 282 of file region.c.
Referenced by GdipCombineRegionRectI(), get_visible_clip_region(), measure_ranges_callback(), SOFTWARE_GdipFillRegion(), test_clipping(), test_clipping_2(), test_combinereplace(), test_excludeinfinite(), test_getbounds(), test_gethrgn(), test_isequal(), test_isvisiblepoint(), test_isvisiblerect(), test_scans(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipCombineRegionRectI | ( | GpRegion * | region, |
| GDIPCONST GpRect * | rect, | ||
| CombineMode | mode | ||
| ) |
Definition at line 329 of file region.c.
Referenced by SOFTWARE_GdipDrawThinPath(), and test_getregiondata().
| GpStatus WINGDIPAPI GdipCombineRegionRegion | ( | GpRegion * | region1, |
| GpRegion * | region2, | ||
| CombineMode | mode | ||
| ) |
Definition at line 346 of file region.c.
Referenced by GdipPlayMetafileRecord(), GdipSetClipGraphics(), GdipSetClipHrgn(), GdipSetClipRect(), GdipSetClipRegion(), get_visible_clip_region(), METAFILE_PlaybackUpdateClip(), metafile_set_clip_region(), test_combinereplace(), test_getregiondata(), and test_incombinedregion().
| GpStatus WINGDIPAPI GdipCreateRegion | ( | GpRegion ** | region | ) |
Definition at line 390 of file region.c.
Referenced by GdipCreateFromHDC2(), GdipCreateRegionHrgn(), GdipCreateRegionRgnData(), GdipEnumerateMetafileSrcRectDestPoints(), GdipGetClipBounds(), GdipGetVisibleClipBounds(), GdipIsVisibleClipEmpty(), GdipIsVisiblePoint(), GdipIsVisibleRect(), get_visible_clip_region(), graphics_from_image(), metafile_deserialize_region(), test_clip_xform(), test_clipping(), test_clipping_2(), test_combinereplace(), test_excludeinfinite(), test_font_height_scaling(), test_GdipCreateRegionRgnData(), test_Get_Release_DC(), test_getbounds(), test_gethrgn(), test_getregiondata(), test_incombinedregion(), test_isempty(), test_isequal(), test_isinfinite(), test_isvisiblepoint(), test_isvisiblerect(), test_measure_string(), test_scans(), test_string_functions(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipCreateRegionHrgn | ( | HRGN | hrgn, |
| GpRegion ** | region | ||
| ) |
Definition at line 502 of file region.c.
Referenced by GdipSetClipHrgn(), and test_fromhrgn().
| GpStatus WINGDIPAPI GdipCreateRegionPath | ( | GpPath * | path, |
| GpRegion ** | region | ||
| ) |
Definition at line 425 of file region.c.
Referenced by GdipCombineRegionPath(), GdipCreateRegionHrgn(), GdipIsVisiblePathPoint(), GdipPlayMetafileRecord(), SOFTWARE_GdipDrawThinPath(), SOFTWARE_GdipFillPath(), test_gethrgn(), test_getregiondata(), and transform_region_element().
| GpStatus WINGDIPAPI GdipCreateRegionRect | ( | GDIPCONST GpRectF * | rect, |
| GpRegion ** | region | ||
| ) |
Definition at line 459 of file region.c.
Referenced by GdipCombineRegionRect(), GdipCreateRegionRectI(), GdipPlayMetafileRecord(), GdipSetClipRect(), test_clipping(), test_combinereplace(), test_fillregion(), test_get_set_clip(), test_gethrgn(), and test_incombinedregion().
| GpStatus WINGDIPAPI GdipCreateRegionRectI | ( | GDIPCONST GpRect * | rect, |
| GpRegion ** | region | ||
| ) |
Definition at line 939 of file region.c.
Referenced by test_GdipCreateRegionRgnData(), and test_region_data().
| GpStatus WINGDIPAPI GdipDeleteRegion | ( | GpRegion * | region | ) |
Definition at line 567 of file region.c.
Referenced by delete_container(), GdipCombineRegionPath(), GdipCombineRegionRect(), GdipCreateRegionHrgn(), GdipCreateRegionPath(), GdipCreateRegionRect(), GdipCreateRegionRgnData(), GdipDeleteGraphics(), GdipEnumerateMetafileSrcRectDestPoints(), GdipGetClip(), GdipGetClipBounds(), GdipGetVisibleClipBounds(), GdipIsVisibleClipEmpty(), GdipIsVisiblePathPoint(), GdipIsVisiblePoint(), GdipIsVisibleRect(), GdipPlayMetafileRecord(), GdipSetClipHrgn(), GdipSetClipRect(), GdipSetClipRegion(), get_clip_hrgn(), get_region_scans_data(), get_visible_clip_region(), metafile_deserialize_region(), metafile_free_object_table_entry(), restore_container(), SOFTWARE_GdipDrawThinPath(), SOFTWARE_GdipFillPath(), SOFTWARE_GdipFillRegion(), test_clip_xform(), test_clipping(), test_clipping_2(), test_combinereplace(), test_excludeinfinite(), test_fillregion(), test_font_height_scaling(), test_fromhrgn(), test_GdipCreateRegionRgnData(), test_Get_Release_DC(), test_get_set_clip(), test_getbounds(), test_gethrgn(), test_getregiondata(), test_incombinedregion(), test_isempty(), test_isequal(), test_isinfinite(), test_isvisiblepoint(), test_isvisiblerect(), test_measure_string(), test_region_data(), test_scans(), test_string_functions(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipGetRegionBounds | ( | GpRegion * | region, |
| GpGraphics * | graphics, | ||
| GpRectF * | rect | ||
| ) |
Definition at line 583 of file region.c.
Referenced by GdipGetClipBounds(), GdipGetRegionBoundsI(), GdipGetVisibleClipBounds(), GdipIsEmptyRegion(), test_clipping(), test_font_height_scaling(), test_getbounds(), and test_measure_string().
| GpStatus WINGDIPAPI GdipGetRegionBoundsI | ( | GpRegion * | region, |
| GpGraphics * | graphics, | ||
| GpRect * | rect | ||
| ) |
Definition at line 622 of file region.c.
| GpStatus WINGDIPAPI GdipGetRegionData | ( | GpRegion * | region, |
| BYTE * | buffer, | ||
| UINT | size, | ||
| UINT * | needed | ||
| ) |
Definition at line 740 of file region.c.
Referenced by get_region_type(), test_clip_xform(), test_combinereplace(), test_fromhrgn(), test_GdipCreateRegionRgnData(), test_getregiondata(), and test_region_data().
| GpStatus WINGDIPAPI GdipGetRegionDataSize | ( | GpRegion * | region, |
| UINT * | needed | ||
| ) |
Definition at line 978 of file region.c.
Referenced by get_region_type(), test_combinereplace(), test_fromhrgn(), test_getregiondata(), and test_region_data().
| GpStatus WINGDIPAPI GdipGetRegionHRgn | ( | GpRegion * | region, |
| GpGraphics * | graphics, | ||
| HRGN * | hrgn | ||
| ) |
Definition at line 1201 of file region.c.
Referenced by GDI32_GdipFillRegion(), GdipIsEqualRegion(), GdipIsVisiblePathPoint(), GdipIsVisibleRegionPoint(), GdipIsVisibleRegionRect(), get_clip_hrgn(), get_region_scans_data(), SOFTWARE_GdipDrawThinPath(), SOFTWARE_GdipFillRegion(), test_clipping(), test_clipping_2(), and test_gethrgn().
| GpStatus WINGDIPAPI GdipGetRegionScans | ( | GpRegion * | region, |
| GpRectF * | scans, | ||
| INT * | count, | ||
| GpMatrix * | matrix | ||
| ) |
Definition at line 1878 of file region.c.
Referenced by test_excludeinfinite(), and test_scans().
| GpStatus WINGDIPAPI GdipGetRegionScansCount | ( | GpRegion * | region, |
| UINT * | count, | ||
| GpMatrix * | matrix | ||
| ) |
Definition at line 1823 of file region.c.
Referenced by test_excludeinfinite(), and test_scans().
| GpStatus WINGDIPAPI GdipGetRegionScansI | ( | GpRegion * | region, |
| GpRect * | scans, | ||
| INT * | count, | ||
| GpMatrix * | matrix | ||
| ) |
Definition at line 1844 of file region.c.
Referenced by test_scans().
| GpStatus WINGDIPAPI GdipIsEmptyRegion | ( | GpRegion * | region, |
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1211 of file region.c.
Referenced by GdipIsClipEmpty(), GdipIsVisibleClipEmpty(), test_fromhrgn(), test_GdipCreateRegionRgnData(), test_get_set_clip(), test_isempty(), and test_string_functions().
| GpStatus WINGDIPAPI GdipIsEqualRegion | ( | GpRegion * | region, |
| GpRegion * | region2, | ||
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1233 of file region.c.
Referenced by test_isequal(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipIsInfiniteRegion | ( | GpRegion * | region, |
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1268 of file region.c.
Referenced by test_GdipCreateRegionRgnData(), test_get_set_clip(), test_isinfinite(), test_isvisiblepoint(), and test_isvisiblerect().
| GpStatus WINGDIPAPI GdipIsVisibleRegionPoint | ( | GpRegion * | region, |
| REAL | x, | ||
| REAL | y, | ||
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1529 of file region.c.
Referenced by GdipIsVisiblePoint(), GdipIsVisibleRegionPointI(), test_incombinedregion(), and test_isvisiblepoint().
| GpStatus WINGDIPAPI GdipIsVisibleRegionPointI | ( | GpRegion * | region, |
| INT | x, | ||
| INT | y, | ||
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1571 of file region.c.
Referenced by test_isvisiblepoint().
| GpStatus WINGDIPAPI GdipIsVisibleRegionRect | ( | GpRegion * | region, |
| REAL | x, | ||
| REAL | y, | ||
| REAL | w, | ||
| REAL | h, | ||
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1284 of file region.c.
Referenced by GdipIsVisibleRect(), GdipIsVisibleRegionRectI(), and test_isvisiblerect().
| GpStatus WINGDIPAPI GdipIsVisibleRegionRectI | ( | GpRegion * | region, |
| INT | x, | ||
| INT | y, | ||
| INT | w, | ||
| INT | h, | ||
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1315 of file region.c.
Referenced by test_isvisiblerect().
| GpStatus WINGDIPAPI GdipSetEmpty | ( | GpRegion * | region | ) |
Definition at line 1581 of file region.c.
Referenced by GdipCreateRegionHrgn(), GdipMeasureCharacterRanges(), test_clipping(), test_clipping_2(), test_GdipCreateRegionRgnData(), test_get_set_clip(), test_getbounds(), test_gethrgn(), test_getregiondata(), test_incombinedregion(), test_isempty(), test_isequal(), test_scans(), test_string_functions(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipSetInfinite | ( | GpRegion * | region | ) |
Definition at line 1596 of file region.c.
Referenced by GdipResetClip(), test_gethrgn(), test_getregiondata(), and test_isequal().
| GpStatus WINGDIPAPI GdipTransformRegion | ( | GpRegion * | region, |
| GpMatrix * | matrix | ||
| ) |
Definition at line 1702 of file region.c.
Referenced by GdipGetClip(), GdipGetVisibleClipBounds(), GdipSetClipHrgn(), GdipSetClipRect(), GdipSetClipRegion(), get_clip_hrgn(), get_region_scans_data(), metafile_set_clip_region(), SOFTWARE_GdipFillRegion(), test_clipping(), test_getregiondata(), and test_transform().
| GpStatus WINGDIPAPI GdipTranslateRegion | ( | GpRegion * | region, |
| REAL | dx, | ||
| REAL | dy | ||
| ) |
Definition at line 1742 of file region.c.
Referenced by GdipTranslateClip(), GdipTranslateRegionI(), test_getregiondata(), and test_translate().
| GpStatus WINGDIPAPI GdipTranslateRegionI | ( | GpRegion * | region, |
| INT | dx, | ||
| INT | dy | ||
| ) |
Definition at line 1757 of file region.c.
|
inlinestatic |
Definition at line 110 of file region.c.
Referenced by get_element_size(), and write_region_data().
|
static |
Definition at line 991 of file region.c.
Referenced by get_region_hrgn().
|
static |
Definition at line 1330 of file region.c.
Referenced by GdipGetRegionBounds(), GdipIsVisibleRegionPoint(), and get_region_bounding_box().
|
static |
Definition at line 1062 of file region.c.
Referenced by GdipGetRegionHRgn(), and get_region_hrgn().
|
static |
Definition at line 1764 of file region.c.
Referenced by GdipGetRegionScans(), GdipGetRegionScansCount(), and GdipGetRegionScansI().
|
inlinestatic |
Definition at line 136 of file region.c.
Referenced by GdipCreateRegion(), GdipCreateRegionPath(), GdipCreateRegionRect(), GdipSetEmpty(), and GdipSetInfinite().
|
static |
Definition at line 768 of file region.c.
Referenced by GdipCreateRegionRgnData(), and read_element().
|
static |
Definition at line 1612 of file region.c.
Referenced by GdipTransformRegion(), and transform_region_element().
|
static |
Definition at line 1713 of file region.c.
Referenced by GdipTranslateRegion(), and translate_region_element().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | gdiplus | ) |
Definition at line 643 of file region.c.
Referenced by write_element().
|
static |
Definition at line 655 of file region.c.
Referenced by write_element(), and write_region_data().
Definition at line 689 of file region.c.
Referenced by GdipGetRegionData(), GdipGetRegionDataSize(), and METAFILE_AddRegionObject().