|
ReactOS 0.4.16-dev-1946-g52006dd
|
#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 140 of file region.c.
Referenced by clone_element(), GdipCloneRegion(), GdipCombineRegionPath(), GdipCombineRegionRect(), and GdipCombineRegionRegion().
|
inlinestatic |
Definition at line 189 of file region.c.
Referenced by GdipCombineRegionPath(), GdipCombineRegionRect(), and GdipCombineRegionRegion().
| GpStatus WINGDIPAPI GdipCloneRegion | ( | GpRegion * | region, |
| GpRegion ** | clone | ||
| ) |
Definition at line 211 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 232 of file region.c.
Referenced by GdipEnumerateMetafileSrcRectDestPoints(), GdipSetClipPath(), test_combinereplace(), test_getregiondata(), test_isvisiblepoint(), test_isvisiblerect(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipCombineRegionRect | ( | GpRegion * | region, |
| GDIPCONST GpRectF * | rect, | ||
| CombineMode | mode | ||
| ) |
Definition at line 278 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 325 of file region.c.
Referenced by 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(), and test_getregiondata().
| 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_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 506 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_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_get_set_clip(), and test_gethrgn().
| GpStatus WINGDIPAPI GdipCreateRegionRectI | ( | GDIPCONST GpRect * | rect, |
| GpRegion ** | region | ||
| ) |
Definition at line 488 of file region.c.
Referenced by test_getregiondata().
Definition at line 946 of file region.c.
Referenced by test_GdipCreateRegionRgnData(), and test_region_data().
| GpStatus WINGDIPAPI GdipDeleteRegion | ( | GpRegion * | region | ) |
Definition at line 571 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_GdipFillPath(), SOFTWARE_GdipFillRegion(), test_clip_xform(), test_clipping(), test_clipping_2(), test_combinereplace(), test_excludeinfinite(), test_font_height_scaling(), test_fromhrgn(), test_GdipCreateRegionRgnData(), test_Get_Release_DC(), test_get_set_clip(), test_getbounds(), test_gethrgn(), test_getregiondata(), 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 587 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 629 of file region.c.
Referenced by GdipGetClipBoundsI().
| GpStatus WINGDIPAPI GdipGetRegionData | ( | GpRegion * | region, |
| BYTE * | buffer, | ||
| UINT | size, | ||
| UINT * | needed | ||
| ) |
Definition at line 747 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 985 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 1194 of file region.c.
Referenced by GDI32_GdipFillRegion(), GdipGetRegionBounds(), GdipIsEqualRegion(), GdipIsVisiblePathPoint(), GdipIsVisibleRegionPoint(), GdipIsVisibleRegionRect(), get_clip_hrgn(), get_region_scans_data(), SOFTWARE_GdipFillRegion(), test_clipping(), test_clipping_2(), and test_gethrgn().
| GpStatus WINGDIPAPI GdipGetRegionScans | ( | GpRegion * | region, |
| GpRectF * | scans, | ||
| INT * | count, | ||
| GpMatrix * | matrix | ||
| ) |
Definition at line 1656 of file region.c.
Referenced by test_excludeinfinite(), and test_scans().
| GpStatus WINGDIPAPI GdipGetRegionScansCount | ( | GpRegion * | region, |
| UINT * | count, | ||
| GpMatrix * | matrix | ||
| ) |
Definition at line 1601 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 1622 of file region.c.
Referenced by test_scans().
| GpStatus WINGDIPAPI GdipIsEmptyRegion | ( | GpRegion * | region, |
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1204 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 1226 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 1261 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 1320 of file region.c.
Referenced by GdipIsVisiblePoint(), GdipIsVisibleRegionPointI(), and test_isvisiblepoint().
| GpStatus WINGDIPAPI GdipIsVisibleRegionPointI | ( | GpRegion * | region, |
| INT | x, | ||
| INT | y, | ||
| GpGraphics * | graphics, | ||
| BOOL * | res | ||
| ) |
Definition at line 1349 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 1277 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 1308 of file region.c.
Referenced by test_isvisiblerect().
| GpStatus WINGDIPAPI GdipSetEmpty | ( | GpRegion * | region | ) |
Definition at line 1359 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_isempty(), test_isequal(), test_scans(), test_string_functions(), test_transform(), and test_translate().
| GpStatus WINGDIPAPI GdipSetInfinite | ( | GpRegion * | region | ) |
Definition at line 1374 of file region.c.
Referenced by GdipResetClip(), test_gethrgn(), test_getregiondata(), and test_isequal().
| GpStatus WINGDIPAPI GdipTransformRegion | ( | GpRegion * | region, |
| GpMatrix * | matrix | ||
| ) |
Definition at line 1480 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 1520 of file region.c.
Referenced by GdipTranslateClip(), GdipTranslateClipI(), GdipTranslateRegionI(), test_getregiondata(), and test_translate().
| GpStatus WINGDIPAPI GdipTranslateRegionI | ( | GpRegion * | region, |
| INT | dx, | ||
| INT | dy | ||
| ) |
Definition at line 1535 of file region.c.
|
inlinestatic |
Definition at line 106 of file region.c.
Referenced by get_element_size(), and write_region_data().
|
static |
Definition at line 998 of file region.c.
Referenced by get_region_hrgn().
|
static |
Definition at line 1062 of file region.c.
Referenced by GdipGetRegionHRgn(), and get_region_hrgn().
|
static |
Definition at line 1542 of file region.c.
Referenced by GdipGetRegionScans(), GdipGetRegionScansCount(), and GdipGetRegionScansI().
|
inlinestatic |
Definition at line 132 of file region.c.
Referenced by GdipCreateRegion(), GdipCreateRegionPath(), GdipCreateRegionRect(), GdipSetEmpty(), and GdipSetInfinite().
|
static |
Definition at line 775 of file region.c.
Referenced by GdipCreateRegionRgnData(), and read_element().
|
static |
Definition at line 1390 of file region.c.
Referenced by GdipTransformRegion(), and transform_region_element().
|
static |
Definition at line 1491 of file region.c.
Referenced by GdipTranslateRegion(), and translate_region_element().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | gdiplus | ) |
Definition at line 650 of file region.c.
Referenced by write_element().
|
static |
Definition at line 662 of file region.c.
Referenced by write_element(), and write_region_data().
Definition at line 696 of file region.c.
Referenced by GdipGetRegionData(), GdipGetRegionDataSize(), and METAFILE_AddRegionObject().