 | PdfiumFPDFShadingType1_GetDomain Method |
Get the rectangular domain of coordinates over which the color function(s) are defined.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingType1_GetDomain(
IntPtr shadding_pattern,
out float xMin,
out float yMin,
out float xMax,
out float yMax
)
Public Shared Function FPDFShadingType1_GetDomain (
shadding_pattern As IntPtr,
<OutAttribute> ByRef xMin As Single,
<OutAttribute> ByRef yMin As Single,
<OutAttribute> ByRef xMax As Single,
<OutAttribute> ByRef yMax As Single
) As Boolean
public:
static bool FPDFShadingType1_GetDomain(
IntPtr shadding_pattern,
[OutAttribute] float% xMin,
[OutAttribute] float% yMin,
[OutAttribute] float% xMax,
[OutAttribute] float% yMax
)
static member FPDFShadingType1_GetDomain :
shadding_pattern : IntPtr *
xMin : float32 byref *
yMin : float32 byref *
xMax : float32 byref *
yMax : float32 byref -> bool
public static boolean FPDFShadingType1_GetDomain(
IntPtr shadding_pattern,
/** @attribute OutAttribute */ /** @ref */float xMin,
/** @attribute OutAttribute */ /** @ref */float yMin,
/** @attribute OutAttribute */ /** @ref */float xMax,
/** @attribute OutAttribute */ /** @ref */float yMax
)
Patagames.Pdf.Pdfium.FPDFShadingType1_GetDomain = function(shadding_pattern, xMin, yMin, xMax, yMax);
Parameters
- shadding_pattern IntPtr
- The handle to the shading pattern.
- xMin Single
- The minimum value of the rectangular domain of coordinates in horizontal dimension.
- yMin Single
- The minimum value of the rectangular domain of coordinates in vertical dimension.
- xMax Single
- The maximum value of the rectangular domain of coordinates in horizontal dimension.
- yMax Single
- The maximum value of the rectangular domain of coordinates in vertical dimension.
Return Value
BooleanTrue for successful; false if any error has occurred.
Remarks
The domain rectangle establishes an internal coordinate space for the shading that is independent of the target coordinate space in which it is to be painted.
See Also