SharpDX.Direct2D1
No documentation.
ID2D1RectangleGeometry
No documentation.
ID2D1Geometry
No documentation.
ID2D1Resource
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1Resource::GetFactory([Out] ID2D1Factory** factory)
No documentation.
GetFactory
void ID2D1Resource::GetFactory([Out] ID2D1Factory** factory)
Default flattening tolerance used for all methods that are not explicitly using it. Default is set to 0.25f.
Combines this geometry with the specified geometry and stores the result in an .
The geometry to combine with this instance.
The type of combine operation to perform.
The result of the combine operation.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT CombineWithGeometry([In] ID2D1Geometry* inputGeometry,[None] D2D1_COMBINE_MODE combineMode,[In, Optional] const D2D1_MATRIX_3X2_F* inputGeometryTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Combines this geometry with the specified geometry and stores the result in an .
The geometry to combine with this instance.
The type of combine operation to perform.
The maximum bounds on the distance between points in the polygonal approximation of the geometries. Smaller values produce more accurate results but cause slower execution.
The result of the combine operation.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT CombineWithGeometry([In] ID2D1Geometry* inputGeometry,[None] D2D1_COMBINE_MODE combineMode,[In, Optional] const D2D1_MATRIX_3X2_F* inputGeometryTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Combines this geometry with the specified geometry and stores the result in an .
The geometry to combine with this instance.
The type of combine operation to perform.
The transform to apply to inputGeometry before combining, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometries. Smaller values produce more accurate results but cause slower execution.
The result of the combine operation.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT CombineWithGeometry([In] ID2D1Geometry* inputGeometry,[None] D2D1_COMBINE_MODE combineMode,[In, Optional] const D2D1_MATRIX_3X2_F* inputGeometryTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Describes the intersection between this geometry and the specified geometry. The comparison is performed by using the specified flattening tolerance.
When interpreting the returned relation value, it is important to remember that the member of the D2D1_GEOMETRY_RELATION enumeration type means that this geometry is contained inside inputGeometry, not that this geometry contains inputGeometry. For more information about how to interpret other possible return values, see .
The geometry to test.
When this method returns, contains a reference to a value that describes how this geometry is related to inputGeometry. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::CompareWithGeometry([In] ID2D1Geometry* inputGeometry,[In, Optional] const D2D1_MATRIX_3X2_F* inputGeometryTransform,[None] float flatteningTolerance,[Out] D2D1_GEOMETRY_RELATION* relation)
Describes the intersection between this geometry and the specified geometry. The comparison is performed by using the specified flattening tolerance.
When interpreting the returned relation value, it is important to remember that the member of the D2D1_GEOMETRY_RELATION enumeration type means that this geometry is contained inside inputGeometry, not that this geometry contains inputGeometry. For more information about how to interpret other possible return values, see .
The geometry to test.
The maximum bounds on the distance between points in the polygonal approximation of the geometries. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains a reference to a value that describes how this geometry is related to inputGeometry. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::CompareWithGeometry([In] ID2D1Geometry* inputGeometry,[In, Optional] const D2D1_MATRIX_3X2_F* inputGeometryTransform,[None] float flatteningTolerance,[Out] D2D1_GEOMETRY_RELATION* relation)
Computes the area of the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
When this this method returns, contains a reference to the area of the transformed, flattened version of this geometry. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::ComputeArea([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] float* area)
Computes the area of the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
When this this method returns, contains a reference to the area of the transformed, flattened version of this geometry. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::ComputeArea([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] float* area)
Calculates the length of the geometry as though each segment were unrolled into a line.
When this method returns, contains a reference to the length of the geometry. For closed geometries, the length includes an implicit closing segment. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::ComputeLength([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] float* length)
Calculates the length of the geometry as though each segment were unrolled into a line.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains a reference to the length of the geometry. For closed geometries, the length includes an implicit closing segment. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::ComputeLength([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] float* length)
Calculates the point and tangent vector at the specified distance along the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
Whenthis method returns, contains a reference to the tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.
The location at the specified distance along the geometry. If the geometry is empty, this point contains NaN as its x and y values.
HRESULT ID2D1Geometry::ComputePointAtLength([None] float length,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out, Optional] D2D1_POINT_2F* point,[Out, Optional] D2D1_POINT_2F* unitTangentVector)
Calculates the point and tangent vector at the specified distance along the geometry after it has been transformed by the specified matrix and flattened using the specified tolerance.
The distance along the geometry of the point and tangent to find. If this distance is less then 0, this method calculates the first point in the geometry. If this distance is greater than the length of the geometry, this method calculates the last point in the geometry.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
Whenthis method returns, contains a reference to the tangent vector at the specified distance along the geometry. If the geometry is empty, this vector contains NaN as its x and y values. You must allocate storage for this parameter.
The location at the specified distance along the geometry. If the geometry is empty, this point contains NaN as its x and y values.
HRESULT ID2D1Geometry::ComputePointAtLength([None] float length,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out, Optional] D2D1_POINT_2F* point,[Out, Optional] D2D1_POINT_2F* unitTangentVector)
Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance.
The point to test.
When this method returns, contains a bool value that is true if the area filled by the geometry contains point; otherwise, false.You must allocate storage for this parameter.
HRESULT ID2D1Geometry::FillContainsPoint([None] D2D1_POINT_2F point,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance.
The point to test.
When this method returns, contains a bool value that is true if the area filled by the geometry contains point; otherwise, false.You must allocate storage for this parameter.
HRESULT ID2D1Geometry::FillContainsPoint([None] D2D1_POINT_2F point,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance.
The point to test.
The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the fill by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains a bool value that is true if the area filled by the geometry contains point; otherwise, false.You must allocate storage for this parameter.
HRESULT ID2D1Geometry::FillContainsPoint([None] D2D1_POINT_2F point,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance.
The point to test.
The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the fill by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains a bool value that is true if the area filled by the geometry contains point; otherwise, false.You must allocate storage for this parameter.
HRESULT ID2D1Geometry::FillContainsPoint([None] D2D1_POINT_2F point,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Indicates whether the area filled by the geometry would contain the specified point given the specified flattening tolerance.
The point to test.
The transform to apply to the geometry prior to testing for containment, or NULL.
The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the fill by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains a bool value that is true if the area filled by the geometry contains point; otherwise, false.You must allocate storage for this parameter.
HRESULT ID2D1Geometry::FillContainsPoint([None] D2D1_POINT_2F point,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Retrieves the bounds of the geometry.
When this method returns, contains the bounds of this geometry. If the bounds are empty, this will be a rect where bounds.left > bounds.right. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::GetBounds([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[Out] D2D1_RECT_F* bounds)
Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.
The amount by which to widen the geometry by stroking its outline.
When this method returns, contains the bounds of the widened geometry. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::GetWidenedBounds([None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] D2D1_RECT_F* bounds)
Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.
The amount by which to widen the geometry by stroking its outline.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains the bounds of the widened geometry. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::GetWidenedBounds([None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] D2D1_RECT_F* bounds)
Gets the bounds of the geometry after it has been widened by the specified stroke width and style and transformed by the specified matrix.
The amount by which to widen the geometry by stroking its outline.
The style of the stroke that widens the geometry.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains the bounds of the widened geometry. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::GetWidenedBounds([None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] D2D1_RECT_F* bounds)
Computes the outline of the geometry and writes the result to an .
The {{Outline}} method allows the caller to produce a geometry with an equivalent fill to the input geometry, with the following additional properties: The output geometry contains no transverse intersections; that is, segments may touch, but they never cross.The outermost figures in the output geometry are all oriented counterclockwise. The output geometry is fill-mode invariant; that is, the fill of the geometry does not depend on the choice of the fill mode. For more information about the fill mode, see .Additionally, the {{Outline}} method can be useful in removing redundant portions of said geometries to simplify complex geometries. It can also be useful in combination with to create unions among several geometries simultaneously.
The to which the geometry's transformed outline is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Outline([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Computes the outline of the geometry and writes the result to an .
The {{Outline}} method allows the caller to produce a geometry with an equivalent fill to the input geometry, with the following additional properties: The output geometry contains no transverse intersections; that is, segments may touch, but they never cross.The outermost figures in the output geometry are all oriented counterclockwise. The output geometry is fill-mode invariant; that is, the fill of the geometry does not depend on the choice of the fill mode. For more information about the fill mode, see .Additionally, the {{Outline}} method can be useful in removing redundant portions of said geometries to simplify complex geometries. It can also be useful in combination with to create unions among several geometries simultaneously.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the geometry's transformed outline is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Outline([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Computes the outline of the geometry and writes the result to an .
The {{Outline}} method allows the caller to produce a geometry with an equivalent fill to the input geometry, with the following additional properties: The output geometry contains no transverse intersections; that is, segments may touch, but they never cross.The outermost figures in the output geometry are all oriented counterclockwise. The output geometry is fill-mode invariant; that is, the fill of the geometry does not depend on the choice of the fill mode. For more information about the fill mode, see .Additionally, the {{Outline}} method can be useful in removing redundant portions of said geometries to simplify complex geometries. It can also be useful in combination with to create unions among several geometries simultaneously.
The transform to apply to the geometry outline, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the geometry's transformed outline is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Outline([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an .
A value that specifies whether the simplified geometry should contain curves.
The to which the simplified geometry is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Simplify([None] D2D1_GEOMETRY_SIMPLIFICATION_OPTION simplificationOption,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an .
A value that specifies whether the simplified geometry should contain curves.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the simplified geometry is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Simplify([None] D2D1_GEOMETRY_SIMPLIFICATION_OPTION simplificationOption,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Creates a simplified version of the geometry that contains only lines and (optionally) cubic Bezier curves and writes the result to an .
A value that specifies whether the simplified geometry should contain curves.
The transform to apply to the simplified geometry, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the simplified geometry is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Simplify([None] D2D1_GEOMETRY_SIMPLIFICATION_OPTION simplificationOption,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
The point to test for containment.
The thickness of the stroke to apply.
When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::StrokeContainsPoint([None] D2D1_POINT_2F point,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
The point to test for containment.
The thickness of the stroke to apply.
When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::StrokeContainsPoint([None] D2D1_POINT_2F point,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
The point to test for containment.
The thickness of the stroke to apply.
The style of stroke to apply.
When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::StrokeContainsPoint([None] D2D1_POINT_2F point,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
The point to test for containment.
The thickness of the stroke to apply.
The style of stroke to apply.
When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::StrokeContainsPoint([None] D2D1_POINT_2F point,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
The point to test for containment.
The thickness of the stroke to apply.
The style of stroke to apply.
The transform to apply to the stroked geometry.
When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::StrokeContainsPoint([None] D2D1_POINT_2F point,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
The point to test for containment.
The thickness of the stroke to apply.
The style of stroke to apply.
The transform to apply to the stroked geometry.
When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::StrokeContainsPoint([None] D2D1_POINT_2F point,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Determines whether the geometry's stroke contains the specified point given the specified stroke thickness, style, and transform.
The point to test for containment.
The thickness of the stroke to apply.
The style of stroke to apply.
The transform to apply to the stroked geometry.
The numeric accuracy with which the precise geometric path and path intersection is calculated. Points missing the stroke by less than the tolerance are still considered inside. Smaller values produce more accurate results but cause slower execution.
When this method returns, contains a boolean value set to true if the geometry's stroke contains the specified point; otherwise, false. You must allocate storage for this parameter.
HRESULT ID2D1Geometry::StrokeContainsPoint([None] D2D1_POINT_2F point,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] float flatteningTolerance,[Out] BOOL* contains)
Creates a set of clockwise-wound triangles that cover the geometry after it has been transformed using the specified matrix and flattened using the specified tolerance
The to which the tessellated is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Tessellate([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1TessellationSink* tessellationSink)
Creates a set of clockwise-wound triangles that cover the geometry after it has been transformed using the specified matrix and flattened using the specified tolerance
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the tessellated is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Tessellate([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1TessellationSink* tessellationSink)
Creates a set of clockwise-wound triangles that cover the geometry after it has been transformed using the specified matrix and flattened using the specified tolerance
The transform to apply to this geometry, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the tessellated is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Tessellate([In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1TessellationSink* tessellationSink)
Widens the geometry by the specified stroke and writes the result to an after it has been transformed by the specified matrix and flattened using the specified tolerance.
The amount by which to widen the geometry.
The to which the widened geometry is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Widen([None] FLOAT strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Widens the geometry by the specified stroke and writes the result to an after it has been transformed by the specified matrix and flattened using the specified tolerance.
The amount by which to widen the geometry.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the widened geometry is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Widen([None] FLOAT strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Widens the geometry by the specified stroke and writes the result to an after it has been transformed by the specified matrix and flattened using the specified tolerance.
The amount by which to widen the geometry.
The style of stroke to apply to the geometry, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the widened geometry is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Widen([None] FLOAT strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Widens the geometry by the specified stroke and writes the result to an after it has been transformed by the specified matrix and flattened using the specified tolerance.
The amount by which to widen the geometry.
The style of stroke to apply to the geometry, or NULL.
The transform to apply to the geometry after widening it, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The to which the widened geometry is appended.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Widen([None] FLOAT strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D1_MATRIX_3X2_F* worldTransform,[None] FLOAT flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::GetBounds([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[Out] D2D_RECT_F* bounds)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::GetWidenedBounds([In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] D2D_RECT_F* bounds)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::StrokeContainsPoint([In] D2D_POINT_2F point,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] BOOL* contains)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::FillContainsPoint([In] D2D_POINT_2F point,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] BOOL* contains)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::CompareWithGeometry([In] ID2D1Geometry* inputGeometry,[In, Optional] const D2D_MATRIX_3X2_F* inputGeometryTransform,[In] float flatteningTolerance,[Out] D2D1_GEOMETRY_RELATION* relation)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::Simplify([In] D2D1_GEOMETRY_SIMPLIFICATION_OPTION simplificationOption,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::Tessellate([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[In] ID2D1TessellationSink* tessellationSink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::CombineWithGeometry([In] ID2D1Geometry* inputGeometry,[In] D2D1_COMBINE_MODE combineMode,[In, Optional] const D2D_MATRIX_3X2_F* inputGeometryTransform,[In] float flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::Outline([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::ComputeArea([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] float* area)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::ComputeLength([In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out] float* length)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::ComputePointAtLength([In] float length,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[Out, Optional] D2D_POINT_2F* point,[Out, Optional] D2D_POINT_2F* unitTangentVector)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Geometry::Widen([In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle,[In, Optional] const D2D_MATRIX_3X2_F* worldTransform,[In] float flatteningTolerance,[In] ID2D1SimplifiedGeometrySink* geometrySink)
Get or set the default flattening tolerance used for all methods that are not explicitly using it. Default is set to 0.25f.
Creates an .
an instance of
The coordinates of the rectangle geometry.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1RectangleGeometry::GetRect([Out] D2D_RECT_F* rect)
No documentation.
GetRect
void ID2D1RectangleGeometry::GetRect([Out] D2D_RECT_F* rect)
No documentation.
ID2D1TessellationSink
Copies the specified triangles to the sink.
An array of structures that describe the triangles to add to the sink.
void AddTriangles([In, Buffer] const D2D1_TRIANGLE* triangles,[None] UINT trianglesCount)
Closes the sink.
HRESULT Close()
Gif bitmap encoder using initialized with default guid .
No documentation.
IWICBitmapDecoder
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::QueryCapability([In, Optional] IStream* pIStream,[Out] WICBitmapDecoderCapabilities* pdwCapability)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::Initialize([In, Optional] IStream* pIStream,[In] WICDecodeOptions cacheOptions)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetContainerFormat([Out] GUID* pguidContainerFormat)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetDecoderInfo([Out] IWICBitmapDecoderInfo** ppIDecoderInfo)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::CopyPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetMetadataQueryReader([Out] IWICMetadataQueryReader** ppIMetadataQueryReader)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetPreview([Out] IWICBitmapSource** ppIBitmapSource)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetColorContexts([In] unsigned int cCount,[Out, Buffer, Optional] IWICColorContext** ppIColorContexts,[Out] unsigned int* pcActualCount)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetThumbnail([Out] IWICBitmapSource** ppIThumbnail)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetFrameCount([Out] unsigned int* pCount)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoder::GetFrame([In] unsigned int index,[Out] IWICBitmapFrameDecode** ppIBitmapFrame)
Initializes a new instance of the class from a .
The bitmap decoder info.
HRESULT IWICBitmapDecoderInfo::CreateInstance([Out, Fast] IWICBitmapDecoder** ppIBitmapDecoder)
Initializes a new instance of the class from a guid. for a list of default supported decoder.
The factory.
The container format GUID.
HRESULT IWICImagingFactory::CreateDecoder([In] const GUID& guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class.
The factory.
The container format GUID.
The GUID vendor ref.
HRESULT IWICImagingFactory::CreateDecoder([In] const GUID& guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class from a .
The factory.
The stream ref.
The metadata options.
HRESULT IWICImagingFactory::CreateDecoderFromStream([In, Optional] IStream* pIStream,[In, Optional] const GUID* pguidVendor,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class from a .
The factory.
The stream ref.
The GUID vendor ref.
The metadata options.
HRESULT IWICImagingFactory::CreateDecoderFromStream([In, Optional] IStream* pIStream,[In, Optional] const GUID* pguidVendor,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class from a file in read mode.
The factory.
The filename.
The metadata options.
HRESULT IWICImagingFactory::CreateDecoderFromFilename([In] const wchar_t* wzFilename,[In, Optional] const GUID* pguidVendor,[In] unsigned int dwDesiredAccess,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class from a file.
The factory.
The filename.
The desired access.
The metadata options.
HRESULT IWICImagingFactory::CreateDecoderFromFilename([In] const wchar_t* wzFilename,[In, Optional] const GUID* pguidVendor,[In] unsigned int dwDesiredAccess,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class from a file.
The factory.
The filename.
The GUID vendor ref.
The desired access.
The metadata options.
HRESULT IWICImagingFactory::CreateDecoderFromFilename([In] const wchar_t* wzFilename,[In, Optional] const GUID* pguidVendor,[In] unsigned int dwDesiredAccess,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class from a filestream.
The factory.
The filename.
The metadata options.
HRESULT IWICImagingFactory::CreateDecoderFromFileHandle([In] unsigned int hFile,[In, Optional] const GUID* pguidVendor,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Initializes a new instance of the class from a filestream.
The factory.
The filename.
The GUID vendor ref.
The metadata options.
HRESULT IWICImagingFactory::CreateDecoderFromFileHandle([In] unsigned int hFile,[In, Optional] const GUID* pguidVendor,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
Queries the capabilities of the decoder based on the specified stream.
The stream to retrieve the decoder capabilities from..
Capabilities of the decoder
HRESULT IWICBitmapDecoder::QueryCapability([In, Optional] IStream* pIStream,[Out] WICBitmapDecoderCapabilities* pdwCapability)
Initializes the decoder with the provided stream.
The stream to use for initialization.
The cache options.
If the method succeeds, it returns . Otherwise, it throws an exception.
HRESULT IWICBitmapDecoder::Initialize([In, Optional] IStream* pIStream,[In] WICDecodeOptions cacheOptions)
No documentation.
GetContainerFormat
HRESULT IWICBitmapDecoder::GetContainerFormat([Out] GUID* pguidContainerFormat)
No documentation.
GetDecoderInfo
HRESULT IWICBitmapDecoder::GetDecoderInfo([Out] IWICBitmapDecoderInfo** ppIDecoderInfo)
No documentation.
GetMetadataQueryReader
HRESULT IWICBitmapDecoder::GetMetadataQueryReader([Out] IWICMetadataQueryReader** ppIMetadataQueryReader)
No documentation.
GetPreview
HRESULT IWICBitmapDecoder::GetPreview([Out] IWICBitmapSource** ppIBitmapSource)
No documentation.
GetThumbnail
HRESULT IWICBitmapDecoder::GetThumbnail([Out] IWICBitmapSource** ppIThumbnail)
No documentation.
GetFrameCount
HRESULT IWICBitmapDecoder::GetFrameCount([Out] unsigned int* pCount)
Gets the objects of the image.
HRESULT IWICBitmapDecoder::GetColorContexts([In] unsigned int cCount,[Out, Buffer, Optional] IWICColorContext** ppIColorContexts,[Out] unsigned int* pcActualCount)
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
IWICBitmapSource
Copies the pixels.
The rectangle.
The stride.
The output stream.
HRESULT IWICBitmapSource::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
Copies the pixels.
The stride.
The output stream.
HRESULT IWICBitmapSource::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSource::GetSize([Out] unsigned int* puiWidth,[Out] unsigned int* puiHeight)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSource::GetPixelFormat([Out] GUID* pPixelFormat)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSource::GetResolution([Out] double* pDpiX,[Out] double* pDpiY)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSource::CopyPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSource::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
Gets the size.
HRESULT IWICBitmapSource::GetSize([Out] unsigned int* puiWidth,[Out] unsigned int* puiHeight)
No documentation.
GetPixelFormat
HRESULT IWICBitmapSource::GetPixelFormat([Out] GUID* pPixelFormat)
No documentation.
ID2D1RadialGradientBrush
No documentation.
ID2D1Brush
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1Brush::SetOpacity([In] float opacity)
No documentation.
No documentation.
void ID2D1Brush::SetTransform([In] const D2D_MATRIX_3X2_F* transform)
No documentation.
No documentation.
float ID2D1Brush::GetOpacity()
No documentation.
No documentation.
void ID2D1Brush::GetTransform([Out] D2D_MATRIX_3X2_F* transform)
No documentation.
GetOpacity
float ID2D1Brush::GetOpacity()
No documentation.
GetTransform
void ID2D1Brush::GetTransform([Out] D2D_MATRIX_3X2_F* transform)
Creates an that contains the specified gradient stops and has the specified transform and base opacity.
an instance of
The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.
A collection of structures that describe the colors in the brush's gradient and their locations along the gradient.
HRESULT CreateRadialGradientBrush([In] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES* radialGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out] ID2D1RadialGradientBrush** radialGradientBrush)
Creates an that contains the specified gradient stops and has the specified transform and base opacity.
an instance of
The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.
A collection of structures that describe the colors in the brush's gradient and their locations along the gradient.
HRESULT CreateRadialGradientBrush([In] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES* radialGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out] ID2D1RadialGradientBrush** radialGradientBrush)
Creates an that contains the specified gradient stops and has the specified transform and base opacity.
an instance of
The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.
The transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.
A collection of structures that describe the colors in the brush's gradient and their locations along the gradient.
HRESULT CreateRadialGradientBrush([In] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES* radialGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out] ID2D1RadialGradientBrush** radialGradientBrush)
Creates an that contains the specified gradient stops and has the specified transform and base opacity.
an instance of
The center, gradient origin offset, and x-radius and y-radius of the brush's gradient.
The transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.
A collection of structures that describe the colors in the brush's gradient and their locations along the gradient.
HRESULT CreateRadialGradientBrush([In] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES* radialGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out] ID2D1RadialGradientBrush** radialGradientBrush)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1RadialGradientBrush::SetCenter([In] D2D_POINT_2F center)
No documentation.
No documentation.
void ID2D1RadialGradientBrush::SetGradientOriginOffset([In] D2D_POINT_2F gradientOriginOffset)
No documentation.
No documentation.
void ID2D1RadialGradientBrush::SetRadiusX([In] float radiusX)
No documentation.
No documentation.
void ID2D1RadialGradientBrush::SetRadiusY([In] float radiusY)
No documentation.
No documentation.
D2D_POINT_2F ID2D1RadialGradientBrush::GetCenter()
No documentation.
No documentation.
D2D_POINT_2F ID2D1RadialGradientBrush::GetGradientOriginOffset()
No documentation.
No documentation.
float ID2D1RadialGradientBrush::GetRadiusX()
No documentation.
No documentation.
float ID2D1RadialGradientBrush::GetRadiusY()
No documentation.
No documentation.
void ID2D1RadialGradientBrush::GetGradientStopCollection([Out] ID2D1GradientStopCollection** gradientStopCollection)
No documentation.
GetCenter
D2D_POINT_2F ID2D1RadialGradientBrush::GetCenter()
No documentation.
GetGradientOriginOffset
D2D_POINT_2F ID2D1RadialGradientBrush::GetGradientOriginOffset()
No documentation.
GetRadiusX
float ID2D1RadialGradientBrush::GetRadiusX()
No documentation.
GetRadiusY
float ID2D1RadialGradientBrush::GetRadiusY()
No documentation.
GetGradientStopCollection
void ID2D1RadialGradientBrush::GetGradientStopCollection([Out] ID2D1GradientStopCollection** gradientStopCollection)
No documentation.
DWRITE_CLUSTER_METRICS
No documentation.
float width
No documentation.
unsigned short length
No documentation.
unsigned short canWrapLineAfter
No documentation.
unsigned short isWhitespace
No documentation.
unsigned short isNewline
No documentation.
unsigned short isSoftHyphen
No documentation.
unsigned short isRightToLeft
No documentation.
unsigned short padding
No documentation.
DWRITE_FONT_FEATURE
No documentation.
DWRITE_FONT_FEATURE_TAG nameTag
No documentation.
unsigned int parameter
Initializes a new instance of the struct.
The name tag.
The parameter.
No documentation.
DWRITE_FONT_METRICS
No documentation.
unsigned short designUnitsPerEm
No documentation.
unsigned short ascent
No documentation.
unsigned short descent
No documentation.
short lineGap
No documentation.
unsigned short capHeight
No documentation.
unsigned short xHeight
No documentation.
short underlinePosition
No documentation.
unsigned short underlineThickness
No documentation.
short strikethroughPosition
No documentation.
unsigned short strikethroughThickness
No documentation.
DWRITE_GLYPH_METRICS
No documentation.
int leftSideBearing
No documentation.
unsigned int advanceWidth
No documentation.
int rightSideBearing
No documentation.
int topSideBearing
No documentation.
unsigned int advanceHeight
No documentation.
int bottomSideBearing
No documentation.
int verticalOriginY
No documentation.
DWRITE_GLYPH_OFFSET
No documentation.
float advanceOffset
No documentation.
float ascenderOffset
No documentation.
DWRITE_GLYPH_RUN
No documentation.
IDWriteFontFace* fontFace
No documentation.
float fontEmSize
No documentation.
unsigned int glyphCount
No documentation.
const unsigned short* glyphIndices
No documentation.
const float* glyphAdvances
No documentation.
const DWRITE_GLYPH_OFFSET* glyphOffsets
No documentation.
unsigned int bidiLevel
No documentation.
BOOL isSideways
Gets or sets the associated with this GlypRun.
The font face.
An array of glyph indices. This array contains elements.
An optional array of glyph advances. This array could be null or contains elements.
An optional array of glyph offsets. This array could be null or contains elements.
No documentation.
DWRITE_GLYPH_RUN_DESCRIPTION
No documentation.
const wchar_t* localeName
No documentation.
const wchar_t* string
No documentation.
unsigned int stringLength
No documentation.
const unsigned short* clusterMap
No documentation.
unsigned int textPosition
No documentation.
DWRITE_HIT_TEST_METRICS
No documentation.
unsigned int textPosition
No documentation.
unsigned int length
No documentation.
float left
No documentation.
float top
No documentation.
float width
No documentation.
float height
No documentation.
unsigned int bidiLevel
No documentation.
BOOL isText
No documentation.
BOOL isTrimmed
No documentation.
DWRITE_INLINE_OBJECT_METRICS
No documentation.
float width
No documentation.
float height
No documentation.
float baseline
No documentation.
BOOL supportsSideways
No documentation.
DWRITE_LINE_BREAKPOINT
No documentation.
unsigned char breakConditionBefore
No documentation.
unsigned char breakConditionAfter
No documentation.
unsigned char isWhitespace
No documentation.
unsigned char isSoftHyphen
No documentation.
unsigned char padding
Indicates a breaking condition before the character.
byte breakConditionBefore
Indicates a breaking condition after the character.
byte breakConditionAfter
No documentation.
DWRITE_LINE_METRICS
No documentation.
unsigned int length
No documentation.
unsigned int trailingWhitespaceLength
No documentation.
unsigned int newlineLength
No documentation.
float height
No documentation.
float baseline
No documentation.
BOOL isTrimmed
No documentation.
DWRITE_MATRIX
No documentation.
float m11
No documentation.
float m12
No documentation.
float m21
No documentation.
float m22
No documentation.
float dx
No documentation.
float dy
No documentation.
DWRITE_OVERHANG_METRICS
No documentation.
float left
No documentation.
float top
No documentation.
float right
No documentation.
float bottom
No documentation.
DWRITE_SCRIPT_ANALYSIS
No documentation.
unsigned short script
No documentation.
DWRITE_SCRIPT_SHAPES shapes
No documentation.
DWRITE_SHAPING_GLYPH_PROPERTIES
No documentation.
unsigned short justification
No documentation.
unsigned short isClusterStart
No documentation.
unsigned short isDiacritic
No documentation.
unsigned short isZeroWidthSpace
No documentation.
unsigned short reserved
Indicates that the glyph has justification applied.
short justification
No documentation.
DWRITE_SHAPING_TEXT_PROPERTIES
No documentation.
unsigned short isShapedAlone
No documentation.
unsigned short reserved
No documentation.
DWRITE_STRIKETHROUGH
No documentation.
float width
No documentation.
float thickness
No documentation.
float offset
No documentation.
DWRITE_READING_DIRECTION readingDirection
No documentation.
DWRITE_FLOW_DIRECTION flowDirection
No documentation.
const wchar_t* localeName
No documentation.
DWRITE_MEASURING_MODE measuringMode
No documentation.
DWRITE_TEXT_METRICS
No documentation.
float left
No documentation.
float top
No documentation.
float width
No documentation.
float widthIncludingTrailingWhitespace
No documentation.
float height
No documentation.
float layoutWidth
No documentation.
float layoutHeight
No documentation.
unsigned int maxBidiReorderingDepth
No documentation.
unsigned int lineCount
No documentation.
DWRITE_TEXT_RANGE
No documentation.
unsigned int startPosition
No documentation.
unsigned int length
Initializes a new instance of the struct.
The start position.
The length.
No documentation.
DWRITE_TRIMMING
No documentation.
DWRITE_TRIMMING_GRANULARITY granularity
No documentation.
unsigned int delimiter
No documentation.
unsigned int delimiterCount
No documentation.
DWRITE_TYPOGRAPHIC_FEATURES
No documentation.
DWRITE_FONT_FEATURE* features
No documentation.
unsigned int featureCount
No documentation.
DWRITE_UNDERLINE
No documentation.
float width
No documentation.
float thickness
No documentation.
float offset
No documentation.
float runHeight
No documentation.
DWRITE_READING_DIRECTION readingDirection
No documentation.
DWRITE_FLOW_DIRECTION flowDirection
No documentation.
const wchar_t* localeName
No documentation.
DWRITE_MEASURING_MODE measuringMode
Functions
DLLs loaders
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT DWriteCreateFactory([In] DWRITE_FACTORY_TYPE factoryType,[In] const GUID& iid,[Out, Fast] IUnknown** factory)
Internal InlineObject Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
HRESULT IDWriteInlineObject::Draw([None] void* clientDrawingContext,[None] IDWriteTextRenderer* renderer,[None] float originX,[None] float originY,[None] BOOL isSideways,[None] BOOL isRightToLeft,[None] IUnknown* clientDrawingEffect)
HRESULT IDWriteInlineObject::GetMetrics([Out] DWRITE_INLINE_OBJECT_METRICS* metrics)
HRESULT IDWriteInlineObject::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs)
HRESULT IDWriteInlineObject::GetBreakConditions([Out] DWRITE_BREAK_CONDITION* breakConditionBefore,[Out] DWRITE_BREAK_CONDITION* breakConditionAfter)
No documentation.
IWICMetadataQueryReader
Gets the metadata value by name.
The name.
Value of the metadata
HRESULT IWICMetadataQueryReader::GetMetadataByName([In] const wchar_t* wzName,[InOut, Optional] PROPVARIANT* pvarValue)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICMetadataQueryReader::GetContainerFormat([Out] GUID* pguidContainerFormat)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICMetadataQueryReader::GetLocation([In] unsigned int cchMaxLength,[In] void* wzNamespace,[Out] unsigned int* pcchActualLength)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICMetadataQueryReader::GetMetadataByName([In] const wchar_t* wzName,[InOut, Optional] PROPVARIANT* pvarValue)
No documentation.
No documentation.
HRESULT IWICMetadataQueryReader::GetEnumerator([Out] void** ppIEnumString)
Gets the enumerator on the metadata names.
Gets the location.
HRESULT IWICMetadataQueryReader::GetLocation([In] unsigned int cchMaxLength,[InOut, Buffer, Optional] wchar_t* wzNamespace,[Out] unsigned int* pcchActualLength)
No documentation.
GetContainerFormat
HRESULT IWICMetadataQueryReader::GetContainerFormat([Out] GUID* pguidContainerFormat)
Tiff bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
IWICBitmap
Initializes a new instance of the class.
The factory.
The width.
The height.
The pixel format. for a list of valid formats.
The option.
HRESULT IWICImagingFactory::CreateBitmap([In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] const GUID& pixelFormat,[In] WICBitmapCreateCacheOption option,[Out, Fast] IWICBitmap** ppIBitmap)
Initializes a new instance of the class from a memory location using .
The factory.
The width.
The height.
The pixel format.
The data rectangle.
HRESULT IWICImagingFactory::CreateBitmapFromMemory([In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] const GUID& pixelFormat,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer,[Out, Fast] IWICBitmap** ppIBitmap)
Initializes a new instance of the class from a
The factory.
The bitmap source ref.
The option.
HRESULT IWICImagingFactory::CreateBitmapFromSource([In, Optional] IWICBitmapSource* pIBitmapSource,[In] WICBitmapCreateCacheOption option,[Out, Fast] IWICBitmap** ppIBitmap)
Initializes a new instance of the class from a .
The factory.
The bitmap source.
The rectangle.
HRESULT IWICImagingFactory::CreateBitmapFromSourceRect([In, Optional] IWICBitmapSource* pIBitmapSource,[In] unsigned int x,[In] unsigned int y,[In] unsigned int width,[In] unsigned int height,[Out, Fast] IWICBitmap** ppIBitmap)
Initializes a new instance of the class from a .
The factory.
The icon.
HRESULT IWICImagingFactory::CreateBitmapFromHICON([In] HICON hIcon,[Out, Fast] IWICBitmap** ppIBitmap)
Initializes a new instance of the class from a .
The factory.
The bitmap.
The options.
HRESULT IWICImagingFactory::CreateBitmapFromHBITMAP([In] HBITMAP hBitmap,[In, Optional] HPALETTE hPalette,[In] WICBitmapAlphaChannelOption options,[Out, Fast] IWICBitmap** ppIBitmap)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmap::Lock([In, Optional] const WICRect* prcLock,[In] WICBitmapLockFlags flags,[Out] IWICBitmapLock** ppILock)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmap::SetPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmap::SetResolution([In] double dpiX,[In] double dpiY)
No documentation.
SetPalette
HRESULT IWICBitmap::SetPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
ID2D1GeometryGroup
Creates an , which is an object that holds other geometries.
Geometry groups are a convenient way to group several geometries simultaneously so all figures of several distinct geometries are concatenated into one. To create a object, call the CreateGeometryGroup method on the object, passing in the fillMode with possible values of (alternate) and D2D1_FILL_MODE_WINDING, an array of geometry objects to add to the geometry group, and the number of elements in this array.
an instance of
A value that specifies the rule that a composite shape uses to determine whether a given point is part of the geometry.
An array containing the geometry objects to add to the geometry group. The number of elements in this array is indicated by the geometriesCount parameter.
Retrieves the geometries in the geometry group.
The returned geometries are referenced and counted, and the caller must release them.
an array of geometries to be filled by this method. The length of the array is specified by the geometryCount parameter.
void ID2D1GeometryGroup::GetSourceGeometries([Out, Buffer] ID2D1Geometry** geometries,[None] int geometriesCount)
Retrieves the geometries in the geometry group.
The returned geometries are referenced and counted, and the caller must release them.
A value indicating the number of geometries to return in the geometries array. If this value is less than the number of geometries in the geometry group, the remaining geometries are omitted. If this value is larger than the number of geometries in the geometry group, the extra geometries are set to NULL. To obtain the number of geometries currently in the geometry group, use the {{GetSourceGeometryCount}} method.
an array of geometries to be filled by this method. The length of the array is specified by the geometryCount parameter.
void ID2D1GeometryGroup::GetSourceGeometries([Out, Buffer] ID2D1Geometry** geometries,[None] int geometriesCount)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
D2D1_FILL_MODE ID2D1GeometryGroup::GetFillMode()
No documentation.
No documentation.
unsigned int ID2D1GeometryGroup::GetSourceGeometryCount()
No documentation.
No documentation.
No documentation.
void ID2D1GeometryGroup::GetSourceGeometries([Out, Buffer] ID2D1Geometry** geometries,[In] unsigned int geometriesCount)
No documentation.
GetFillMode
D2D1_FILL_MODE ID2D1GeometryGroup::GetFillMode()
No documentation.
GetSourceGeometryCount
unsigned int ID2D1GeometryGroup::GetSourceGeometryCount()
No documentation.
ID2D1LinearGradientBrush
Creates an that contains the specified gradient stops and has the specified transform and base opacity.
an instance of
The start and end points of the gradient.
A collection of structures that describe the colors in the brush's gradient and their locations along the gradient line.
HRESULT CreateLinearGradientBrush([In] const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES* linearGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out] ID2D1LinearGradientBrush** linearGradientBrush)
Creates an that contains the specified gradient stops and has the specified transform and base opacity.
an instance of
The start and end points of the gradient.
The transform and base opacity of the new brush, or NULL. If this value is NULL, the brush defaults to a base opacity of 1.0f and the identity matrix as its transformation.
A collection of structures that describe the colors in the brush's gradient and their locations along the gradient line.
HRESULT CreateLinearGradientBrush([In] const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES* linearGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out] ID2D1LinearGradientBrush** linearGradientBrush)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1LinearGradientBrush::SetStartPoint([In] D2D_POINT_2F startPoint)
No documentation.
No documentation.
void ID2D1LinearGradientBrush::SetEndPoint([In] D2D_POINT_2F endPoint)
No documentation.
No documentation.
D2D_POINT_2F ID2D1LinearGradientBrush::GetStartPoint()
No documentation.
No documentation.
D2D_POINT_2F ID2D1LinearGradientBrush::GetEndPoint()
No documentation.
No documentation.
void ID2D1LinearGradientBrush::GetGradientStopCollection([Out] ID2D1GradientStopCollection** gradientStopCollection)
No documentation.
GetStartPoint
D2D_POINT_2F ID2D1LinearGradientBrush::GetStartPoint()
No documentation.
GetEndPoint
D2D_POINT_2F ID2D1LinearGradientBrush::GetEndPoint()
No documentation.
GetGradientStopCollection
void ID2D1LinearGradientBrush::GetGradientStopCollection([Out] ID2D1GradientStopCollection** gradientStopCollection)
No documentation.
IDWriteFontCollection
Creates a font collection using a custom font collection loader.
A reference to a DirectWrite factory
An application-defined font collection loader, which must have been previously registered using .
The key used by the loader to identify a collection of font files. The buffer allocated for this key should at least be the size of collectionKeySize.
HRESULT IDWriteFactory::CreateCustomFontCollection([None] IDWriteFontCollectionLoader* collectionLoader,[In, Buffer] const void* collectionKey,[None] int collectionKeySize,[Out] IDWriteFontCollection** fontCollection)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
unsigned int IDWriteFontCollection::GetFontFamilyCount()
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontCollection::GetFontFamily([In] unsigned int index,[Out] IDWriteFontFamily** fontFamily)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontCollection::FindFamilyName([In, Buffer] const wchar_t* familyName,[Out] unsigned int* index,[Out] BOOL* exists)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontCollection::GetFontFromFontFace([In] IDWriteFontFace* fontFace,[Out] IDWriteFont** font)
No documentation.
GetFontFamilyCount
unsigned int IDWriteFontCollection::GetFontFamilyCount()
No documentation.
ID2D1PathGeometry
Creates an empty .
an instance of
Copies the contents of the path geometry to the specified .
The sink to which the path geometry's contents are copied. Modifying this sink does not change the contents of this path geometry.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Stream([In] ID2D1GeometrySink* geometrySink)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
HRESULT ID2D1PathGeometry::Open([Out] ID2D1GeometrySink** geometrySink)
No documentation.
No documentation.
No documentation.
HRESULT ID2D1PathGeometry::Stream([In] ID2D1GeometrySink* geometrySink)
No documentation.
No documentation.
No documentation.
HRESULT ID2D1PathGeometry::GetSegmentCount([Out] unsigned int* count)
No documentation.
No documentation.
No documentation.
HRESULT ID2D1PathGeometry::GetFigureCount([Out] unsigned int* count)
No documentation.
GetSegmentCount
HRESULT ID2D1PathGeometry::GetSegmentCount([Out] unsigned int* count)
No documentation.
GetFigureCount
HRESULT ID2D1PathGeometry::GetFigureCount([Out] unsigned int* count)
No documentation.
IWICMetadataQueryWriter
Initializes a new instance of the class.
The factory.
The GUID metadata format.
Initializes a new instance of the class.
The factory.
The GUID metadata format.
The GUID vendor ref.
HRESULT IWICImagingFactory::CreateQueryWriter([In] const GUID& guidMetadataFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICMetadataQueryWriter** ppIQueryWriter)
Initializes a new instance of the class from a .
The factory.
The metadata query reader.
Initializes a new instance of the class from a .
The factory.
The metadata query reader.
The GUID vendor ref.
Sets the value for a metadata name
The name of the metadata.
The value.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICMetadataQueryWriter::SetMetadataByName([In] const wchar_t* wzName,[In] const void* pvarValue)
No documentation.
No documentation.
No documentation.
HRESULT IWICMetadataQueryWriter::RemoveMetadataByName([In] const wchar_t* wzName)
Bmp bitmap encoder using initialized with default guid .
No documentation.
IWICBitmapEncoder
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::Initialize([In, Optional] IStream* pIStream,[In] WICBitmapEncoderCacheOption cacheOption)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::GetContainerFormat([Out] GUID* pguidContainerFormat)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::GetEncoderInfo([Out] IWICBitmapEncoderInfo** ppIEncoderInfo)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::SetColorContexts([In] unsigned int cCount,[In, Buffer] IWICColorContext** ppIColorContext)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::SetColorContexts([In] unsigned int cCount,[In, Buffer] IWICColorContext** ppIColorContext)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::SetPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::SetThumbnail([In, Optional] IWICBitmapSource* pIThumbnail)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::SetPreview([In, Optional] IWICBitmapSource* pIPreview)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::CreateNewFrame([Out, Fast] IWICBitmapFrameEncode** ppIFrameEncode,[Out, Fast] IPropertyBag2** ppIEncoderOptions)
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::Commit()
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoder::GetMetadataQueryWriter([Out] IWICMetadataQueryWriter** ppIMetadataQueryWriter)
Initializes a new instance of the class.
The factory.
The container format GUID. List from
HRESULT IWICImagingFactory::CreateEncoder([In] const GUID& guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out] IWICBitmapEncoder** ppIEncoder)
Initializes a new instance of the class.
The factory.
The container format GUID. List from
The GUID vendor ref.
HRESULT IWICImagingFactory::CreateEncoder([In] const GUID& guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out] IWICBitmapEncoder** ppIEncoder)
Initializes the encoder with the provided stream.
The stream to use for initialization.
If the method succeeds, it returns . Otherwise, it throws an exception.
HRESULT IWICBitmapEncoder::Initialize([In, Optional] IStream* pIStream,[In] WICBitmapEncoderCacheOption cacheOption)
Sets the objects for the encoder.
The color contexts to set for the encoder.
If the method succeeds, it returns . Otherwise, it throws an exception.
HRESULT IWICBitmapEncoder::SetColorContexts([In] unsigned int cCount,[In, Buffer] IWICColorContext** ppIColorContext)
No documentation.
GetContainerFormat
HRESULT IWICBitmapEncoder::GetContainerFormat([Out] GUID* pguidContainerFormat)
No documentation.
GetEncoderInfo
HRESULT IWICBitmapEncoder::GetEncoderInfo([Out] IWICBitmapEncoderInfo** ppIEncoderInfo)
No documentation.
SetPalette
HRESULT IWICBitmapEncoder::SetPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
SetThumbnail
HRESULT IWICBitmapEncoder::SetThumbnail([In, Optional] IWICBitmapSource* pIThumbnail)
No documentation.
SetPreview
HRESULT IWICBitmapEncoder::SetPreview([In, Optional] IWICBitmapSource* pIPreview)
No documentation.
GetMetadataQueryWriter
HRESULT IWICBitmapEncoder::GetMetadataQueryWriter([Out] IWICMetadataQueryWriter** ppIMetadataQueryWriter)
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
IWICBitmapCodecInfo
No documentation.
IWICComponentInfo
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetComponentType([Out] WICComponentType* pType)
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetCLSID([Out] GUID* pclsid)
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetSigningStatus([Out] unsigned int* pStatus)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetAuthor([In] unsigned int cchAuthor,[In] void* wzAuthor,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetVendorGUID([Out] GUID* pguidVendor)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetVersion([In] unsigned int cchVersion,[In] void* wzVersion,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetSpecVersion([In] unsigned int cchSpecVersion,[In] void* wzSpecVersion,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICComponentInfo::GetFriendlyName([In] unsigned int cchFriendlyName,[In] void* wzFriendlyName,[Out] unsigned int* pcchActual)
Initializes a new instance of the class.
The factory.
The CLSID component.
No documentation.
GetComponentType
HRESULT IWICComponentInfo::GetComponentType([Out] WICComponentType* pType)
No documentation.
GetCLSID
HRESULT IWICComponentInfo::GetCLSID([Out] GUID* pclsid)
No documentation.
GetSigningStatus
HRESULT IWICComponentInfo::GetSigningStatus([Out] unsigned int* pStatus)
No documentation.
GetVendorGUID
HRESULT IWICComponentInfo::GetVendorGUID([Out] GUID* pguidVendor)
Gets the author.
HRESULT IWICComponentInfo::GetAuthor([In] unsigned int cchAuthor,[InOut, Buffer, Optional] wchar_t* wzAuthor,[Out] unsigned int* pcchActual)
Gets the version.
HRESULT IWICComponentInfo::GetVersion([In] unsigned int cchVersion,[InOut, Buffer, Optional] wchar_t* wzVersion,[Out] unsigned int* pcchActual)
Gets the spec version.
HRESULT IWICComponentInfo::GetSpecVersion([In] unsigned int cchSpecVersion,[InOut, Buffer, Optional] wchar_t* wzSpecVersion,[Out] unsigned int* pcchActual)
Gets the friendly name.
The name of the friendly.
HRESULT IWICComponentInfo::GetFriendlyName([In] unsigned int cchFriendlyName,[InOut, Buffer, Optional] wchar_t* wzFriendlyName,[Out] unsigned int* pcchActual)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::GetContainerFormat([Out] GUID* pguidContainerFormat)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::GetPixelFormats([In] unsigned int cFormats,[In, Buffer] GUID* pguidPixelFormats,[Out] unsigned int* pcActual)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::GetColorManagementVersion([In] unsigned int cchColorManagementVersion,[In] void* wzColorManagementVersion,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::GetDeviceManufacturer([In] unsigned int cchDeviceManufacturer,[In] void* wzDeviceManufacturer,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::GetDeviceModels([In] unsigned int cchDeviceModels,[In] void* wzDeviceModels,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::GetMimeTypes([In] unsigned int cchMimeTypes,[In] void* wzMimeTypes,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::GetFileExtensions([In] unsigned int cchFileExtensions,[In] void* wzFileExtensions,[Out] unsigned int* pcchActual)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::DoesSupportAnimation([Out] BOOL* pfSupportAnimation)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::DoesSupportChromakey([Out] BOOL* pfSupportChromakey)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::DoesSupportLossless([Out] BOOL* pfSupportLossless)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::DoesSupportMultiframe([Out] BOOL* pfSupportMultiframe)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecInfo::MatchesMimeType([In] const wchar_t* wzMimeType,[Out] BOOL* pfMatches)
Gets the pixel formats the codec supports.
Gets the color manangement version number the codec supports.
Gets the name of the device manufacture associated with the codec.
Gets a comma delimited list of device models associated with the codec.
Gets a comma delimited sequence of mime types associated with the codec.
Gets a comma delimited list of the file name extensions associated with the codec.
No documentation.
GetContainerFormat
HRESULT IWICBitmapCodecInfo::GetContainerFormat([Out] GUID* pguidContainerFormat)
No documentation.
DoesSupportAnimation
HRESULT IWICBitmapCodecInfo::DoesSupportAnimation([Out] BOOL* pfSupportAnimation)
No documentation.
DoesSupportChromakey
HRESULT IWICBitmapCodecInfo::DoesSupportChromakey([Out] BOOL* pfSupportChromakey)
No documentation.
DoesSupportLossless
HRESULT IWICBitmapCodecInfo::DoesSupportLossless([Out] BOOL* pfSupportLossless)
No documentation.
DoesSupportMultiframe
HRESULT IWICBitmapCodecInfo::DoesSupportMultiframe([Out] BOOL* pfSupportMultiframe)
No documentation.
ID2D1SimplifiedGeometrySink
Specifies the method used to determine which points are inside the geometry described by this geometry sink and which points are outside.
The fill mode defaults to D2D1_FILL_MODE_ALTERNATE. To set the fill mode, call SetFillMode before the first call to {{BeginFigure}}. Not doing will put the geometry sink in an error state.
The method used to determine whether a given point is part of the geometry.
void SetFillMode([None] D2D1_FILL_MODE fillMode)
Specifies stroke and join options to be applied to new segments added to the geometry sink.
After this method is called, the specified segment flags are applied to each segment subsequently added to the sink. The segment flags are applied to every additional segment until this method is called again and a different set of segment flags is specified.
Stroke and join options to be applied to new segments added to the geometry sink.
void SetSegmentFlags([None] D2D1_PATH_SEGMENT vertexFlags)
Starts a new figure at the specified point.
If this method is called while a figure is currently in progress, the interface is invalidated and all future methods will fail.
The point at which to begin the new figure.
Whether the new figure should be hollow or filled.
void BeginFigure([None] D2D1_POINT_2F startPoint,[None] D2D1_FIGURE_BEGIN figureBegin)
Creates a sequence of lines using the specified points and adds them to the geometry sink.
A pointer to an array of one or more points that describe the lines to draw. A line is drawn from the geometry sink's current point (the end point of the last segment drawn or the location specified by {{BeginFigure}}) to the first point in the array. if the array contains additional points, a line is drawn from the first point to the second point in the array, from the second point to the third point, and so on.
void AddLines([In, Buffer] const D2D1_POINT_2F* points,[None] UINT pointsCount)
Creates a sequence of cubic Bezier curves and adds them to the geometry sink.
A pointer to an array of Bezier segments that describes the Bezier curves to create. A curve is drawn from the geometry sink's current point (the end point of the last segment drawn or the location specified by {{BeginFigure}}) to the end point of the first Bezier segment in the array. if the array contains additional Bezier segments, each subsequent Bezier segment uses the end point of the preceding Bezier segment as its start point.
void AddBeziers([In, Buffer] const D2D1_BEZIER_SEGMENT* beziers,[None] UINT beziersCount)
Ends the current figure; optionally, closes it.
Calling this method without a matching call to {{BeginFigure}} places the geometry sink in an error state; subsequent calls are ignored, and the overall failure will be returned when the {{Close}} method is called.
A value that indicates whether the current figure is closed. If the figure is closed, a line is drawn between the current point and the start point specified by {{BeginFigure}}.
void EndFigure([None] D2D1_FIGURE_END figureEnd)
Closes the geometry sink, indicates whether it is in an error state, and resets the sink's error state.
Do not close the geometry sink while a figure is still in progress; doing so puts the geometry sink in an error state. For the close operation to be successful, there must be one {{EndFigure}} call for each call to {{BeginFigure}}.After calling this method, the geometry sink might not be usable. Direct2D implementations of this interface do not allow the geometry sink to be modified after it is closed, but other implementations might not impose this restriction.
HRESULT Close()
No documentation.
ID2D1GeometrySink
No documentation.
ID2D1SimplifiedGeometrySink
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1SimplifiedGeometrySink::SetFillMode([In] D2D1_FILL_MODE fillMode)
No documentation.
No documentation.
void ID2D1SimplifiedGeometrySink::SetSegmentFlags([In] D2D1_PATH_SEGMENT vertexFlags)
No documentation.
No documentation.
No documentation.
void ID2D1SimplifiedGeometrySink::BeginFigure([In] D2D_POINT_2F startPoint,[In] D2D1_FIGURE_BEGIN figureBegin)
No documentation.
No documentation.
No documentation.
void ID2D1SimplifiedGeometrySink::AddLines([In, Buffer] const D2D_POINT_2F* points,[In] unsigned int pointsCount)
No documentation.
No documentation.
No documentation.
void ID2D1SimplifiedGeometrySink::AddBeziers([In, Buffer] const D2D1_BEZIER_SEGMENT* beziers,[In] unsigned int beziersCount)
No documentation.
No documentation.
void ID2D1SimplifiedGeometrySink::EndFigure([In] D2D1_FIGURE_END figureEnd)
No documentation.
No documentation.
HRESULT ID2D1SimplifiedGeometrySink::Close()
No documentation.
ID2D1GeometrySink
Creates a line segment between the current point and the specified end point and adds it to the geometry sink.
The end point of the line to draw.
void AddLine([None] D2D1_POINT_2F point)
Creates a cubic Bezier curve between the current point and the specified endpoint.
A structure that describes the control points and endpoint of the Bezier curve to add.
void AddBezier([In] const D2D1_BEZIER_SEGMENT* bezier)
Creates a quadratic Bezier curve between the current point and the specified endpoint.
A structure that describes the control point and the endpoint of the quadratic Bezier curve to add.
void AddQuadraticBezier([In] const D2D1_QUADRATIC_BEZIER_SEGMENT* bezier)
Adds a sequence of quadratic Bezier segments as an array in a single call.
An array of a sequence of quadratic Bezier segments.
void AddQuadraticBeziers([In, Buffer] const D2D1_QUADRATIC_BEZIER_SEGMENT* beziers,[None] UINT beziersCount)
Adds a single arc to the path geometry.
The arc segment to add to the figure.
void AddArc([In] const D2D1_ARC_SEGMENT* arc)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1GeometrySink::AddLine([In] D2D_POINT_2F point)
No documentation.
No documentation.
void ID2D1GeometrySink::AddBezier([In] const D2D1_BEZIER_SEGMENT* bezier)
No documentation.
No documentation.
void ID2D1GeometrySink::AddQuadraticBezier([In] const D2D1_QUADRATIC_BEZIER_SEGMENT* bezier)
No documentation.
No documentation.
No documentation.
void ID2D1GeometrySink::AddQuadraticBeziers([In, Buffer] const D2D1_QUADRATIC_BEZIER_SEGMENT* beziers,[In] unsigned int beziersCount)
No documentation.
No documentation.
void ID2D1GeometrySink::AddArc([In] const D2D1_ARC_SEGMENT* arc)
No documentation.
ID2D1BitmapRenderTarget
No documentation.
ID2D1RenderTarget
Default stroke width used for all methods that are not explicitly using it. Default is set to 1.0f.
Creates a render target that draws to a DirectX Graphics Infrastructure (DXGI) surface.
To write to a Direct3D surface, you obtain an and pass it to the {{CreateDxgiSurfaceRenderTarget}} method to create a DXGI surface render target; you can then use the DXGI surface render target to draw 2-D content to the DXGI surface. A DXGI surface render target is a type of . Like other Direct2D render targets, you can use it to create resources and issue drawing commands. The DXGI surface render target and the DXGI surface must use the same DXGI format. If you specify the {{DXGI_FORMAT_UNKOWN}} format when you create the render target, it will automatically use the surface's format.The DXGI surface render target does not perform DXGI surface synchronization. To work with Direct2D, the Direct3D device that provides the must be created with the D3D10_CREATE_DEVICE_BGRA_SUPPORT flag.For more information about creating and using DXGI surface render targets, see the {{Direct2D and Direct3D Interoperability Overview}}.When you create a render target and hardware acceleration is available, you allocate resources on the computer's GPU. By creating a render target once and retaining it as long as possible, you gain performance benefits. Your application should create render targets once and hold onto them for the life of the application or until the render target's {{EndDraw}} method returns the {{D2DERR_RECREATE_TARGET}} error. When you receive this error, you need to recreate the render target (and any resources it created).
an instance of
The dxgi surface to bind this render target to
The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering. For information about supported pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.
Draws the specified bitmap after scaling it to the size of the specified rectangle.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawBitmap}}) failed, check the result returned by the or methods.
The bitmap to render.
A value between 0.0f and 1.0f, inclusive, that specifies an opacity value to apply to the bitmap; this value is multiplied against the alpha values of the bitmap's contents. The default value is 1.0f.
The interpolation mode to use if the bitmap is scaled or rotated by the drawing operation. The default value is .
void ID2D1RenderTarget::DrawBitmap([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_RECT_F* destinationRectangle,[None] float opacity,[None] D2D1_BITMAP_INTERPOLATION_MODE interpolationMode,[In, Optional] const D2D1_RECT_F* sourceRectangle)
Draws the specified bitmap after scaling it to the size of the specified rectangle.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawBitmap}}) failed, check the result returned by the or methods.
The bitmap to render.
The size and position, in device-independent pixels in the render target's coordinate space, of the area to which the bitmap is drawn; NULL to draw the selected portion of the bitmap at the origin of the render target. If the rectangle is specified but not well-ordered, nothing is drawn, but the render target does not enter an error state.
A value between 0.0f and 1.0f, inclusive, that specifies an opacity value to apply to the bitmap; this value is multiplied against the alpha values of the bitmap's contents. The default value is 1.0f.
The interpolation mode to use if the bitmap is scaled or rotated by the drawing operation. The default value is .
void ID2D1RenderTarget::DrawBitmap([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_RECT_F* destinationRectangle,[None] float opacity,[None] D2D1_BITMAP_INTERPOLATION_MODE interpolationMode,[In, Optional] const D2D1_RECT_F* sourceRectangle)
Draws the specified bitmap after scaling it to the size of the specified rectangle.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawBitmap}}) failed, check the result returned by the or methods.
The bitmap to render.
A value between 0.0f and 1.0f, inclusive, that specifies an opacity value to apply to the bitmap; this value is multiplied against the alpha values of the bitmap's contents. The default value is 1.0f.
The interpolation mode to use if the bitmap is scaled or rotated by the drawing operation. The default value is .
The size and position, in device-independent pixels in the bitmap's coordinate space, of the area within the bitmap to be drawn; NULL to draw the entire bitmap.
void ID2D1RenderTarget::DrawBitmap([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_RECT_F* destinationRectangle,[None] float opacity,[None] D2D1_BITMAP_INTERPOLATION_MODE interpolationMode,[In, Optional] const D2D1_RECT_F* sourceRectangle)
Draws the outline of the specified ellipse using the specified stroke style.
The {{DrawEllipse}} method doesn't return an error code if it fails. To determine whether a drawing operation (such as DrawEllipse) failed, check the result returned by the or methods.
The position and radius of the ellipse to draw, in device-independent pixels.
The brush used to paint the ellipse's outline.
void ID2D1RenderTarget::DrawEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of the specified ellipse using the specified stroke style.
The {{DrawEllipse}} method doesn't return an error code if it fails. To determine whether a drawing operation (such as DrawEllipse) failed, check the result returned by the or methods.
The position and radius of the ellipse to draw, in device-independent pixels.
The brush used to paint the ellipse's outline.
The thickness of the ellipse's stroke. The stroke is centered on the ellipse's outline.
void ID2D1RenderTarget::DrawEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of the specified geometry.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as DrawGeometry) failed, check the result returned by the or methods.
The geometry to draw.
The brush used to paint the geometry's stroke.
void ID2D1RenderTarget::DrawGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of the specified geometry.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as DrawGeometry) failed, check the result returned by the or methods.
The geometry to draw.
The brush used to paint the geometry's stroke.
The thickness of the geometry's stroke. The stroke is centered on the geometry's outline.
void ID2D1RenderTarget::DrawGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws a line between the specified points.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as DrawLine) failed, check the result returned by the or methods.
The start point of the line, in device-independent pixels.
The end point of the line, in device-independent pixels.
The brush used to paint the line's stroke.
void ID2D1RenderTarget::DrawLine([None] D2D1_POINT_2F point0,[None] D2D1_POINT_2F point1,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws a line between the specified points.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as DrawLine) failed, check the result returned by the or methods.
The start point of the line, in device-independent pixels.
The end point of the line, in device-independent pixels.
The brush used to paint the line's stroke.
A value greater than or equal to 0.0f that specifies the width of the stroke. If this parameter isn't specified, it defaults to 1.0f. The stroke is centered on the line.
void ID2D1RenderTarget::DrawLine([None] D2D1_POINT_2F point0,[None] D2D1_POINT_2F point1,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of a rectangle that has the specified dimensions.
When this method fails, it does not return an error code. To determine whether a drawing method (such as {{DrawRectangle}}) failed, check the result returned by the or method.
The dimensions of the rectangle to draw, in device-independent pixels.
The brush used to paint the rectangle's stroke.
void ID2D1RenderTarget::DrawRectangle([In] const D2D1_RECT_F* rect,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of a rectangle that has the specified dimensions and stroke style.
When this method fails, it does not return an error code. To determine whether a drawing method (such as {{DrawRectangle}}) failed, check the result returned by the or method.
The dimensions of the rectangle to draw, in device-independent pixels.
The brush used to paint the rectangle's stroke.
A value greater than or equal to 0.0f that specifies the width of the rectangle's stroke. The stroke is centered on the rectangle's outline.
void ID2D1RenderTarget::DrawRectangle([In] const D2D1_RECT_F* rect,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of the specified rounded rectangle.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawRoundedRectangle}}) failed, check the result returned by the or methods.
The dimensions of the rounded rectangle to draw, in device-independent pixels.
The brush used to paint the rounded rectangle's outline.
void ID2D1RenderTarget::DrawRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of the specified rounded rectangle.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawRoundedRectangle}}) failed, check the result returned by the or methods.
The dimensions of the rounded rectangle to draw, in device-independent pixels.
The brush used to paint the rounded rectangle's outline.
The width of the rounded rectangle's stroke. The stroke is centered on the rounded rectangle's outline. The default value is 1.0f.
void ID2D1RenderTarget::DrawRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the outline of the specified rounded rectangle using the specified stroke style.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawRoundedRectangle}}) failed, check the result returned by the or methods.
The dimensions of the rounded rectangle to draw, in device-independent pixels.
The brush used to paint the rounded rectangle's outline.
The width of the rounded rectangle's stroke. The stroke is centered on the rounded rectangle's outline. The default value is 1.0f.
The style of the rounded rectangle's stroke, or NULL to paint a solid stroke. The default value is NULL.
void ID2D1RenderTarget::DrawRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush,[None] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
Draws the specified text using the format information provided by an object.
To create an object, create an and call its {{CreateTextFormat}} method. This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawText}}) failed, check the result returned by the or methods.
A reference to an array of Unicode characters to draw.
An object that describes formatting details of the text to draw, such as the font, the font size, and flow direction.
The size and position of the area in which the text is drawn.
The brush used to paint the text.
void ID2D1RenderTarget::DrawTextA([In, Buffer] const wchar_t* string,[None] int stringLength,[In] IDWriteTextFormat* textFormat,[In] const D2D1_RECT_F* layoutRect,[In] ID2D1Brush* defaultForegroundBrush,[None] D2D1_DRAW_TEXT_OPTIONS options,[None] DWRITE_MEASURING_MODE measuringMode)
Draws the specified text using the format information provided by an object.
To create an object, create an and call its {{CreateTextFormat}} method. This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawText}}) failed, check the result returned by the or methods.
A reference to an array of Unicode characters to draw.
An object that describes formatting details of the text to draw, such as the font, the font size, and flow direction.
The size and position of the area in which the text is drawn.
The brush used to paint the text.
A value that indicates whether the text should be snapped to pixel boundaries and whether the text should be clipped to the layout rectangle. The default value is , which indicates that text should be snapped to pixel boundaries and it should not be clipped to the layout rectangle.
void ID2D1RenderTarget::DrawTextA([In, Buffer] const wchar_t* string,[None] int stringLength,[In] IDWriteTextFormat* textFormat,[In] const D2D1_RECT_F* layoutRect,[In] ID2D1Brush* defaultForegroundBrush,[None] D2D1_DRAW_TEXT_OPTIONS options,[None] DWRITE_MEASURING_MODE measuringMode)
Draws the specified text using the format information provided by an object.
To create an object, create an and call its {{CreateTextFormat}} method. This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{DrawText}}) failed, check the result returned by the or methods.
A reference to an array of Unicode characters to draw.
An object that describes formatting details of the text to draw, such as the font, the font size, and flow direction.
The size and position of the area in which the text is drawn.
The brush used to paint the text.
A value that indicates whether the text should be snapped to pixel boundaries and whether the text should be clipped to the layout rectangle. The default value is , which indicates that text should be snapped to pixel boundaries and it should not be clipped to the layout rectangle.
A value that indicates how glyph metrics are used to measure text when it is formatted. The default value is DWRITE_MEASURING_MODE_NATURAL.
void ID2D1RenderTarget::DrawTextA([In, Buffer] const wchar_t* string,[None] int stringLength,[In] IDWriteTextFormat* textFormat,[In] const D2D1_RECT_F* layoutRect,[In] ID2D1Brush* defaultForegroundBrush,[None] D2D1_DRAW_TEXT_OPTIONS options,[None] DWRITE_MEASURING_MODE measuringMode)
Draws the formatted text described by the specified object.
When drawing the same text repeatedly, using the DrawTextLayout method is more efficient than using the {{DrawText}} method because the text doesn't need to be formatted and the layout processed with each call. This method doesn't return an error code if it fails. To determine whether a drawing operation (such as DrawTextLayout) failed, check the result returned by the or methods.
The point, described in device-independent pixels, at which the upper-left corner of the text described by textLayout is drawn.
The formatted text to draw. Any drawing effects that do not inherit from are ignored. If there are drawing effects that inherit from ID2D1Resource that are not brushes, this method fails and the render target is put in an error state.
The brush used to paint any text in textLayout that does not already have a brush associated with it as a drawing effect (specified by the method).
void ID2D1RenderTarget::DrawTextLayout([None] D2D1_POINT_2F origin,[In] IDWriteTextLayout* textLayout,[In] ID2D1Brush* defaultForegroundBrush,[None] D2D1_DRAW_TEXT_OPTIONS options)
Ends drawing operations on the render target and indicates the current error state and associated tags.
Drawing operations can only be issued between a {{BeginDraw}} and EndDraw call.BeginDraw and EndDraw are use to indicate that a render target is in use by the Direct2D system. Different implementations of might behave differently when {{BeginDraw}} is called. An may be locked between BeginDraw/EndDraw calls, a DXGI surface render target might be acquired on BeginDraw and released on EndDraw, while an may begin batching at BeginDraw and may present on EndDraw, for example. The BeginDraw method must be called before rendering operations can be called, though state-setting and state-retrieval operations can be performed even outside of {{BeginDraw}}/EndDraw. After {{BeginDraw}} is called, a render target will normally build up a batch of rendering commands, but defer processing of these commands until either an internal buffer is full, the {{Flush}} method is called, or until EndDraw is called. The EndDraw method causes any batched drawing operations to complete, and then returns an HRESULT indicating the success of the operations and, optionally, the tag state of the render target at the time the error occurred. The EndDraw method always succeeds: it should not be called twice even if a previous EndDraw resulted in a failing HRESULT. If EndDraw is called without a matched call to {{BeginDraw}}, it returns an error indicating that BeginDraw must be called before EndDraw. Calling BeginDraw twice on a render target puts the target into an error state where nothing further is drawn, and returns an appropriate HRESULT and error information when EndDraw is called.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code and sets tag1 and tag2 to the tags that were active when the error occurred.
Paints the interior of the specified geometry.
If the opacityBrush parameter is not NULL, the alpha value of each pixel of the mapped opacityBrush is used to determine the resulting opacity of each corresponding pixel of the geometry. Only the alpha value of each color in the brush is used for this processing; all other color information is ignored. The alpha value specified by the brush is multiplied by the alpha value of the geometry after the geometry has been painted by brush.
When this method fails, it does not return an error code. To determine whether a drawing operation (such as FillGeometry) failed, check the result returned by the or method.
The geometry to paint.
The brush used to paint the geometry's interior.
void FillGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In, Optional] ID2D1Brush* opacityBrush)
Applies the opacity mask described by the specified bitmap to a brush and uses that brush to paint a region of the render target.
For this method to work properly, the render target must be using the antialiasing mode. You can set the antialiasing mode by calling the method. This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{FillOpacityMask}}) failed, check the result returned by the or methods.
The opacity mask to apply to the brush. The alpha value of each pixel in the region specified by sourceRectangle is multiplied with the alpha value of the brush after the brush has been mapped to the area defined by destinationRectangle.
The brush used to paint the region of the render target specified by destinationRectangle.
The type of content the opacity mask contains. The value is used to determine the color space in which the opacity mask is blended.
void ID2D1RenderTarget::FillOpacityMask([In] ID2D1Bitmap* opacityMask,[In] ID2D1Brush* brush,[None] D2D1_OPACITY_MASK_CONTENT content,[In, Optional] const D2D1_RECT_F* destinationRectangle,[In, Optional] const D2D1_RECT_F* sourceRectangle)
Paints the interior of the specified rounded rectangle.
This method doesn't return an error code if it fails. To determine whether a drawing operation (such as {{FillRoundedRectangle}}) failed, check the result returned by the or methods.
The dimensions of the rounded rectangle to paint, in device-independent pixels.
The brush used to paint the interior of the rounded rectangle.
void ID2D1RenderTarget::FillRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush)
Executes all pending drawing commands.
This command does not flush the device that is associated with the render target. Calling this method resets the error state of the render target.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code and sets tag1 and tag2 to the tags that were active when the error occurred. If no error occurred, this method sets the error tag state to be (0,0).
HRESULT ID2D1RenderTarget::Flush([Out, Optional] D2D1_TAG* tag1,[Out, Optional] D2D1_TAG* tag2)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateBitmap([In] D2D_SIZE_U size,[In, Optional] const void* srcData,[In] unsigned int pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateBitmapFromWicBitmap([In] IWICBitmapSource* wicBitmapSource,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateSharedBitmap([In] const GUID& riid,[In] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out, Fast] ID2D1Bitmap** bitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1BitmapBrush** bitmapBrush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateSolidColorBrush([In] const D2D_COLOR_F* color,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out, Fast] ID2D1SolidColorBrush** solidColorBrush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateGradientStopCollection([In, Buffer] const D2D1_GRADIENT_STOP* gradientStops,[In] unsigned int gradientStopsCount,[In] D2D1_GAMMA colorInterpolationGamma,[In] D2D1_EXTEND_MODE extendMode,[Out, Fast] ID2D1GradientStopCollection** gradientStopCollection)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateLinearGradientBrush([In] const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES* linearGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out, Fast] ID2D1LinearGradientBrush** linearGradientBrush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateRadialGradientBrush([In] const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES* radialGradientBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[In] ID2D1GradientStopCollection* gradientStopCollection,[Out, Fast] ID2D1RadialGradientBrush** radialGradientBrush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateCompatibleRenderTarget([In, Optional] const D2D_SIZE_F* desiredSize,[In, Optional] const D2D_SIZE_U* desiredPixelSize,[In, Optional] const D2D1_PIXEL_FORMAT* desiredFormat,[In] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,[Out, Fast] ID2D1BitmapRenderTarget** bitmapRenderTarget)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateLayer([In, Optional] const D2D_SIZE_F* size,[Out, Fast] ID2D1Layer** layer)
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::CreateMesh([Out, Fast] ID2D1Mesh** mesh)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawLine([In] D2D_POINT_2F point0,[In] D2D_POINT_2F point1,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::FillRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::FillRoundedRectangle([In] const D2D1_ROUNDED_RECT* roundedRect,[In] ID2D1Brush* brush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::FillEllipse([In] const D2D1_ELLIPSE* ellipse,[In] ID2D1Brush* brush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::FillGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In, Optional] ID2D1Brush* opacityBrush)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::FillMesh([In] ID2D1Mesh* mesh,[In] ID2D1Brush* brush)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::FillOpacityMask([In] ID2D1Bitmap* opacityMask,[In] ID2D1Brush* brush,[In] D2D1_OPACITY_MASK_CONTENT content,[In, Optional] const D2D_RECT_F* destinationRectangle,[In, Optional] const D2D_RECT_F* sourceRectangle)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawBitmap([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D_RECT_F* destinationRectangle,[In] float opacity,[In] D2D1_BITMAP_INTERPOLATION_MODE interpolationMode,[In, Optional] const D2D_RECT_F* sourceRectangle)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawTextW([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] const D2D_RECT_F* layoutRect,[In] ID2D1Brush* defaultForegroundBrush,[In] D2D1_DRAW_TEXT_OPTIONS options,[In] DWRITE_MEASURING_MODE measuringMode)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawTextLayout([In] D2D_POINT_2F origin,[In] IDWriteTextLayout* textLayout,[In] ID2D1Brush* defaultForegroundBrush,[In] D2D1_DRAW_TEXT_OPTIONS options)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::DrawGlyphRun([In] D2D_POINT_2F baselineOrigin,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] ID2D1Brush* foregroundBrush,[In] DWRITE_MEASURING_MODE measuringMode)
No documentation.
No documentation.
void ID2D1RenderTarget::SetTransform([In] const D2D_MATRIX_3X2_F* transform)
No documentation.
No documentation.
void ID2D1RenderTarget::GetTransform([Out] D2D_MATRIX_3X2_F* transform)
No documentation.
No documentation.
void ID2D1RenderTarget::SetAntialiasMode([In] D2D1_ANTIALIAS_MODE antialiasMode)
No documentation.
No documentation.
D2D1_ANTIALIAS_MODE ID2D1RenderTarget::GetAntialiasMode()
No documentation.
No documentation.
void ID2D1RenderTarget::SetTextAntialiasMode([In] D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode)
No documentation.
No documentation.
D2D1_TEXT_ANTIALIAS_MODE ID2D1RenderTarget::GetTextAntialiasMode()
No documentation.
No documentation.
void ID2D1RenderTarget::SetTextRenderingParams([In, Optional] IDWriteRenderingParams* textRenderingParams)
No documentation.
No documentation.
void ID2D1RenderTarget::GetTextRenderingParams([Out, Optional] IDWriteRenderingParams** textRenderingParams)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::SetTags([In] unsigned longlong tag1,[In] unsigned longlong tag2)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::GetTags([Out, Optional] unsigned longlong* tag1,[Out, Optional] unsigned longlong* tag2)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::PushLayer([In] const D2D1_LAYER_PARAMETERS* layerParameters,[In] ID2D1Layer* layer)
No documentation.
void ID2D1RenderTarget::PopLayer()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::Flush([Out, Optional] unsigned longlong* tag1,[Out, Optional] unsigned longlong* tag2)
No documentation.
No documentation.
void ID2D1RenderTarget::SaveDrawingState([InOut] ID2D1DrawingStateBlock* drawingStateBlock)
No documentation.
No documentation.
void ID2D1RenderTarget::RestoreDrawingState([In] ID2D1DrawingStateBlock* drawingStateBlock)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::PushAxisAlignedClip([In] const D2D_RECT_F* clipRect,[In] D2D1_ANTIALIAS_MODE antialiasMode)
No documentation.
void ID2D1RenderTarget::PopAxisAlignedClip()
No documentation.
No documentation.
void ID2D1RenderTarget::Clear([In, Optional] const D2D_COLOR_F* clearColor)
No documentation.
void ID2D1RenderTarget::BeginDraw()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1RenderTarget::EndDraw([Out, Optional] unsigned longlong* tag1,[Out, Optional] unsigned longlong* tag2)
No documentation.
No documentation.
D2D1_PIXEL_FORMAT ID2D1RenderTarget::GetPixelFormat()
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::SetDpi([In] float dpiX,[In] float dpiY)
No documentation.
No documentation.
No documentation.
void ID2D1RenderTarget::GetDpi([Out] float* dpiX,[Out] float* dpiY)
No documentation.
No documentation.
D2D_SIZE_F ID2D1RenderTarget::GetSize()
No documentation.
No documentation.
D2D_SIZE_U ID2D1RenderTarget::GetPixelSize()
No documentation.
No documentation.
unsigned int ID2D1RenderTarget::GetMaximumBitmapSize()
No documentation.
No documentation.
No documentation.
BOOL ID2D1RenderTarget::IsSupported([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties)
Get or set the default stroke width used for all methods that are not explicitly using it. Default is set to 1.0f.
Get or sets the dots per inch (DPI) of the render target.
This method specifies the mapping from pixel space to device-independent space for the render target. If both dpiX and dpiY are 0, the factory-read system DPI is chosen. If one parameter is zero and the other unspecified, the DPI is not changed. For , the DPI defaults to the most recently factory-read system DPI. The default value for all other render targets is 96 DPI.
void ID2D1RenderTarget::SetDpi([None] float dpiX,[None] float dpiY)
No documentation.
GetTransform
void ID2D1RenderTarget::GetTransform([Out] D2D_MATRIX_3X2_F* transform)
No documentation.
GetAntialiasMode
D2D1_ANTIALIAS_MODE ID2D1RenderTarget::GetAntialiasMode()
No documentation.
GetTextAntialiasMode
D2D1_TEXT_ANTIALIAS_MODE ID2D1RenderTarget::GetTextAntialiasMode()
No documentation.
GetTextRenderingParams
void ID2D1RenderTarget::GetTextRenderingParams([Out, Optional] IDWriteRenderingParams** textRenderingParams)
No documentation.
GetPixelFormat
D2D1_PIXEL_FORMAT ID2D1RenderTarget::GetPixelFormat()
No documentation.
GetSize
D2D_SIZE_F ID2D1RenderTarget::GetSize()
No documentation.
GetPixelSize
D2D_SIZE_U ID2D1RenderTarget::GetPixelSize()
No documentation.
GetMaximumBitmapSize
unsigned int ID2D1RenderTarget::GetMaximumBitmapSize()
Creates a bitmap render target for use during intermediate offscreen drawing that is compatible with the current render targe with same size, pixel size and pixel format.
an instance of
A value that specifies whether the new render target must be compatible with GDI.
HRESULT CreateCompatibleRenderTarget([In, Optional] const D2D1_SIZE_F* desiredSize,[In, Optional] const D2D1_SIZE_U* desiredPixelSize,[In, Optional] const D2D1_PIXEL_FORMAT* desiredFormat,[None] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,[Out] ID2D1BitmapRenderTarget** bitmapRenderTarget)
Creates a bitmap render target for use during intermediate offscreen drawing that is compatible with the current render target with same pixel size and pixel format.
an instance of
A value that specifies whether the new render target must be compatible with GDI.
The desired size of the new render target in device-independent pixels if it should be different from the original render target. For more information, see the Remarks section.
HRESULT CreateCompatibleRenderTarget([In, Optional] const D2D1_SIZE_F* desiredSize,[In, Optional] const D2D1_SIZE_U* desiredPixelSize,[In, Optional] const D2D1_PIXEL_FORMAT* desiredFormat,[None] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,[Out] ID2D1BitmapRenderTarget** bitmapRenderTarget)
Creates a bitmap render target for use during intermediate offscreen drawing that is compatible with the current render target with same size and pixel size.
an instance of
The desired pixel format and alpha mode of the new render target. If the pixel format is set to DXGI_FORMAT_UNKNOWN, the new render target uses the same pixel format as the original render target. If the alpha mode is , the alpha mode of the new render target defaults to D2D1_ALPHA_MODE_PREMULTIPLIED. For information about supported pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.
A value that specifies whether the new render target must be compatible with GDI.
HRESULT CreateCompatibleRenderTarget([In, Optional] const D2D1_SIZE_F* desiredSize,[In, Optional] const D2D1_SIZE_U* desiredPixelSize,[In, Optional] const D2D1_PIXEL_FORMAT* desiredFormat,[None] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,[Out] ID2D1BitmapRenderTarget** bitmapRenderTarget)
Creates a bitmap render target for use during intermediate offscreen drawing that is compatible with the current render target.
The pixel size and DPI of the new render target can be altered by specifying values for desiredSize or desiredPixelSize: If desiredSize is specified but desiredPixelSize is not, the pixel size is computed from the desired size using the parent target DPI. If the desiredSize maps to a integer-pixel size, the DPI of the compatible render target is the same as the DPI of the parent target. If desiredSize maps to a fractional-pixel size, the pixel size is rounded up to the nearest integer and the DPI for the compatible render target is slightly higher than the DPI of the parent render target. In all cases, the coordinate (desiredSize.width, desiredSize.height) maps to the lower-right corner of the compatible render target.If the desiredPixelSize is specified and desiredSize is not, the DPI of the new render target is the same as the original render target.If both desiredSize and desiredPixelSize are specified, the DPI of the new render target is computed to account for the difference in scale.If neither desiredSize nor desiredPixelSize is specified, the new render target size and DPI match the original render target.
an instance of
The desired size of the new render target in device-independent pixels if it should be different from the original render target. For more information, see the Remarks section.
The desired size of the new render target in pixels if it should be different from the original render target. For more information, see the Remarks section.
The desired pixel format and alpha mode of the new render target. If the pixel format is set to DXGI_FORMAT_UNKNOWN, the new render target uses the same pixel format as the original render target. If the alpha mode is , the alpha mode of the new render target defaults to D2D1_ALPHA_MODE_PREMULTIPLIED. For information about supported pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.
A value that specifies whether the new render target must be compatible with GDI.
HRESULT CreateCompatibleRenderTarget([In, Optional] const D2D1_SIZE_F* desiredSize,[In, Optional] const D2D1_SIZE_U* desiredPixelSize,[In, Optional] const D2D1_PIXEL_FORMAT* desiredFormat,[None] D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options,[Out] ID2D1BitmapRenderTarget** bitmapRenderTarget)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1BitmapRenderTarget::GetBitmap([Out] ID2D1Bitmap** bitmap)
No documentation.
GetBitmap
HRESULT ID2D1BitmapRenderTarget::GetBitmap([Out] ID2D1Bitmap** bitmap)
Internal FontFileStream Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
HRESULT IDWriteFontFileStream::ReadFileFragment([Out, Buffer] const void** fragmentStart,[None] __int64 fileOffset,[None] __int64 fragmentSize,[Out] void** fragmentContext)
void IDWriteFontFileStream::ReleaseFileFragment([None] void* fragmentContext)
HRESULT IDWriteFontFileStream::GetFileSize([Out] __int64* fileSize)
HRESULT IDWriteFontFileStream::GetLastWriteTime([Out] __int64* lastWriteTime)
No documentation.
IDWriteFontFileLoader
No documentation.
IDWriteFontFileLoader
Creates a font file stream object that encapsulates an open file resource.
The resource is closed when the last reference to fontFileStream is released.
A reference to a font file reference key that uniquely identifies the font file resource within the scope of the font loader being used. The buffer allocated for this key must at least be the size, in bytes, specified by fontFileReferenceKeySize.
a reference to the newly created object.
HRESULT IDWriteFontFileLoader::CreateStreamFromKey([In, Buffer] const void* fontFileReferenceKey,[None] int fontFileReferenceKeySize,[Out] IDWriteFontFileStream** fontFileStream)
Creates a font file stream object that encapsulates an open file resource.
The resource is closed when the last reference to fontFileStream is released.
A reference to a font file reference key that uniquely identifies the font file resource within the scope of the font loader being used. The buffer allocated for this key must at least be the size, in bytes, specified by fontFileReferenceKeySize.
a reference to the newly created object.
HRESULT IDWriteFontFileLoader::CreateStreamFromKey([In, Buffer] const void* fontFileReferenceKey,[None] int fontFileReferenceKeySize,[Out] IDWriteFontFileStream** fontFileStream)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFileLoader::CreateStreamFromKey([In, Buffer] const void* fontFileReferenceKey,[In] unsigned int fontFileReferenceKeySize,[Out] IDWriteFontFileStream** fontFileStream)
No documentation.
ID2D1SolidColorBrush
Creates a new that has the specified color and opacity.
an instance of
The red, green, blue, and alpha values of the brush's color.
Creates a new that has the specified color and opacity.
an instance of
The red, green, blue, and alpha values of the brush's color.
The base opacity of the brush.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1SolidColorBrush::SetColor([In] const D2D_COLOR_F* color)
No documentation.
No documentation.
D2D_COLOR_F ID2D1SolidColorBrush::GetColor()
No documentation.
GetColor
D2D_COLOR_F ID2D1SolidColorBrush::GetColor()
No documentation.
D2D1_ARC_SEGMENT
No documentation.
D2D_POINT_2F point
No documentation.
D2D_SIZE_F size
No documentation.
float rotationAngle
No documentation.
D2D1_SWEEP_DIRECTION sweepDirection
No documentation.
D2D1_ARC_SIZE arcSize
No documentation.
D2D1_BEZIER_SEGMENT
No documentation.
D2D_POINT_2F point1
No documentation.
D2D_POINT_2F point2
No documentation.
D2D_POINT_2F point3
No documentation.
D2D1_BITMAP_BRUSH_PROPERTIES
No documentation.
D2D1_EXTEND_MODE extendModeX
No documentation.
D2D1_EXTEND_MODE extendModeY
No documentation.
D2D1_BITMAP_INTERPOLATION_MODE interpolationMode
No documentation.
D2D1_BITMAP_PROPERTIES
No documentation.
D2D1_PIXEL_FORMAT pixelFormat
No documentation.
float dpiX
No documentation.
float dpiY
Initializes a new instance of the struct.
The pixel format.
Initializes a new instance of the struct.
The pixel format.
The dpi X.
The dpi Y.
No documentation.
D2D1_BRUSH_PROPERTIES
No documentation.
float opacity
No documentation.
D2D_MATRIX_3X2_F transform
No documentation.
D2D1_DRAWING_STATE_DESCRIPTION
No documentation.
D2D1_ANTIALIAS_MODE antialiasMode
No documentation.
D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode
No documentation.
unsigned longlong tag1
No documentation.
unsigned longlong tag2
No documentation.
D2D_MATRIX_3X2_F transform
No documentation.
D2D1_ELLIPSE
No documentation.
D2D_POINT_2F point
No documentation.
float radiusX
No documentation.
float radiusY
Initializes a new instance of the struct.
The center.
The radius X.
The radius Y.
No documentation.
D2D1_FACTORY_OPTIONS
No documentation.
D2D1_DEBUG_LEVEL debugLevel
No documentation.
D2D1_GRADIENT_STOP
No documentation.
float position
No documentation.
D2D_COLOR_F color
No documentation.
D2D1_HWND_RENDER_TARGET_PROPERTIES
No documentation.
HWND hwnd
No documentation.
D2D_SIZE_U pixelSize
No documentation.
D2D1_PRESENT_OPTIONS presentOptions
No documentation.
D2D1_LAYER_PARAMETERS
No documentation.
D2D_RECT_F contentBounds
No documentation.
ID2D1Geometry* geometricMask
No documentation.
D2D1_ANTIALIAS_MODE maskAntialiasMode
No documentation.
D2D_MATRIX_3X2_F maskTransform
No documentation.
float opacity
No documentation.
ID2D1Brush* opacityBrush
No documentation.
D2D1_LAYER_OPTIONS layerOptions
No documentation.
D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES
No documentation.
D2D_POINT_2F startPoint
No documentation.
D2D_POINT_2F endPoint
No documentation.
D2D1_PIXEL_FORMAT
No documentation.
DXGI_FORMAT format
No documentation.
D2D1_ALPHA_MODE alphaMode
Initializes a new instance of the struct.
A value that specifies the size and arrangement of channels in each pixel.
A value that specifies whether the alpha channel is using pre-multiplied alpha, straight alpha, whether it should be ignored and considered opaque, or whether it is unkown.
No documentation.
D2D1_QUADRATIC_BEZIER_SEGMENT
No documentation.
D2D_POINT_2F point1
No documentation.
D2D_POINT_2F point2
No documentation.
D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES
No documentation.
D2D_POINT_2F center
No documentation.
D2D_POINT_2F gradientOriginOffset
No documentation.
float radiusX
No documentation.
float radiusY
No documentation.
D2D1_RENDER_TARGET_PROPERTIES
No documentation.
D2D1_RENDER_TARGET_TYPE type
No documentation.
D2D1_PIXEL_FORMAT pixelFormat
No documentation.
float dpiX
No documentation.
float dpiY
No documentation.
D2D1_RENDER_TARGET_USAGE usage
No documentation.
D2D1_FEATURE_LEVEL minLevel
Initializes a new instance of the struct.
The pixel format and alpha mode of the render target. You can use the {{D2D1::PixelFormat}} function to create a pixel format that specifies that Direct2D should select the pixel format and alpha mode for you. For a list of pixel formats and alpha modes supported by each render target, see {{Supported Pixel Formats and Alpha Modes}}.
Initializes a new instance of the struct.
A value that specifies whether the render target should force hardware or software rendering. A value of specifies that the render target should use hardware rendering if it is available; otherwise, it uses software rendering. Note that WIC bitmap render targets do not support hardware rendering.
The pixel format and alpha mode of the render target. You can use the {{D2D1::PixelFormat}} function to create a pixel format that specifies that Direct2D should select the pixel format and alpha mode for you. For a list of pixel formats and alpha modes supported by each render target, see {{Supported Pixel Formats and Alpha Modes}}.
The horizontal DPI of the render target. To use the default DPI, set dpiX and dpiY to 0. For more information, see the Remarks section.
The vertical DPI of the render target. To use the default DPI, set dpiX and dpiY to 0. For more information, see the Remarks section.
A value that specifies how the render target is remoted and whether it should be GDI-compatible. Set to to create a render target that is not compatible with GDI and uses Direct3D command-stream remoting if it is available.
A value that specifies the minimum Direct3D feature level required for hardware rendering. If the specified minimum level is not available, the render target uses software rendering if the type member is set to ; if type is set to to D2D1_RENDER_TARGET_TYPE_HARDWARE, render target creation fails. A value of indicates that Direct2D should determine whether the Direct3D feature level of the device is adequate. This field is used only when creating and objects.
No documentation.
D2D1_ROUNDED_RECT
No documentation.
D2D_RECT_F rect
No documentation.
float radiusX
No documentation.
float radiusY
No documentation.
D2D1_STROKE_STYLE_PROPERTIES
No documentation.
D2D1_CAP_STYLE startCap
No documentation.
D2D1_CAP_STYLE endCap
No documentation.
D2D1_CAP_STYLE dashCap
No documentation.
D2D1_LINE_JOIN lineJoin
No documentation.
float miterLimit
No documentation.
D2D1_DASH_STYLE dashStyle
No documentation.
float dashOffset
No documentation.
D2D1_TRIANGLE
No documentation.
D2D_POINT_2F point1
No documentation.
D2D_POINT_2F point2
No documentation.
D2D_POINT_2F point3
No documentation.
IDWriteTypography
Creates a typography object for use in a text layout.
an instance of
HRESULT IDWriteFactory::CreateTypography([Out] IDWriteTypography** typography)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTypography::AddFontFeature([In] DWRITE_FONT_FEATURE fontFeature)
No documentation.
No documentation.
unsigned int IDWriteTypography::GetFontFeatureCount()
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTypography::GetFontFeature([In] unsigned int fontFeatureIndex,[Out] DWRITE_FONT_FEATURE* fontFeature)
No documentation.
GetFontFeatureCount
unsigned int IDWriteTypography::GetFontFeatureCount()
A Item.
A glyph index
A glyph advance
A glyph offset
An inline object for trimming, using an ellipsis as the omission sign.
No documentation.
IDWriteInlineObject
No documentation.
IDWriteInlineObject
The application implemented rendering callback () can use this to draw the inline object without needing to cast or query the object type. The text layout does not call this method directly.
The drawing context passed to . This parameter may be NULL.
The same renderer passed to as the object's containing parent. This is useful if the inline object is recursive such as a nested layout.
The x-coordinate at the upper-left corner of the inline object.
The y-coordinate at the upper-left corner of the inline object.
A Boolean flag that indicates whether the object's baseline runs alongside the baseline axis of the line.
A Boolean flag that indicates whether the object is in a right-to-left context and should be drawn flipped.
The drawing effect set in . Usually this effect is a foreground brush that is used in glyph drawing.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteInlineObject::Draw([None] void* clientDrawingContext,[None] IDWriteTextRenderer* renderer,[None] float originX,[None] float originY,[None] BOOL isSideways,[None] BOOL isRightToLeft,[None] IUnknown* clientDrawingEffect)
Layout uses this to determine the line-breaking behavior of the inline object among the text.
When this method returns, contains a value which indicates the line-breaking condition between the object and the content immediately preceding it.
When this method returns, contains a value which indicates the line-breaking condition between the object and the content immediately following it.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteInlineObject::GetBreakConditions([Out] DWRITE_BREAK_CONDITION* breakConditionBefore,[Out] DWRITE_BREAK_CONDITION* breakConditionAfter)
calls this callback function to get the measurement of the inline object.
a structure describing the geometric measurement of anapplication-defined inline object. These metrics are in relation to the baseline of the adjacent text.
HRESULT IDWriteInlineObject::GetMetrics([Out] DWRITE_INLINE_OBJECT_METRICS* metrics)
TextLayout calls this callback function to get the visible extents (in DIPs) of the inline object. In the case of a simple bitmap, with no padding and no overhang, all the overhangs will simply be zeroes.
Overshoot of visible extents (in DIPs) outside the object.
HRESULT IDWriteInlineObject::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs)
The application implemented rendering callback () can use this to draw the inline object without needing to cast or query the object type. The text layout does not call this method directly.
The drawing context passed to . This parameter may be NULL.
The same renderer passed to as the object's containing parent. This is useful if the inline object is recursive such as a nested layout.
The x-coordinate at the upper-left corner of the inline object.
The y-coordinate at the upper-left corner of the inline object.
A Boolean flag that indicates whether the object's baseline runs alongside the baseline axis of the line.
A Boolean flag that indicates whether the object is in a right-to-left context and should be drawn flipped.
The drawing effect set in . Usually this effect is a foreground brush that is used in glyph drawing.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteInlineObject::Draw([None] void* clientDrawingContext,[None] IDWriteTextRenderer* renderer,[None] float originX,[None] float originY,[None] BOOL isSideways,[None] BOOL isRightToLeft,[None] IUnknown* clientDrawingEffect)
Layout uses this to determine the line-breaking behavior of the inline object among the text.
When this method returns, contains a value which indicates the line-breaking condition between the object and the content immediately preceding it.
When this method returns, contains a value which indicates the line-breaking condition between the object and the content immediately following it.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteInlineObject::GetBreakConditions([Out] DWRITE_BREAK_CONDITION* breakConditionBefore,[Out] DWRITE_BREAK_CONDITION* breakConditionAfter)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteInlineObject::Draw([In, Optional] void* clientDrawingContext,[In] IDWriteTextRenderer* renderer,[In] float originX,[In] float originY,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In, Optional] void* clientDrawingEffect)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteInlineObject::GetMetrics([Out] DWRITE_INLINE_OBJECT_METRICS* metrics)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteInlineObject::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteInlineObject::GetBreakConditions([Out] DWRITE_BREAK_CONDITION* breakConditionBefore,[Out] DWRITE_BREAK_CONDITION* breakConditionAfter)
calls this callback function to get the measurement of the inline object.
a structure describing the geometric measurement of anapplication-defined inline object. These metrics are in relation to the baseline of the adjacent text.
HRESULT IDWriteInlineObject::GetMetrics([Out] DWRITE_INLINE_OBJECT_METRICS* metrics)
TextLayout calls this callback function to get the visible extents (in DIPs) of the inline object. In the case of a simple bitmap, with no padding and no overhang, all the overhangs will simply be zeroes.
Overshoot of visible extents (in DIPs) outside the object.
HRESULT IDWriteInlineObject::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs)
Initializes a new instance of the class.
The native PTR.
Creates an inline object for trimming, using an ellipsis as the omission sign.
The ellipsis will be created using the current settings of the format, including base font, style, and any effects. Alternate omission signs can be created by the application by implementing .
a
A text format object, created with {{CreateTextFormat}}, used for text layout.
HRESULT IDWriteFactory::CreateEllipsisTrimmingSign([None] IDWriteTextFormat* textFormat,[Out] IDWriteInlineObject** trimmingSign)
No documentation.
IWICBitmapClipper
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapClipper::Initialize([In, Optional] IWICBitmapSource* pISource,[In] const WICRect* prc)
Initializes a new instance of the class.
The factory.
No documentation.
IWICBitmapCodecProgressNotification
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapCodecProgressNotification::RegisterProgressNotification([In, Optional] __function__stdcall* pfnProgressNotification,[In, Optional] void* pvData,[In] unsigned int dwProgressFlags)
No documentation.
IWICBitmapDecoderInfo
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoderInfo::GetPatterns([In] unsigned int cbSizePatterns,[Out, Buffer, Optional] WICBitmapPattern* pPatterns,[Out] unsigned int* pcPatterns,[Out] unsigned int* pcbPatternsActual)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoderInfo::MatchesPattern([In, Optional] IStream* pIStream,[Out] BOOL* pfMatches)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapDecoderInfo::CreateInstance([Out, Fast] IWICBitmapDecoder** ppIBitmapDecoder)
Retrieves a value that indicates whether the codec recognizes the pattern within a specified stream.
The stream to pattern match within.
true if the patterns match; otherwise, false.
HRESULT IWICBitmapDecoderInfo::MatchesPattern([In, Optional] IStream* pIStream,[Out] BOOL* pfMatches)
Gets the file pattern signatures supported by the decoder.
HRESULT IWICBitmapDecoderInfo::GetPatterns([In] unsigned int cbSizePatterns,[Out, Buffer, Optional] WICBitmapPattern* pPatterns,[Out] unsigned int* pcPatterns,[Out] unsigned int* pcbPatternsActual)
No documentation.
IWICBitmapEncoderInfo
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapEncoderInfo::CreateInstance([Out] IWICBitmapEncoder** ppIBitmapEncoder)
No documentation.
IWICBitmapFlipRotator
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFlipRotator::Initialize([In, Optional] IWICBitmapSource* pISource,[In] WICBitmapTransformOptions options)
Initializes a new instance of the class.
The factory.
No documentation.
IWICBitmapFrameDecode
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameDecode::GetMetadataQueryReader([Out] IWICMetadataQueryReader** ppIMetadataQueryReader)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameDecode::GetColorContexts([In] unsigned int cCount,[Out, Buffer, Optional] IWICColorContext** ppIColorContexts,[Out] unsigned int* pcActualCount)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameDecode::GetThumbnail([Out] IWICBitmapSource** ppIThumbnail)
No documentation.
GetMetadataQueryReader
HRESULT IWICBitmapFrameDecode::GetMetadataQueryReader([Out] IWICMetadataQueryReader** ppIMetadataQueryReader)
No documentation.
GetThumbnail
HRESULT IWICBitmapFrameDecode::GetThumbnail([Out] IWICBitmapSource** ppIThumbnail)
Gets the objects of the image.
HRESULT IWICBitmapFrameDecode::GetColorContexts([In] unsigned int cCount,[InOut, Buffer, Optional] IWICColorContext** ppIColorContexts,[Out] unsigned int* pcActualCount)
No documentation.
IWICBitmapFrameEncode
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::Initialize([In, Optional] IPropertyBag2* pIEncoderOptions)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::SetSize([In] unsigned int uiWidth,[In] unsigned int uiHeight)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::SetResolution([In] double dpiX,[In] double dpiY)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::SetPixelFormat([InOut] GUID* pPixelFormat)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::SetColorContexts([In] unsigned int cCount,[In, Buffer] IWICColorContext** ppIColorContext)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::SetColorContexts([In] unsigned int cCount,[In, Buffer] IWICColorContext** ppIColorContext)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::SetPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::SetThumbnail([In, Optional] IWICBitmapSource* pIThumbnail)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::WritePixels([In] unsigned int lineCount,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In, Buffer] void* pbPixels)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::WriteSource([In, Optional] IWICBitmapSource* pIBitmapSource,[In, Optional] WICRect* prc)
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::Commit()
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapFrameEncode::GetMetadataQueryWriter([Out] IWICMetadataQueryWriter** ppIMetadataQueryWriter)
Initializes a new instance of the class.
The encoder.
HRESULT IWICBitmapEncoder::CreateNewFrame([Out] IWICBitmapFrameEncode** ppIFrameEncode,[Out] IPropertyBag2** ppIEncoderOptions)
Initializes this instance.
HRESULT IWICBitmapFrameEncode::Initialize([In, Optional] IPropertyBag2* pIEncoderOptions)
Sets the objects for this frame encoder.
The color contexts to set for the encoder.
If the method succeeds, it returns . Otherwise, it throws an exception.
HRESULT IWICBitmapFrameEncode::SetColorContexts([In] unsigned int cCount,[In, Buffer] IWICColorContext** ppIColorContext)
Encodes the frame scanlines.
The line count.
The buffer.
HRESULT IWICBitmapFrameEncode::WritePixels([In] unsigned int lineCount,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In, Buffer] unsigned char* pbPixels)
No documentation.
SetPixelFormat
HRESULT IWICBitmapFrameEncode::SetPixelFormat([InOut] GUID* pPixelFormat)
No documentation.
SetPalette
HRESULT IWICBitmapFrameEncode::SetPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
SetThumbnail
HRESULT IWICBitmapFrameEncode::SetThumbnail([In, Optional] IWICBitmapSource* pIThumbnail)
No documentation.
GetMetadataQueryWriter
HRESULT IWICBitmapFrameEncode::GetMetadataQueryWriter([Out] IWICMetadataQueryWriter** ppIMetadataQueryWriter)
Gets the properties to setup before .
No documentation.
IWICBitmapLock
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapLock::GetSize([Out] unsigned int* puiWidth,[Out] unsigned int* puiHeight)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapLock::GetStride([Out] unsigned int* pcbStride)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapLock::GetDataPointer([Out] unsigned int* pcbBufferSize,[Out] void** ppbData)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapLock::GetPixelFormat([Out] GUID* pPixelFormat)
No documentation.
GetStride
HRESULT IWICBitmapLock::GetStride([Out] unsigned int* pcbStride)
No documentation.
GetPixelFormat
HRESULT IWICBitmapLock::GetPixelFormat([Out] GUID* pPixelFormat)
Gets the size.
HRESULT IWICBitmapLock::GetSize([Out] unsigned int* puiWidth,[Out] unsigned int* puiHeight)
Gets a pointer to the data.
No documentation.
IWICBitmapScaler
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapScaler::Initialize([In, Optional] IWICBitmapSource* pISource,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] WICBitmapInterpolationMode mode)
Initializes a new instance of the class.
The factory.
No documentation.
IWICBitmapSourceTransform
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSourceTransform::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In, Optional] GUID* pguidDstFormat,[In] WICBitmapTransformOptions dstTransform,[In] unsigned int nStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSourceTransform::GetClosestSize([InOut] unsigned int* puiWidth,[InOut] unsigned int* puiHeight)
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSourceTransform::GetClosestPixelFormat([InOut] GUID* pguidDstFormat)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICBitmapSourceTransform::DoesSupportTransform([In] WICBitmapTransformOptions dstTransform,[Out] BOOL* pfIsSupported)
Copies pixel data using the supplied input parameters.
The width.
The height.
The stride.
The output.
HRESULT IWICBitmapSourceTransform::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In, Optional] GUID* pguidDstFormat,[In] WICBitmapTransformOptions dstTransform,[In] unsigned int nStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
Copies pixel data using the supplied input parameters.
The width.
The height.
The DST transform.
The stride.
The output.
HRESULT IWICBitmapSourceTransform::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In, Optional] GUID* pguidDstFormat,[In] WICBitmapTransformOptions dstTransform,[In] unsigned int nStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
Copies pixel data using the supplied input parameters.
The width.
The height.
The GUID DST format.
The DST transform.
The stride.
The output.
HRESULT IWICBitmapSourceTransform::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In, Optional] GUID* pguidDstFormat,[In] WICBitmapTransformOptions dstTransform,[In] unsigned int nStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
Copies pixel data using the supplied input parameters.
The rectangle.
The width.
The height.
The GUID DST format.
The DST transform.
The stride.
The output.
HRESULT IWICBitmapSourceTransform::CopyPixels([In, Optional] const WICRect* prc,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In, Optional] GUID* pguidDstFormat,[In] WICBitmapTransformOptions dstTransform,[In] unsigned int nStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
Returns the closest dimensions the implementation can natively scale to given the desired dimensions.
The size.
HRESULT IWICBitmapSourceTransform::GetClosestSize([InOut] unsigned int* puiWidth,[InOut] unsigned int* puiHeight)
No documentation.
IWICColorContext
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICColorContext::InitializeFromFilename([In] const wchar_t* wzFilename)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICColorContext::InitializeFromMemory([In] const void* pbBuffer,[In] unsigned int cbBufferSize)
No documentation.
No documentation.
No documentation.
HRESULT IWICColorContext::InitializeFromExifColorSpace([In] unsigned int value)
No documentation.
No documentation.
No documentation.
HRESULT IWICColorContext::GetType([Out] WICColorContextType* pType)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICColorContext::GetProfileBytes([In] unsigned int cbBuffer,[In] void* pbBuffer,[Out] unsigned int* pcbActual)
No documentation.
No documentation.
No documentation.
HRESULT IWICColorContext::GetExifColorSpace([Out] unsigned int* pValue)
Initializes a new instance of the class.
The factory.
HRESULT IWICImagingFactory::CreateColorContext([Out, Fast] IWICColorContext** ppIWICColorContext)
Initializes from memory.
The data stream.
HRESULT IWICColorContext::InitializeFromMemory([In] const void* pbBuffer,[In] unsigned int cbBufferSize)
No documentation.
GetType
HRESULT IWICColorContext::GetType([Out] WICColorContextType* pType)
No documentation.
GetExifColorSpace
HRESULT IWICColorContext::GetExifColorSpace([Out] unsigned int* pValue)
Gets the color context profile.
No documentation.
IWICColorTransform
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICColorTransform::Initialize([In, Optional] IWICBitmapSource* pIBitmapSource,[In, Optional] IWICColorContext* pIContextSource,[In, Optional] IWICColorContext* pIContextDest,[In] const GUID& pixelFmtDest)
Initializes a new instance of the class.
The factory.
HRESULT IWICImagingFactory::CreateColorTransformer([Out, Fast] IWICColorTransform** ppIWICColorTransform)
No documentation.
IWICDevelopRaw
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::QueryRawCapabilitiesInfo([In] WICRawCapabilitiesInfo* pInfo)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::LoadParameterSet([In] WICRawParameterSet ParameterSet)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetCurrentParameterSet([Out] IPropertyBag2** ppCurrentParameterSet)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetExposureCompensation([In] double ev)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetExposureCompensation([Out] double* pEV)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetWhitePointRGB([In] unsigned int Red,[In] unsigned int Green,[In] unsigned int Blue)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetWhitePointRGB([Out] unsigned int* pRed,[Out] unsigned int* pGreen,[Out] unsigned int* pBlue)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetNamedWhitePoint([In] WICNamedWhitePoint WhitePoint)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetNamedWhitePoint([Out] WICNamedWhitePoint* pWhitePoint)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetWhitePointKelvin([In] unsigned int WhitePointKelvin)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetWhitePointKelvin([Out] unsigned int* pWhitePointKelvin)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetKelvinRangeInfo([Out] unsigned int* pMinKelvinTemp,[Out] unsigned int* pMaxKelvinTemp,[Out] unsigned int* pKelvinTempStepValue)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetContrast([In] double Contrast)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetContrast([Out] double* pContrast)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetGamma([In] double Gamma)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetGamma([Out] double* pGamma)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetSharpness([In] double Sharpness)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetSharpness([Out] double* pSharpness)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetSaturation([In] double Saturation)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetSaturation([Out] double* pSaturation)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetTint([In] double Tint)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetTint([Out] double* pTint)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetNoiseReduction([In] double NoiseReduction)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetNoiseReduction([Out] double* pNoiseReduction)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetDestinationColorContext([In, Optional] IWICColorContext* pColorContext)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetToneCurve([In] unsigned int cbToneCurveSize,[In, Buffer] const WICRawToneCurve* pToneCurve)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetToneCurve([In] unsigned int cbToneCurveBufferSize,[Out, Buffer, Optional] WICRawToneCurve* pToneCurve,[InOut, Optional] unsigned int* pcbActualToneCurveBufferSize)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetRotation([In] double Rotation)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetRotation([Out] double* pRotation)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetRenderMode([In] WICRawRenderMode RenderMode)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::GetRenderMode([Out] WICRawRenderMode* pRenderMode)
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRaw::SetNotificationCallback([In, Optional] IWICDevelopRawNotificationCallback* pCallback)
No documentation.
GetCurrentParameterSet
HRESULT IWICDevelopRaw::GetCurrentParameterSet([Out] IPropertyBag2** ppCurrentParameterSet)
No documentation.
GetExposureCompensation
HRESULT IWICDevelopRaw::GetExposureCompensation([Out] double* pEV)
No documentation.
GetNamedWhitePoint
HRESULT IWICDevelopRaw::GetNamedWhitePoint([Out] WICNamedWhitePoint* pWhitePoint)
No documentation.
GetWhitePointKelvin
HRESULT IWICDevelopRaw::GetWhitePointKelvin([Out] unsigned int* pWhitePointKelvin)
No documentation.
GetContrast
HRESULT IWICDevelopRaw::GetContrast([Out] double* pContrast)
No documentation.
GetGamma
HRESULT IWICDevelopRaw::GetGamma([Out] double* pGamma)
No documentation.
GetSharpness
HRESULT IWICDevelopRaw::GetSharpness([Out] double* pSharpness)
No documentation.
GetSaturation
HRESULT IWICDevelopRaw::GetSaturation([Out] double* pSaturation)
No documentation.
GetTint
HRESULT IWICDevelopRaw::GetTint([Out] double* pTint)
No documentation.
GetNoiseReduction
HRESULT IWICDevelopRaw::GetNoiseReduction([Out] double* pNoiseReduction)
No documentation.
SetDestinationColorContext
HRESULT IWICDevelopRaw::SetDestinationColorContext([In, Optional] IWICColorContext* pColorContext)
No documentation.
GetRotation
HRESULT IWICDevelopRaw::GetRotation([Out] double* pRotation)
No documentation.
GetRenderMode
HRESULT IWICDevelopRaw::GetRenderMode([Out] WICRawRenderMode* pRenderMode)
No documentation.
SetNotificationCallback
HRESULT IWICDevelopRaw::SetNotificationCallback([In, Optional] IWICDevelopRawNotificationCallback* pCallback)
No documentation.
IWICDevelopRawNotificationCallback
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICDevelopRawNotificationCallback::Notify([In] unsigned int NotificationMask)
No documentation.
IWICEnumMetadataItem
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICEnumMetadataItem::Skip([In] unsigned int celt)
No documentation.
No documentation.
HRESULT IWICEnumMetadataItem::Reset()
No documentation.
No documentation.
No documentation.
HRESULT IWICEnumMetadataItem::Clone([Out] IWICEnumMetadataItem** ppIEnumMetadataItem)
No documentation.
IWICFastMetadataEncoder
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
HRESULT IWICFastMetadataEncoder::Commit()
No documentation.
No documentation.
No documentation.
HRESULT IWICFastMetadataEncoder::GetMetadataQueryWriter([Out] IWICMetadataQueryWriter** ppIMetadataQueryWriter)
Initializes a new instance of the class from a
The factory.
The decoder.
Initializes a new instance of the class from a
The factory.
The frame decoder.
No documentation.
GetMetadataQueryWriter
HRESULT IWICFastMetadataEncoder::GetMetadataQueryWriter([Out] IWICMetadataQueryWriter** ppIMetadataQueryWriter)
No documentation.
IWICFormatConverter
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICFormatConverter::Initialize([In, Optional] IWICBitmapSource* pISource,[In] const GUID& dstFormat,[In] WICBitmapDitherType dither,[In, Optional] IWICPalette* pIPalette,[In] double alphaThresholdPercent,[In] WICBitmapPaletteType paletteTranslate)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICFormatConverter::CanConvert([In] const GUID& srcPixelFormat,[In] const GUID& dstPixelFormat,[Out] BOOL* pfCanConvert)
Initializes a new instance of the class.
The converter info.
Initializes this instance with the specified bitmap source and format
The source ref.
The destination format.
Initializes a new instance of the class.
The factory.
No documentation.
IWICFormatConverterInfo
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICFormatConverterInfo::GetPixelFormats([In] unsigned int cFormats,[In] void* pPixelFormatGUIDs,[Out] unsigned int* pcActual)
No documentation.
No documentation.
No documentation.
HRESULT IWICFormatConverterInfo::CreateInstance([Out, Fast] IWICFormatConverter** ppIConverter)
Gets the supported pixel formats.
No documentation.
IWICImagingFactory
Initializes a new instance of the class.
The native pointer.
Constant WICImagingFactoryClsid.
CLSID_WICImagingFactory
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateDecoderFromFilename([In] const wchar_t* wzFilename,[In, Optional] const GUID* pguidVendor,[In] unsigned int dwDesiredAccess,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateDecoderFromStream([In, Optional] IStream* pIStream,[In, Optional] const GUID* pguidVendor,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateDecoderFromFileHandle([In] ULONG_PTR hFile,[In, Optional] const GUID* pguidVendor,[In] WICDecodeOptions metadataOptions,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateComponentInfo([In] const GUID& clsidComponent,[Out, Fast] IWICComponentInfo** ppIInfo)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateDecoder([In] const GUID& guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapDecoder** ppIDecoder)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateEncoder([In] const GUID& guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapEncoder** ppIEncoder)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreatePalette([Out, Fast] IWICPalette** ppIPalette)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateFormatConverter([Out, Fast] IWICFormatConverter** ppIFormatConverter)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapScaler([Out, Fast] IWICBitmapScaler** ppIBitmapScaler)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapClipper([Out, Fast] IWICBitmapClipper** ppIBitmapClipper)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapFlipRotator([Out, Fast] IWICBitmapFlipRotator** ppIBitmapFlipRotator)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateStream([Out, Fast] IWICStream** ppIWICStream)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateColorContext([Out, Fast] IWICColorContext** ppIWICColorContext)
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateColorTransformer([Out, Fast] IWICColorTransform** ppIWICColorTransform)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmap([In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] const GUID& pixelFormat,[In] WICBitmapCreateCacheOption option,[Out, Fast] IWICBitmap** ppIBitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapFromSource([In, Optional] IWICBitmapSource* pIBitmapSource,[In] WICBitmapCreateCacheOption option,[Out, Fast] IWICBitmap** ppIBitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapFromSourceRect([In, Optional] IWICBitmapSource* pIBitmapSource,[In] unsigned int x,[In] unsigned int y,[In] unsigned int width,[In] unsigned int height,[Out, Fast] IWICBitmap** ppIBitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapFromMemory([In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] const GUID& pixelFormat,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer,[Out, Fast] IWICBitmap** ppIBitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapFromHBITMAP([In] HBITMAP hBitmap,[In, Optional] HPALETTE hPalette,[In] WICBitmapAlphaChannelOption options,[Out, Fast] IWICBitmap** ppIBitmap)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateBitmapFromHICON([In] HICON hIcon,[Out, Fast] IWICBitmap** ppIBitmap)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateComponentEnumerator([In] unsigned int componentTypes,[In] unsigned int options,[Out, Fast] IEnumUnknown** ppIEnumUnknown)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateFastMetadataEncoderFromDecoder([In, Optional] IWICBitmapDecoder* pIDecoder,[Out, Fast] IWICFastMetadataEncoder** ppIFastEncoder)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateFastMetadataEncoderFromFrameDecode([In, Optional] IWICBitmapFrameDecode* pIFrameDecoder,[Out, Fast] IWICFastMetadataEncoder** ppIFastEncoder)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateQueryWriter([In] const GUID& guidMetadataFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICMetadataQueryWriter** ppIQueryWriter)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICImagingFactory::CreateQueryWriterFromReader([In, Optional] IWICMetadataQueryReader* pIQueryReader,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICMetadataQueryWriter** ppIQueryWriter)
Initializes a new instance of the class.
No documentation.
IWICPalette
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::InitializePredefined([In] WICBitmapPaletteType ePaletteType,[In] BOOL fAddTransparentColor)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::InitializeCustom([In, Buffer] unsigned int* pColors,[In] unsigned int cCount)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::InitializeFromBitmap([In, Optional] IWICBitmapSource* pISurface,[In] unsigned int cCount,[In] BOOL fAddTransparentColor)
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::InitializeFromPalette([In, Optional] IWICPalette* pIPalette)
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::GetType([Out] WICBitmapPaletteType* pePaletteType)
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::GetColorCount([Out] unsigned int* pcCount)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::GetColors([In] unsigned int cCount,[Out, Buffer] unsigned int* pColors,[Out] unsigned int* pcActualColors)
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::IsBlackWhite([Out] BOOL* pfIsBlackWhite)
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::IsGrayscale([Out] BOOL* pfIsGrayscale)
No documentation.
No documentation.
No documentation.
HRESULT IWICPalette::HasAlpha([Out] BOOL* pfHasAlpha)
Initializes a new instance of the class.
The factory.
HRESULT IWICImagingFactory::CreatePalette([Out, Fast] IWICPalette** ppIPalette)
Initializes with the specified colors.
The colors.
HRESULT IWICPalette::InitializeCustom([In, Buffer] unsigned int* pColors,[In] unsigned int cCount)
No documentation.
GetType
HRESULT IWICPalette::GetType([Out] WICBitmapPaletteType* pePaletteType)
No documentation.
GetColorCount
HRESULT IWICPalette::GetColorCount([Out] unsigned int* pcCount)
No documentation.
IsBlackWhite
HRESULT IWICPalette::IsBlackWhite([Out] BOOL* pfIsBlackWhite)
No documentation.
IsGrayscale
HRESULT IWICPalette::IsGrayscale([Out] BOOL* pfIsGrayscale)
Gets the colors.
HRESULT IWICPalette::GetColors([In] unsigned int cCount,[Out, Buffer] unsigned int* pColors,[Out] unsigned int* pcActualColors)
No documentation.
IWICPixelFormatInfo
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICPixelFormatInfo::GetFormatGUID([Out] GUID* pFormat)
No documentation.
No documentation.
No documentation.
HRESULT IWICPixelFormatInfo::GetColorContext([Out] IWICColorContext** ppIColorContext)
No documentation.
No documentation.
No documentation.
HRESULT IWICPixelFormatInfo::GetBitsPerPixel([Out] unsigned int* puiBitsPerPixel)
No documentation.
No documentation.
No documentation.
HRESULT IWICPixelFormatInfo::GetChannelCount([Out] unsigned int* puiChannelCount)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICPixelFormatInfo::GetChannelMask([In] unsigned int uiChannelIndex,[In] unsigned int cbMaskBuffer,[In] void* pbMaskBuffer,[Out] unsigned int* pcbActual)
Gets the channel mask.
Index of the channel.
HRESULT IWICPixelFormatInfo::GetChannelMask([In] unsigned int uiChannelIndex,[In] unsigned int cbMaskBuffer,[In] void* pbMaskBuffer,[Out] unsigned int* pcbActual)
No documentation.
GetFormatGUID
HRESULT IWICPixelFormatInfo::GetFormatGUID([Out] GUID* pFormat)
No documentation.
GetColorContext
HRESULT IWICPixelFormatInfo::GetColorContext([Out] IWICColorContext** ppIColorContext)
No documentation.
GetBitsPerPixel
HRESULT IWICPixelFormatInfo::GetBitsPerPixel([Out] unsigned int* puiBitsPerPixel)
No documentation.
GetChannelCount
HRESULT IWICPixelFormatInfo::GetChannelCount([Out] unsigned int* puiChannelCount)
No documentation.
IWICPixelFormatInfo2
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICPixelFormatInfo2::SupportsTransparency([Out] BOOL* pfSupportsTransparency)
No documentation.
No documentation.
No documentation.
HRESULT IWICPixelFormatInfo2::GetNumericRepresentation([Out] WICPixelFormatNumericRepresentation* pNumericRepresentation)
No documentation.
SupportsTransparency
HRESULT IWICPixelFormatInfo2::SupportsTransparency([Out] BOOL* pfSupportsTransparency)
No documentation.
GetNumericRepresentation
HRESULT IWICPixelFormatInfo2::GetNumericRepresentation([Out] WICPixelFormatNumericRepresentation* pNumericRepresentation)
No documentation.
IWICProgressCallback
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICProgressCallback::Notify([In] unsigned int uFrameNum,[In] WICProgressOperation operation,[In] double dblProgress)
No documentation.
IWICProgressiveLevelControl
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICProgressiveLevelControl::GetLevelCount([Out] unsigned int* pcLevels)
No documentation.
No documentation.
No documentation.
HRESULT IWICProgressiveLevelControl::GetCurrentLevel([Out] unsigned int* pnLevel)
No documentation.
No documentation.
No documentation.
HRESULT IWICProgressiveLevelControl::SetCurrentLevel([In] unsigned int nLevel)
No documentation.
GetLevelCount
HRESULT IWICProgressiveLevelControl::GetLevelCount([Out] unsigned int* pcLevels)
No documentation.
GetCurrentLevel
HRESULT IWICProgressiveLevelControl::GetCurrentLevel([Out] unsigned int* pnLevel)
No documentation.
IWICStream
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IWICStream::InitializeFromIStream([In, Optional] IStream* pIStream)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICStream::InitializeFromFilename([In] const wchar_t* wzFileName,[In] unsigned int dwDesiredAccess)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICStream::InitializeFromMemory([In] void* pbBuffer,[In] unsigned int cbBufferSize)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IWICStream::InitializeFromIStreamRegion([In, Optional] IStream* pIStream,[In] ULARGE_INTEGER ulOffset,[In] ULARGE_INTEGER ulMaxSize)
Initializes a new instance of the class from a file.
The factory.
Name of the file.
The file access.
HRESULT IWICImagingFactory::CreateStream([Out, Fast] IWICStream** ppIWICStream)
HRESULT IWICStream::InitializeFromFilename([In] const wchar_t* wzFileName,[In] unsigned int dwDesiredAccess)
Initializes a new instance of the class from a .
The factory.
The stream.
HRESULT IWICImagingFactory::CreateStream([Out, Fast] IWICStream** ppIWICStream)
HRESULT IWICStream::InitializeFromFilename([In] const wchar_t* wzFileName,[In] unsigned int dwDesiredAccess)
Initializes a new instance of the class from an unmanaged memory through a .
The factory.
The unmanaged memory stream.
HRESULT IWICImagingFactory::CreateStream([Out, Fast] IWICStream** ppIWICStream)
HRESULT IWICStream::InitializeFromFilename([In] const wchar_t* wzFileName,[In] unsigned int dwDesiredAccess)
Png bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
ID2D1DCRenderTarget
Creates a render target that draws to a Windows Graphics Device Interface (GDI) device context.
Before you can render with a DC render target, you must use the render target's {{BindDC}} method to associate it with a GDI DC. Do this for each different DC and whenever there is a change in the size of the area you want to draw to.To enable the DC render target to work with GDI, set the render target's DXGI format to and alpha mode to or D2D1_ALPHA_MODE_IGNORE.Your application should create render targets once and hold on to them for the life of the application or until the render target's {{EndDraw}} method returns the {{D2DERR_RECREATE_TARGET}} error. When you receive this error, recreate the render target (and any resources it created).
an instance of
The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering. To enable the device context (DC) render target to work with GDI, set the DXGI format to and the alpha mode to or D2D1_ALPHA_MODE_IGNORE. For more information about pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1DCRenderTarget::BindDC([In] const HDC hDC,[In] const RECT* pSubRect)
No documentation.
ID2D1GradientStopCollection
Creates an from the specified gradient stops, a Gamma StandardRgb, and ExtendMode.Clamp.
an instance of
A pointer to an array of D2D1_GRADIENT_STOP structures.
HRESULT CreateGradientStopCollection([In, Buffer] const D2D1_GRADIENT_STOP* gradientStops,[None] UINT gradientStopsCount,[None] D2D1_GAMMA colorInterpolationGamma,[None] D2D1_EXTEND_MODE extendMode,[Out] ID2D1GradientStopCollection** gradientStopCollection)
Creates an from the specified gradient stops, color Gamma.StandardRgb, and extend mode.
an instance of
A pointer to an array of D2D1_GRADIENT_STOP structures.
The behavior of the gradient outside the [0,1] normalized range.
HRESULT CreateGradientStopCollection([In, Buffer] const D2D1_GRADIENT_STOP* gradientStops,[None] UINT gradientStopsCount,[None] D2D1_GAMMA colorInterpolationGamma,[None] D2D1_EXTEND_MODE extendMode,[Out] ID2D1GradientStopCollection** gradientStopCollection)
Creates an from the specified gradient stops, color interpolation gamma, and ExtendMode.Clamp.
an instance of
A pointer to an array of D2D1_GRADIENT_STOP structures.
The space in which color interpolation between the gradient stops is performed.
HRESULT CreateGradientStopCollection([In, Buffer] const D2D1_GRADIENT_STOP* gradientStops,[None] UINT gradientStopsCount,[None] D2D1_GAMMA colorInterpolationGamma,[None] D2D1_EXTEND_MODE extendMode,[Out] ID2D1GradientStopCollection** gradientStopCollection)
Creates an from the specified gradient stops, color interpolation gamma, and extend mode.
an instance of
A pointer to an array of D2D1_GRADIENT_STOP structures.
The space in which color interpolation between the gradient stops is performed.
The behavior of the gradient outside the [0,1] normalized range.
HRESULT CreateGradientStopCollection([In, Buffer] const D2D1_GRADIENT_STOP* gradientStops,[None] UINT gradientStopsCount,[None] D2D1_GAMMA colorInterpolationGamma,[None] D2D1_EXTEND_MODE extendMode,[Out] ID2D1GradientStopCollection** gradientStopCollection)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
unsigned int ID2D1GradientStopCollection::GetGradientStopCount()
No documentation.
No documentation.
No documentation.
void ID2D1GradientStopCollection::GetGradientStops([Out, Buffer] D2D1_GRADIENT_STOP* gradientStops,[In] unsigned int gradientStopsCount)
No documentation.
No documentation.
D2D1_GAMMA ID2D1GradientStopCollection::GetColorInterpolationGamma()
No documentation.
No documentation.
D2D1_EXTEND_MODE ID2D1GradientStopCollection::GetExtendMode()
No documentation.
GetGradientStopCount
unsigned int ID2D1GradientStopCollection::GetGradientStopCount()
No documentation.
GetColorInterpolationGamma
D2D1_GAMMA ID2D1GradientStopCollection::GetColorInterpolationGamma()
No documentation.
GetExtendMode
D2D1_EXTEND_MODE ID2D1GradientStopCollection::GetExtendMode()
No documentation.
IDWriteTextFormat
Creates a text format object used for text layout with normal weight, style and stretch.
an instance of
An array of characters that contains the name of the font family
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
HRESULT CreateTextFormat([In] const wchar* fontFamilyName,[None] IDWriteFontCollection* fontCollection,[None] DWRITE_FONT_WEIGHT fontWeight,[None] DWRITE_FONT_STYLE fontStyle,[None] DWRITE_FONT_STRETCH fontStretch,[None] FLOAT fontSize,[In] const wchar* localeName,[Out] IDWriteTextFormat** textFormat)
Creates a text format object used for text layout with normal stretch.
an instance of
An array of characters that contains the name of the font family
A value that indicates the font weight for the text object created by this method.
A value that indicates the font style for the text object created by this method.
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
HRESULT CreateTextFormat([In] const wchar* fontFamilyName,[None] IDWriteFontCollection* fontCollection,[None] DWRITE_FONT_WEIGHT fontWeight,[None] DWRITE_FONT_STYLE fontStyle,[None] DWRITE_FONT_STRETCH fontStretch,[None] FLOAT fontSize,[In] const wchar* localeName,[Out] IDWriteTextFormat** textFormat)
Creates a text format object used for text layout.
an instance of
An array of characters that contains the name of the font family
A value that indicates the font weight for the text object created by this method.
A value that indicates the font style for the text object created by this method.
A value that indicates the font stretch for the text object created by this method.
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
HRESULT CreateTextFormat([In] const wchar* fontFamilyName,[None] IDWriteFontCollection* fontCollection,[None] DWRITE_FONT_WEIGHT fontWeight,[None] DWRITE_FONT_STYLE fontStyle,[None] DWRITE_FONT_STRETCH fontStretch,[None] FLOAT fontSize,[In] const wchar* localeName,[Out] IDWriteTextFormat** textFormat)
Creates a text format object used for text layout.
an instance of
An array of characters that contains the name of the font family
A pointer to a font collection object. When this is NULL, indicates the system font collection.
A value that indicates the font weight for the text object created by this method.
A value that indicates the font style for the text object created by this method.
A value that indicates the font stretch for the text object created by this method.
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
HRESULT CreateTextFormat([In] const wchar* fontFamilyName,[None] IDWriteFontCollection* fontCollection,[None] DWRITE_FONT_WEIGHT fontWeight,[None] DWRITE_FONT_STYLE fontStyle,[None] DWRITE_FONT_STRETCH fontStretch,[None] FLOAT fontSize,[In] const wchar* localeName,[Out] IDWriteTextFormat** textFormat)
Creates a text format object used for text layout.
an instance of
An array of characters that contains the name of the font family
A pointer to a font collection object. When this is NULL, indicates the system font collection.
A value that indicates the font weight for the text object created by this method.
A value that indicates the font style for the text object created by this method.
A value that indicates the font stretch for the text object created by this method.
The logical size of the font in DIP ("device-independent pixel") units. A DIP equals 1/96 inch.
An array of characters that contains the locale name.
HRESULT CreateTextFormat([In] const wchar* fontFamilyName,[None] IDWriteFontCollection* fontCollection,[None] DWRITE_FONT_WEIGHT fontWeight,[None] DWRITE_FONT_STYLE fontStyle,[None] DWRITE_FONT_STRETCH fontStretch,[None] FLOAT fontSize,[In] const wchar* localeName,[Out] IDWriteTextFormat** textFormat)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetTextAlignment([In] DWRITE_TEXT_ALIGNMENT textAlignment)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetParagraphAlignment([In] DWRITE_PARAGRAPH_ALIGNMENT paragraphAlignment)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetWordWrapping([In] DWRITE_WORD_WRAPPING wordWrapping)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetReadingDirection([In] DWRITE_READING_DIRECTION readingDirection)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetFlowDirection([In] DWRITE_FLOW_DIRECTION flowDirection)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetIncrementalTabStop([In] float incrementalTabStop)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetTrimming([In] const DWRITE_TRIMMING* trimmingOptions,[In] IDWriteInlineObject* trimmingSign)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::SetLineSpacing([In] DWRITE_LINE_SPACING_METHOD lineSpacingMethod,[In] float lineSpacing,[In] float baseline)
No documentation.
No documentation.
DWRITE_TEXT_ALIGNMENT IDWriteTextFormat::GetTextAlignment()
No documentation.
No documentation.
DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat::GetParagraphAlignment()
No documentation.
No documentation.
DWRITE_WORD_WRAPPING IDWriteTextFormat::GetWordWrapping()
No documentation.
No documentation.
DWRITE_READING_DIRECTION IDWriteTextFormat::GetReadingDirection()
No documentation.
No documentation.
DWRITE_FLOW_DIRECTION IDWriteTextFormat::GetFlowDirection()
No documentation.
No documentation.
float IDWriteTextFormat::GetIncrementalTabStop()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::GetTrimming([Out] DWRITE_TRIMMING* trimmingOptions,[Out] IDWriteInlineObject** trimmingSign)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::GetLineSpacing([Out] DWRITE_LINE_SPACING_METHOD* lineSpacingMethod,[Out] float* lineSpacing,[Out] float* baseline)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::GetFontCollection([Out] IDWriteFontCollection** fontCollection)
No documentation.
No documentation.
unsigned int IDWriteTextFormat::GetFontFamilyNameLength()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::GetFontFamilyName([Out, Buffer] wchar_t* fontFamilyName,[In] unsigned int nameSize)
No documentation.
No documentation.
DWRITE_FONT_WEIGHT IDWriteTextFormat::GetFontWeight()
No documentation.
No documentation.
DWRITE_FONT_STYLE IDWriteTextFormat::GetFontStyle()
No documentation.
No documentation.
DWRITE_FONT_STRETCH IDWriteTextFormat::GetFontStretch()
No documentation.
No documentation.
float IDWriteTextFormat::GetFontSize()
No documentation.
No documentation.
unsigned int IDWriteTextFormat::GetLocaleNameLength()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextFormat::GetLocaleName([Out, Buffer] wchar_t* localeName,[In] unsigned int nameSize)
Gets a copy of the font family name.
the current font family name.
HRESULT IDWriteTextFormat::GetFontFamilyName([Out, Buffer] wchar_t* fontFamilyName,[None] int nameSize)
Gets a copy of the locale name.
the current locale name.
HRESULT IDWriteTextFormat::GetLocaleName([Out, Buffer] wchar_t* localeName,[None] int nameSize)
No documentation.
GetTextAlignment
DWRITE_TEXT_ALIGNMENT IDWriteTextFormat::GetTextAlignment()
No documentation.
GetParagraphAlignment
DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat::GetParagraphAlignment()
No documentation.
GetWordWrapping
DWRITE_WORD_WRAPPING IDWriteTextFormat::GetWordWrapping()
No documentation.
GetReadingDirection
DWRITE_READING_DIRECTION IDWriteTextFormat::GetReadingDirection()
No documentation.
GetFlowDirection
DWRITE_FLOW_DIRECTION IDWriteTextFormat::GetFlowDirection()
No documentation.
GetIncrementalTabStop
float IDWriteTextFormat::GetIncrementalTabStop()
No documentation.
GetFontCollection
HRESULT IDWriteTextFormat::GetFontCollection([Out] IDWriteFontCollection** fontCollection)
No documentation.
GetFontWeight
DWRITE_FONT_WEIGHT IDWriteTextFormat::GetFontWeight()
No documentation.
GetFontStyle
DWRITE_FONT_STYLE IDWriteTextFormat::GetFontStyle()
No documentation.
GetFontStretch
DWRITE_FONT_STRETCH IDWriteTextFormat::GetFontStretch()
No documentation.
GetFontSize
float IDWriteTextFormat::GetFontSize()
No documentation.
IDWriteGlyphRunAnalysis
Creates a glyph run analysis object, which encapsulates information used to render a glyph run.
The factory.
A structure that contains the properties of the glyph run (font face, advances, and so on).
Number of physical pixels per DIP (device independent pixel). For example, if rendering onto a 96 DPI bitmap then pixelsPerDip is 1. If rendering onto a 120 DPI bitmap then pixelsPerDip is 1.25.
A value that specifies the rendering mode, which must be one of the raster rendering modes (that is, not default and not outline).
Specifies the measuring mode to use with glyphs.
The horizontal position (X-coordinate) of the baseline origin, in DIPs.
Vertical position (Y-coordinate) of the baseline origin, in DIPs.
The glyph run analysis object contains the results of analyzing the glyph run, including the positions of all the glyphs and references to all of the rasterized glyphs in the font cache.
HRESULT IDWriteFactory::CreateGlyphRunAnalysis([In] const DWRITE_GLYPH_RUN* glyphRun,[None] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[None] DWRITE_RENDERING_MODE renderingMode,[None] DWRITE_MEASURING_MODE measuringMode,[None] float baselineOriginX,[None] float baselineOriginY,[Out] IDWriteGlyphRunAnalysis** glyphRunAnalysis)
Creates a glyph run analysis object, which encapsulates information used to render a glyph run.
The factory.
A structure that contains the properties of the glyph run (font face, advances, and so on).
Number of physical pixels per DIP (device independent pixel). For example, if rendering onto a 96 DPI bitmap then pixelsPerDip is 1. If rendering onto a 120 DPI bitmap then pixelsPerDip is 1.25.
Optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified the emSize and pixelsPerDip.
A value that specifies the rendering mode, which must be one of the raster rendering modes (that is, not default and not outline).
Specifies the measuring mode to use with glyphs.
The horizontal position (X-coordinate) of the baseline origin, in DIPs.
Vertical position (Y-coordinate) of the baseline origin, in DIPs.
The glyph run analysis object contains the results of analyzing the glyph run, including the positions of all the glyphs and references to all of the rasterized glyphs in the font cache.
HRESULT IDWriteFactory::CreateGlyphRunAnalysis([In] const DWRITE_GLYPH_RUN* glyphRun,[None] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[None] DWRITE_RENDERING_MODE renderingMode,[None] DWRITE_MEASURING_MODE measuringMode,[None] float baselineOriginX,[None] float baselineOriginY,[Out] IDWriteGlyphRunAnalysis** glyphRunAnalysis)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGlyphRunAnalysis::GetAlphaTextureBounds([In] DWRITE_TEXTURE_TYPE textureType,[Out] RECT* textureBounds)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGlyphRunAnalysis::CreateAlphaTexture([In] DWRITE_TEXTURE_TYPE textureType,[In] const RECT* textureBounds,[Out, Buffer] unsigned char* alphaValues,[In] unsigned int bufferSize)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGlyphRunAnalysis::GetAlphaBlendParams([In] IDWriteRenderingParams* renderingParams,[Out] float* blendGamma,[Out] float* blendEnhancedContrast,[Out] float* blendClearTypeLevel)
No documentation.
ID2D1Factory
Default Constructor for a .
Default Constructor for a .
Default Constructor for a .
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
HRESULT ID2D1Factory::ReloadSystemMetrics()
No documentation.
No documentation.
No documentation.
void ID2D1Factory::GetDesktopDpi([Out] float* dpiX,[Out] float* dpiY)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateRectangleGeometry([In] const D2D_RECT_F* rectangle,[Out, Fast] ID2D1RectangleGeometry** rectangleGeometry)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateRoundedRectangleGeometry([In] const D2D1_ROUNDED_RECT* roundedRectangle,[Out, Fast] ID2D1RoundedRectangleGeometry** roundedRectangleGeometry)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateEllipseGeometry([In] const D2D1_ELLIPSE* ellipse,[Out, Fast] ID2D1EllipseGeometry** ellipseGeometry)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateGeometryGroup([In] D2D1_FILL_MODE fillMode,[In, Buffer] ID2D1Geometry** geometries,[In] unsigned int geometriesCount,[Out, Fast] ID2D1GeometryGroup** geometryGroup)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateGeometryGroup([In] D2D1_FILL_MODE fillMode,[In, Buffer] ID2D1Geometry** geometries,[In] unsigned int geometriesCount,[Out, Fast] ID2D1GeometryGroup** geometryGroup)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateTransformedGeometry([In] ID2D1Geometry* sourceGeometry,[In] const D2D_MATRIX_3X2_F* transform,[Out, Fast] ID2D1TransformedGeometry** transformedGeometry)
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreatePathGeometry([Out, Fast] ID2D1PathGeometry** pathGeometry)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateStrokeStyle([In] const D2D1_STROKE_STYLE_PROPERTIES* strokeStyleProperties,[In, Buffer, Optional] const float* dashes,[In] unsigned int dashesCount,[Out, Fast] ID2D1StrokeStyle** strokeStyle)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateDrawingStateBlock([In, Optional] const D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription,[In, Optional] IDWriteRenderingParams* textRenderingParams,[Out, Fast] ID2D1DrawingStateBlock** drawingStateBlock)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateWicBitmapRenderTarget([In] IWICBitmap* target,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateHwndRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[In] const D2D1_HWND_RENDER_TARGET_PROPERTIES* hwndRenderTargetProperties,[Out, Fast] ID2D1HwndRenderTarget** hwndRenderTarget)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateDxgiSurfaceRenderTarget([In] IDXGISurface* dxgiSurface,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Factory::CreateDCRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1DCRenderTarget** dcRenderTarget)
Retrieves the current desktop dots per inch (DPI). To refresh this value, call {{ReloadSystemMetrics}}.
Use this method to obtain the system DPI when setting physical pixel values, such as when you specify the size of a window.
Wmp bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
DWRITE_BREAK_CONDITION
No documentation.
DWRITE_BREAK_CONDITION_NEUTRAL
No documentation.
DWRITE_BREAK_CONDITION_CAN_BREAK
No documentation.
DWRITE_BREAK_CONDITION_MAY_NOT_BREAK
No documentation.
DWRITE_BREAK_CONDITION_MUST_BREAK
No documentation.
DWRITE_FACTORY_TYPE
No documentation.
DWRITE_FACTORY_TYPE_SHARED
No documentation.
DWRITE_FACTORY_TYPE_ISOLATED
No documentation.
DWRITE_FLOW_DIRECTION
No documentation.
DWRITE_FLOW_DIRECTION_TOP_TO_BOTTOM
No documentation.
DWRITE_FONT_FACE_TYPE
No documentation.
DWRITE_FONT_FACE_TYPE_CFF
No documentation.
DWRITE_FONT_FACE_TYPE_TRUETYPE
No documentation.
DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION
No documentation.
DWRITE_FONT_FACE_TYPE_TYPE1
No documentation.
DWRITE_FONT_FACE_TYPE_VECTOR
No documentation.
DWRITE_FONT_FACE_TYPE_BITMAP
No documentation.
DWRITE_FONT_FACE_TYPE_UNKNOWN
No documentation.
DWRITE_FONT_FEATURE_TAG
No documentation.
DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS
No documentation.
DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS
No documentation.
DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS
No documentation.
DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES
No documentation.
DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION
No documentation.
DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES
No documentation.
DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING
No documentation.
DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH
No documentation.
DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING
No documentation.
DWRITE_FONT_FEATURE_TAG_DEFAULT
No documentation.
DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES
No documentation.
DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_FRACTIONS
No documentation.
DWRITE_FONT_FEATURE_TAG_FULL_WIDTH
No documentation.
DWRITE_FONT_FEATURE_TAG_HALF_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_HALANT_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH
No documentation.
DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES
No documentation.
DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES
No documentation.
DWRITE_FONT_FEATURE_TAG_HALF_WIDTH
No documentation.
DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_JIS04_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_JIS78_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_JIS83_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_JIS90_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_KERNING
No documentation.
DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES
No documentation.
DWRITE_FONT_FEATURE_TAG_LINING_FIGURES
No documentation.
DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING
No documentation.
DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK
No documentation.
DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING
No documentation.
DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES
No documentation.
DWRITE_FONT_FEATURE_TAG_ORDINALS
No documentation.
DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH
No documentation.
DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS
No documentation.
DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES
No documentation.
DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS
No documentation.
DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS
No documentation.
DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES
No documentation.
DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES
No documentation.
DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS
No documentation.
DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS
No documentation.
DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19
No documentation.
DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20
No documentation.
DWRITE_FONT_FEATURE_TAG_SUBSCRIPT
No documentation.
DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT
No documentation.
DWRITE_FONT_FEATURE_TAG_SWASH
No documentation.
DWRITE_FONT_FEATURE_TAG_TITLING
No documentation.
DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES
No documentation.
DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS
No documentation.
DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS
No documentation.
DWRITE_FONT_FEATURE_TAG_UNICASE
No documentation.
DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO
No documentation.
DWRITE_FONT_FILE_TYPE
No documentation.
DWRITE_FONT_FILE_TYPE_UNKNOWN
No documentation.
DWRITE_FONT_FILE_TYPE_CFF
No documentation.
DWRITE_FONT_FILE_TYPE_TRUETYPE
No documentation.
DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION
No documentation.
DWRITE_FONT_FILE_TYPE_TYPE1_PFM
No documentation.
DWRITE_FONT_FILE_TYPE_TYPE1_PFB
No documentation.
DWRITE_FONT_FILE_TYPE_VECTOR
No documentation.
DWRITE_FONT_FILE_TYPE_BITMAP
No documentation.
DWRITE_FONT_SIMULATIONS
No documentation.
DWRITE_FONT_SIMULATIONS_NONE
No documentation.
DWRITE_FONT_SIMULATIONS_BOLD
No documentation.
DWRITE_FONT_SIMULATIONS_OBLIQUE
No documentation.
DWRITE_FONT_STRETCH
No documentation.
DWRITE_FONT_STRETCH_UNDEFINED
No documentation.
DWRITE_FONT_STRETCH_ULTRA_CONDENSED
No documentation.
DWRITE_FONT_STRETCH_EXTRA_CONDENSED
No documentation.
DWRITE_FONT_STRETCH_CONDENSED
No documentation.
DWRITE_FONT_STRETCH_SEMI_CONDENSED
No documentation.
DWRITE_FONT_STRETCH_NORMAL
No documentation.
DWRITE_FONT_STRETCH_MEDIUM
No documentation.
DWRITE_FONT_STRETCH_SEMI_EXPANDED
No documentation.
DWRITE_FONT_STRETCH_EXPANDED
No documentation.
DWRITE_FONT_STRETCH_EXTRA_EXPANDED
No documentation.
DWRITE_FONT_STRETCH_ULTRA_EXPANDED
No documentation.
DWRITE_FONT_STYLE
No documentation.
DWRITE_FONT_STYLE_NORMAL
No documentation.
DWRITE_FONT_STYLE_OBLIQUE
No documentation.
DWRITE_FONT_STYLE_ITALIC
No documentation.
DWRITE_FONT_WEIGHT
No documentation.
DWRITE_FONT_WEIGHT_THIN
No documentation.
DWRITE_FONT_WEIGHT_EXTRA_LIGHT
No documentation.
DWRITE_FONT_WEIGHT_ULTRA_LIGHT
No documentation.
DWRITE_FONT_WEIGHT_LIGHT
No documentation.
DWRITE_FONT_WEIGHT_NORMAL
No documentation.
DWRITE_FONT_WEIGHT_REGULAR
No documentation.
DWRITE_FONT_WEIGHT_MEDIUM
No documentation.
DWRITE_FONT_WEIGHT_DEMI_BOLD
No documentation.
DWRITE_FONT_WEIGHT_SEMI_BOLD
No documentation.
DWRITE_FONT_WEIGHT_BOLD
No documentation.
DWRITE_FONT_WEIGHT_EXTRA_BOLD
No documentation.
DWRITE_FONT_WEIGHT_ULTRA_BOLD
No documentation.
DWRITE_FONT_WEIGHT_BLACK
No documentation.
DWRITE_FONT_WEIGHT_HEAVY
No documentation.
DWRITE_FONT_WEIGHT_EXTRA_BLACK
No documentation.
DWRITE_FONT_WEIGHT_ULTRA_BLACK
No documentation.
DWRITE_INFORMATIONAL_STRING_ID
No documentation.
DWRITE_INFORMATIONAL_STRING_NONE
No documentation.
DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE
No documentation.
DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS
No documentation.
DWRITE_INFORMATIONAL_STRING_TRADEMARK
No documentation.
DWRITE_INFORMATIONAL_STRING_MANUFACTURER
No documentation.
DWRITE_INFORMATIONAL_STRING_DESIGNER
No documentation.
DWRITE_INFORMATIONAL_STRING_DESIGNER_URL
No documentation.
DWRITE_INFORMATIONAL_STRING_DESCRIPTION
No documentation.
DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL
No documentation.
DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION
No documentation.
DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL
No documentation.
DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES
No documentation.
DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES
No documentation.
DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES
No documentation.
DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES
No documentation.
DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT
No documentation.
DWRITE_LINE_SPACING_METHOD
No documentation.
DWRITE_LINE_SPACING_METHOD_DEFAULT
No documentation.
DWRITE_LINE_SPACING_METHOD_UNIFORM
No documentation.
DWRITE_NUMBER_SUBSTITUTION_METHOD
No documentation.
DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE
No documentation.
DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL
No documentation.
DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE
No documentation.
DWRITE_NUMBER_SUBSTITUTION_METHOD_NATIONAL
No documentation.
DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL
No documentation.
DWRITE_PARAGRAPH_ALIGNMENT
No documentation.
DWRITE_PARAGRAPH_ALIGNMENT_NEAR
No documentation.
DWRITE_PARAGRAPH_ALIGNMENT_FAR
No documentation.
DWRITE_PARAGRAPH_ALIGNMENT_CENTER
No documentation.
DWRITE_PIXEL_GEOMETRY
No documentation.
DWRITE_PIXEL_GEOMETRY_FLAT
No documentation.
DWRITE_PIXEL_GEOMETRY_RGB
No documentation.
DWRITE_PIXEL_GEOMETRY_BGR
No documentation.
DWRITE_READING_DIRECTION
No documentation.
DWRITE_READING_DIRECTION_LEFT_TO_RIGHT
No documentation.
DWRITE_READING_DIRECTION_RIGHT_TO_LEFT
No documentation.
DWRITE_RENDERING_MODE
No documentation.
DWRITE_RENDERING_MODE_DEFAULT
No documentation.
DWRITE_RENDERING_MODE_ALIASED
No documentation.
DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC
No documentation.
DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL
No documentation.
DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL
No documentation.
DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC
No documentation.
DWRITE_RENDERING_MODE_OUTLINE
No documentation.
DWRITE_SCRIPT_SHAPES
No documentation.
DWRITE_SCRIPT_SHAPES_DEFAULT
No documentation.
DWRITE_SCRIPT_SHAPES_NO_VISUAL
No documentation.
DWRITE_TEXT_ALIGNMENT
No documentation.
DWRITE_TEXT_ALIGNMENT_LEADING
No documentation.
DWRITE_TEXT_ALIGNMENT_TRAILING
No documentation.
DWRITE_TEXT_ALIGNMENT_CENTER
No documentation.
DWRITE_TEXTURE_TYPE
No documentation.
DWRITE_TEXTURE_ALIASED_1x1
No documentation.
DWRITE_TEXTURE_CLEARTYPE_3x1
No documentation.
DWRITE_TRIMMING_GRANULARITY
No documentation.
DWRITE_TRIMMING_GRANULARITY_NONE
No documentation.
DWRITE_TRIMMING_GRANULARITY_CHARACTER
No documentation.
DWRITE_TRIMMING_GRANULARITY_WORD
No documentation.
DWRITE_WORD_WRAPPING
No documentation.
DWRITE_WORD_WRAPPING_WRAP
No documentation.
DWRITE_WORD_WRAPPING_NO_WRAP
No documentation.
IDWriteTextAnalysisSource
Gets a block of text starting at the specified text position.
Returning NULL indicates the end of text, which is the position after the last character. This function is called iteratively for each consecutive block, tying together several fragmented blocks in the backing store into a virtual contiguous string. Although applications can implement sparse textual content that maps only part of the backing store, the application must map any text that is in the range passed to any analysis functions.
The first position of the piece to obtain. All positions are in UTF16 code units, not whole characters, which matters when supplementary characters are used.
a block of text
HRESULT IDWriteTextAnalysisSource::GetTextAtPosition([None] int textPosition,[Out] const wchar_t** textString,[Out] int* textLength)
Gets a block of text immediately preceding the specified position.
NULL indicates no chunk available at the specified position, either because textPosition equals 0, textPosition is greater than the entire text content length, or the queried position is not mapped into the application's backing store. Although applications can implement sparse textual content that maps only part of the backing store, the application must map any text that is in the range passed to any analysis functions.
The position immediately after the last position of the block of text to obtain.
text immediately preceding the specified position
HRESULT IDWriteTextAnalysisSource::GetTextBeforePosition([None] int textPosition,[Out] const wchar_t** textString,[Out] int* textLength)
Gets the locale name on the range affected by the text analysis.
The text position to examine.
Contains the length of the text being affected by the text analysis up to the next differing locale.
the locale name on the range affected by the text analysis
HRESULT IDWriteTextAnalysisSource::GetLocaleName([None] int textPosition,[Out] int* textLength,[Out] const wchar_t** localeName)
The localeName reference must remain valid until the next call or until the analysis returns.
Gets the number substitution from the text range affected by the text analysis.
Any implementation should return the number substitution with an incremented reference count, and the analysis will release when finished with it (either before the next call or before it returns). However, the sink callback may hold onto it after that.
The starting position from which to report.
Contains the length of the text, in characters, remaining in the text range up to the next differing number substitution.
the number substitution from the text range affected by the text analysis.
HRESULT IDWriteTextAnalysisSource::GetNumberSubstitution([None] int textPosition,[Out] int* textLength,[Out] IDWriteNumberSubstitution** numberSubstitution)
Gets the paragraph reading direction.
The reading direction of the current paragraph.
DWRITE_READING_DIRECTION IDWriteTextAnalysisSource::GetParagraphReadingDirection()
No documentation.
IDWriteLocalizedStrings
Get the locale name from the language.
Zero-based index of the locale name to be retrieved.
The locale name from the language
HRESULT IDWriteLocalizedStrings::GetLocaleName([None] int index,[Out, Buffer] wchar_t* localeName,[None] int size)
Get the string from the language/string pair.
Zero-based index of the string from the language/string pair to be retrieved.
The locale name from the language
HRESULT IDWriteLocalizedStrings::GetLocaleName([None] int index,[Out, Buffer] wchar_t* localeName,[None] int size)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
unsigned int IDWriteLocalizedStrings::GetCount()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalizedStrings::FindLocaleName([In, Buffer] const wchar_t* localeName,[Out] unsigned int* index,[Out] BOOL* exists)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalizedStrings::GetLocaleNameLength([In] unsigned int index,[Out] unsigned int* length)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalizedStrings::GetLocaleName([In] unsigned int index,[Out, Buffer] wchar_t* localeName,[In] unsigned int size)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalizedStrings::GetStringLength([In] unsigned int index,[Out] unsigned int* length)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalizedStrings::GetString([In] unsigned int index,[Out, Buffer] wchar_t* stringBuffer,[In] unsigned int size)
No documentation.
GetCount
unsigned int IDWriteLocalizedStrings::GetCount()
No documentation.
IDWriteFontFileEnumerator
Advances to the next font file in the collection. When it is first created, the enumerator is positioned before the first element of the collection and the first call to MoveNext advances to the first file.
the value TRUE if the enumerator advances to a file; otherwise, FALSE if the enumerator advances past the last file in the collection.
HRESULT IDWriteFontFileEnumerator::MoveNext([Out] BOOL* hasCurrentFile)
Gets a reference to the current font file.
a reference to the newly created object.
HRESULT IDWriteFontFileEnumerator::GetCurrentFontFile([Out] IDWriteFontFile** fontFile)
No documentation.
WIC8BIMIptcDigestProperties
No documentation.
WIC8BIMIptcDigestPString
No documentation.
WIC8BIMIptcDigestIptcDigest
No documentation.
WIC8BIMIptcProperties
No documentation.
WIC8BIMIptcPString
No documentation.
WIC8BIMIptcEmbeddedIPTC
No documentation.
WIC8BIMResolutionInfoProperties
No documentation.
WIC8BIMResolutionInfoPString
No documentation.
WIC8BIMResolutionInfoHResolution
No documentation.
WIC8BIMResolutionInfoHResolutionUnit
No documentation.
WIC8BIMResolutionInfoWidthUnit
No documentation.
WIC8BIMResolutionInfoVResolution
No documentation.
WIC8BIMResolutionInfoVResolutionUnit
No documentation.
WIC8BIMResolutionInfoHeightUnit
No documentation.
WICBitmapAlphaChannelOption
No documentation.
WICBitmapUseAlpha
No documentation.
WICBitmapUsePremultipliedAlpha
No documentation.
WICBitmapIgnoreAlpha
No documentation.
WICBitmapCreateCacheOption
No documentation.
WICBitmapNoCache
No documentation.
WICBitmapCacheOnDemand
No documentation.
WICBitmapCacheOnLoad
No documentation.
WICBitmapDecoderCapabilities
No documentation.
WICBitmapDecoderCapabilitySameEncoder
No documentation.
WICBitmapDecoderCapabilityCanDecodeAllImages
No documentation.
WICBitmapDecoderCapabilityCanDecodeSomeImages
No documentation.
WICBitmapDecoderCapabilityCanEnumerateMetadata
No documentation.
WICBitmapDecoderCapabilityCanDecodeThumbnail
None.
None
No documentation.
WICBitmapDitherType
No documentation.
WICBitmapDitherTypeNone
No documentation.
WICBitmapDitherTypeSolid
No documentation.
WICBitmapDitherTypeOrdered4x4
No documentation.
WICBitmapDitherTypeOrdered8x8
No documentation.
WICBitmapDitherTypeOrdered16x16
No documentation.
WICBitmapDitherTypeSpiral4x4
No documentation.
WICBitmapDitherTypeSpiral8x8
No documentation.
WICBitmapDitherTypeDualSpiral4x4
No documentation.
WICBitmapDitherTypeDualSpiral8x8
No documentation.
WICBitmapDitherTypeErrorDiffusion
No documentation.
WICBitmapEncoderCacheOption
No documentation.
WICBitmapEncoderCacheInMemory
No documentation.
WICBitmapEncoderCacheTempFile
No documentation.
WICBitmapEncoderNoCache
No documentation.
WICBitmapInterpolationMode
No documentation.
WICBitmapInterpolationModeNearestNeighbor
No documentation.
WICBitmapInterpolationModeLinear
No documentation.
WICBitmapInterpolationModeCubic
No documentation.
WICBitmapInterpolationModeFant
No documentation.
WICBitmapLockFlags
No documentation.
WICBitmapLockRead
No documentation.
WICBitmapLockWrite
No documentation.
WICBitmapPaletteType
No documentation.
WICBitmapPaletteTypeCustom
No documentation.
WICBitmapPaletteTypeMedianCut
No documentation.
WICBitmapPaletteTypeFixedBW
No documentation.
WICBitmapPaletteTypeFixedHalftone8
No documentation.
WICBitmapPaletteTypeFixedHalftone27
No documentation.
WICBitmapPaletteTypeFixedHalftone64
No documentation.
WICBitmapPaletteTypeFixedHalftone125
No documentation.
WICBitmapPaletteTypeFixedHalftone216
No documentation.
WICBitmapPaletteTypeFixedWebPalette
No documentation.
WICBitmapPaletteTypeFixedHalftone252
No documentation.
WICBitmapPaletteTypeFixedHalftone256
No documentation.
WICBitmapPaletteTypeFixedGray4
No documentation.
WICBitmapPaletteTypeFixedGray16
No documentation.
WICBitmapPaletteTypeFixedGray256
No documentation.
WICBitmapTransformOptions
No documentation.
WICBitmapTransformRotate0
No documentation.
WICBitmapTransformRotate90
No documentation.
WICBitmapTransformRotate180
No documentation.
WICBitmapTransformRotate270
No documentation.
WICBitmapTransformFlipHorizontal
No documentation.
WICBitmapTransformFlipVertical
No documentation.
WICColorContextType
No documentation.
WICColorContextUninitialized
No documentation.
WICColorContextProfile
No documentation.
WICColorContextExifColorSpace
No documentation.
WICComponentEnumerateOptions
No documentation.
WICComponentEnumerateDefault
No documentation.
WICComponentEnumerateRefresh
No documentation.
WICComponentEnumerateDisabled
No documentation.
WICComponentEnumerateUnsigned
No documentation.
WICComponentEnumerateBuiltInOnly
No documentation.
WICComponentSigning
No documentation.
WICComponentSigned
No documentation.
WICComponentUnsigned
No documentation.
WICComponentSafe
No documentation.
WICComponentDisabled
No documentation.
WICComponentType
No documentation.
WICDecoder
No documentation.
WICEncoder
No documentation.
WICPixelFormatConverter
No documentation.
WICMetadataReader
No documentation.
WICMetadataWriter
No documentation.
WICPixelFormat
No documentation.
WICAllComponents
No documentation.
WICDecodeOptions
No documentation.
WICDecodeMetadataCacheOnDemand
No documentation.
WICDecodeMetadataCacheOnLoad
No documentation.
WICGifApplicationExtensionProperties
No documentation.
WICGifApplicationExtensionApplication
No documentation.
WICGifApplicationExtensionData
No documentation.
WICGifCommentExtensionProperties
No documentation.
WICGifCommentExtensionText
No documentation.
WICGifGraphicControlExtensionProperties
No documentation.
WICGifGraphicControlExtensionDisposal
No documentation.
WICGifGraphicControlExtensionUserInputFlag
No documentation.
WICGifGraphicControlExtensionTransparencyFlag
No documentation.
WICGifGraphicControlExtensionDelay
No documentation.
WICGifGraphicControlExtensionTransparentColorIndex
No documentation.
WICGifImageDescriptorProperties
No documentation.
WICGifImageDescriptorLeft
No documentation.
WICGifImageDescriptorTop
No documentation.
WICGifImageDescriptorWidth
No documentation.
WICGifImageDescriptorHeight
No documentation.
WICGifImageDescriptorLocalColorTableFlag
No documentation.
WICGifImageDescriptorInterlaceFlag
No documentation.
WICGifImageDescriptorSortFlag
No documentation.
WICGifImageDescriptorLocalColorTableSize
No documentation.
WICGifLogicalScreenDescriptorProperties
No documentation.
WICGifLogicalScreenSignature
No documentation.
WICGifLogicalScreenDescriptorWidth
No documentation.
WICGifLogicalScreenDescriptorHeight
No documentation.
WICGifLogicalScreenDescriptorGlobalColorTableFlag
No documentation.
WICGifLogicalScreenDescriptorColorResolution
No documentation.
WICGifLogicalScreenDescriptorSortFlag
No documentation.
WICGifLogicalScreenDescriptorGlobalColorTableSize
No documentation.
WICGifLogicalScreenDescriptorBackgroundColorIndex
No documentation.
WICGifLogicalScreenDescriptorPixelAspectRatio
No documentation.
WICJpegChrominanceProperties
No documentation.
WICJpegChrominanceTable
No documentation.
WICJpegCommentProperties
No documentation.
WICJpegCommentText
No documentation.
WICJpegLuminanceProperties
No documentation.
WICJpegLuminanceTable
No documentation.
WICJpegYCrCbSubsamplingOption
No documentation.
WICJpegYCrCbSubsamplingDefault
No documentation.
WICJpegYCrCbSubsampling420
No documentation.
WICJpegYCrCbSubsampling422
No documentation.
WICJpegYCrCbSubsampling444
No documentation.
WICNamedWhitePoint
No documentation.
WICWhitePointDefault
No documentation.
WICWhitePointDaylight
No documentation.
WICWhitePointCloudy
No documentation.
WICWhitePointShade
No documentation.
WICWhitePointTungsten
No documentation.
WICWhitePointFluorescent
No documentation.
WICWhitePointFlash
No documentation.
WICWhitePointUnderwater
No documentation.
WICWhitePointCustom
No documentation.
WICWhitePointAutoWhiteBalance
No documentation.
WICWhitePointAsShot
No documentation.
WICPixelFormatNumericRepresentation
No documentation.
WICPixelFormatNumericRepresentationUnspecified
No documentation.
WICPixelFormatNumericRepresentationIndexed
No documentation.
WICPixelFormatNumericRepresentationUnsignedInteger
No documentation.
WICPixelFormatNumericRepresentationSignedInteger
No documentation.
WICPixelFormatNumericRepresentationFixed
No documentation.
WICPixelFormatNumericRepresentationFloat
No documentation.
WICPngBkgdProperties
No documentation.
WICPngBkgdBackgroundColor
No documentation.
WICPngChrmProperties
No documentation.
WICPngChrmWhitePointX
No documentation.
WICPngChrmWhitePointY
No documentation.
WICPngChrmRedX
No documentation.
WICPngChrmRedY
No documentation.
WICPngChrmGreenX
No documentation.
WICPngChrmGreenY
No documentation.
WICPngChrmBlueX
No documentation.
WICPngChrmBlueY
No documentation.
WICPngFilterOption
No documentation.
WICPngFilterUnspecified
No documentation.
WICPngFilterNone
No documentation.
WICPngFilterSub
No documentation.
WICPngFilterUp
No documentation.
WICPngFilterAverage
No documentation.
WICPngFilterPaeth
No documentation.
WICPngFilterAdaptive
No documentation.
WICPngGamaProperties
No documentation.
WICPngGamaGamma
No documentation.
WICPngHistProperties
No documentation.
WICPngHistFrequencies
No documentation.
WICPngIccpProperties
No documentation.
WICPngIccpProfileName
No documentation.
WICPngIccpProfileData
No documentation.
WICPngItxtProperties
No documentation.
WICPngItxtKeyword
No documentation.
WICPngItxtCompressionFlag
No documentation.
WICPngItxtLanguageTag
No documentation.
WICPngItxtTranslatedKeyword
No documentation.
WICPngItxtText
No documentation.
WICPngSrgbProperties
No documentation.
WICPngSrgbRenderingIntent
No documentation.
WICPngTimeProperties
No documentation.
WICPngTimeYear
No documentation.
WICPngTimeMonth
No documentation.
WICPngTimeDay
No documentation.
WICPngTimeHour
No documentation.
WICPngTimeMinute
No documentation.
WICPngTimeSecond
No documentation.
WICProgressNotification
No documentation.
WICProgressNotificationBegin
No documentation.
WICProgressNotificationEnd
No documentation.
WICProgressNotificationFrequent
No documentation.
WICProgressNotificationAll
No documentation.
WICProgressOperation
No documentation.
WICProgressOperationCopyPixels
No documentation.
WICProgressOperationWritePixels
No documentation.
WICProgressOperationAll
No documentation.
WICRawCapabilities
No documentation.
WICRawCapabilityNotSupported
No documentation.
WICRawCapabilityGetSupported
No documentation.
WICRawCapabilityFullySupported
No documentation.
WICRawParameterSet
No documentation.
WICAsShotParameterSet
No documentation.
WICUserAdjustedParameterSet
No documentation.
WICAutoAdjustedParameterSet
No documentation.
WICRawRenderMode
No documentation.
WICRawRenderModeDraft
No documentation.
WICRawRenderModeNormal
No documentation.
WICRawRenderModeBestQuality
No documentation.
WICRawRotationCapabilities
No documentation.
WICRawRotationCapabilityNotSupported
No documentation.
WICRawRotationCapabilityGetSupported
No documentation.
WICRawRotationCapabilityNinetyDegreesSupported
No documentation.
WICRawRotationCapabilityFullySupported
No documentation.
WICSectionAccessLevel
No documentation.
WICSectionAccessLevelRead
No documentation.
WICSectionAccessLevelReadWrite
No documentation.
WICTiffCompressionOption
No documentation.
WICTiffCompressionDontCare
No documentation.
WICTiffCompressionNone
No documentation.
WICTiffCompressionCCITT3
No documentation.
WICTiffCompressionCCITT4
No documentation.
WICTiffCompressionLZW
No documentation.
WICTiffCompressionRLE
No documentation.
WICTiffCompressionZIP
No documentation.
WICTiffCompressionLZWHDifferencing
BitmapEncoderOptions used for encoding.
Initializes a new instance of the class.
The property bag pointer.
Gets or sets the image quality.
The image quality.
Range value: 0-1.0f
Applicable Codecs: JPEG, HDPhoto
Gets or sets the compression quality.
The compression quality.
Range value: 0-1.0f
Applicable Codecs: TIFF
Gets or sets a value indicating whether loss less compression is enabled.
true if [loss less]; otherwise, false.
Range value: true-false
Applicable Codecs: HDPhoto
Gets or sets the bitmap transform.
The bitmap transform.
Range value:
Applicable Codecs: JPEG
Gets or sets a value indicating whether [interlace option].
true if [interlace option]; otherwise, false.
Range value: true-false
Applicable Codecs: PNG
Gets or sets the filter option.
The filter option.
Range value:
Applicable Codecs: PNG
Gets or sets the TIFF compression method.
The TIFF compression method.
Range value:
Applicable Codecs: TIFF
Gets or sets the luminance.
The luminance.
Range value: 64 Entries (DCT)
Applicable Codecs: JPEG
Gets or sets the chrominance.
The chrominance.
Range value: 64 Entries (DCT)
Applicable Codecs: JPEG
Gets or sets the JPEG Y cr cb subsampling.
The JPEG Y cr cb subsampling.
Range value:
Applicable Codecs: JPEG
Gets or sets a value indicating whether [suppress app0].
true if [suppress app0]; otherwise, false.
Range value: true-false
Applicable Codecs: JPEG
No documentation.
ID2D1DrawingStateBlock
Creates an that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
an instance of
Creates an that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
an instance of
A structure that contains antialiasing, transform, and tags information.
Creates an that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
an instance of
Optional text parameters that indicate how text should be rendered.
Creates an that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
an instance of
A structure that contains antialiasing, transform, and tags information.
Optional text parameters that indicate how text should be rendered.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1DrawingStateBlock::GetDescription([Out] D2D1_DRAWING_STATE_DESCRIPTION* stateDescription)
No documentation.
No documentation.
void ID2D1DrawingStateBlock::SetDescription([In] const D2D1_DRAWING_STATE_DESCRIPTION* stateDescription)
No documentation.
No documentation.
void ID2D1DrawingStateBlock::SetTextRenderingParams([In, Optional] IDWriteRenderingParams* textRenderingParams)
No documentation.
No documentation.
void ID2D1DrawingStateBlock::GetTextRenderingParams([Out, Optional] IDWriteRenderingParams** textRenderingParams)
No documentation.
GetDescription
void ID2D1DrawingStateBlock::GetDescription([Out] D2D1_DRAWING_STATE_DESCRIPTION* stateDescription)
No documentation.
GetTextRenderingParams
void ID2D1DrawingStateBlock::GetTextRenderingParams([Out, Optional] IDWriteRenderingParams** textRenderingParams)
No documentation.
IDWriteTextLayout
Takes a string, text format, and associated constraints, and produces an object that represents the fully analyzed and formatted result.
an instance of
An array of characters that contains the string to create a new object from. This array must be of length stringLength and can contain embedded NULL characters.
A pointer to an object that indicates the format to apply to the string.
The width of the layout box.
The height of the layout box.
HRESULT CreateTextLayout([In, Buffer] const wchar* string,[None] UINT32 stringLength,[None] IDWriteTextFormat* textFormat,[None] FLOAT maxWidth,[None] FLOAT maxHeight,[Out] IDWriteTextLayout** textLayout)
Create a Gdi Compatible TextLayout. Takes a string, format, and associated constraints, and produces an object representing the result, formatted for a particular display resolution and measuring mode.
The resulting text layout should only be used for the intended resolution, and for cases where text scalability is desired {{CreateTextLayout}} should be used instead.
an instance of
An array of characters that contains the string to create a new object from. This array must be of length stringLength and can contain embedded NULL characters.
The text formatting object to apply to the string.
The width of the layout box.
The height of the layout box.
The number of physical pixels per DIP (device independent pixel). For example, if rendering onto a 96 DPI device pixelsPerDip is 1. If rendering onto a 120 DPI device pixelsPerDip is 1.25 (120/96).
Instructs the text layout to use the same metrics as GDI bi-level text when set to FALSE. When set to TRUE, instructs the text layout to use the same metrics as text measured by GDI using a font created with CLEARTYPE_NATURAL_QUALITY.
HRESULT IDWriteFactory::CreateGdiCompatibleTextLayout([In, Buffer] const wchar_t* string,[None] int stringLength,[None] IDWriteTextFormat* textFormat,[None] float layoutWidth,[None] float layoutHeight,[None] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[None] BOOL useGdiNatural,[Out] IDWriteTextLayout** textLayout)
Create a Gdi Compatible TextLayout. Takes a string, format, and associated constraints, and produces an object representing the result, formatted for a particular display resolution and measuring mode.
The resulting text layout should only be used for the intended resolution, and for cases where text scalability is desired {{CreateTextLayout}} should be used instead.
an instance of
An array of characters that contains the string to create a new object from. This array must be of length stringLength and can contain embedded NULL characters.
The text formatting object to apply to the string.
The width of the layout box.
The height of the layout box.
The number of physical pixels per DIP (device independent pixel). For example, if rendering onto a 96 DPI device pixelsPerDip is 1. If rendering onto a 120 DPI device pixelsPerDip is 1.25 (120/96).
An optional transform applied to the glyphs and their positions. This transform is applied after the scaling specifies the font size and pixels per DIP.
Instructs the text layout to use the same metrics as GDI bi-level text when set to FALSE. When set to TRUE, instructs the text layout to use the same metrics as text measured by GDI using a font created with CLEARTYPE_NATURAL_QUALITY.
HRESULT IDWriteFactory::CreateGdiCompatibleTextLayout([In, Buffer] const wchar_t* string,[None] int stringLength,[None] IDWriteTextFormat* textFormat,[None] float layoutWidth,[None] float layoutHeight,[None] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[None] BOOL useGdiNatural,[Out] IDWriteTextLayout** textLayout)
Draws text using the specified client drawing context.
To draw text with this method, a textLayout object needs to be created by the application using . After the textLayout object is obtained, the application calls the IDWriteTextLayout::Draw method to draw the text, decorations, and inline objects. The actual drawing is done through the callback interface passed in as the textRenderer argument; there, the corresponding DrawGlyphRun API is called.
Pointer to the set of callback functions used to draw parts of a text string.
The x-coordinate of the layout's left side.
The y-coordinate of the layout's top side.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Draw([None] void* clientDrawingContext,[None] IDWriteTextRenderer* renderer,[None] FLOAT originX,[None] FLOAT originY)
Draws text using the specified client drawing context.
To draw text with this method, a textLayout object needs to be created by the application using . After the textLayout object is obtained, the application calls the IDWriteTextLayout::Draw method to draw the text, decorations, and inline objects. The actual drawing is done through the callback interface passed in as the textRenderer argument; there, the corresponding DrawGlyphRun API is called.
An application-defined drawing context.
Pointer to the set of callback functions used to draw parts of a text string.
The x-coordinate of the layout's left side.
The y-coordinate of the layout's top side.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT Draw([None] void* clientDrawingContext,[None] IDWriteTextRenderer* renderer,[None] FLOAT originX,[None] FLOAT originY)
Retrieves logical properties and measurements of each glyph cluster.
If maxClusterCount is not large enough, then E_NOT_SUFFICIENT_BUFFER, which is equivalent to HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), is returned and actualClusterCount is set to the number of clusters needed.
Returns metrics, such as line-break or total advance width, for a glyph cluster.
HRESULT IDWriteTextLayout::GetClusterMetrics([Out, Buffer, Optional] DWRITE_CLUSTER_METRICS* clusterMetrics,[None] int maxClusterCount,[Out] int* actualClusterCount)
Sets the application-defined drawing effect.
An , such as a color or gradient brush, can be set as a drawing effect if you are using the to draw text and that brush will be used to draw the specified range of text. This drawing effect is associated with the specified range and will be passed back to the application by way of the callback when the range is drawn at drawing time.
Application-defined drawing effects that apply to the range. This data object will be passed back to the application's drawing callbacks for final rendering.
The text range to which this change applies.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextLayout::SetDrawingEffect([None] IUnknown* drawingEffect,[None] DWRITE_TEXT_RANGE textRange)
Gets the application-defined drawing effect at the specified text position.
The position of the text whose drawing effect is to be retrieved.
a reference to the current application-defined drawing effect. Usually this effect is a foreground brush that is used in glyph drawing.
HRESULT IDWriteTextLayout::GetDrawingEffect([None] int currentPosition,[Out] IUnknown** drawingEffect,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the application-defined drawing effect at the specified text position.
The position of the text whose drawing effect is to be retrieved.
Contains the range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the drawing effect.
a reference to the current application-defined drawing effect. Usually this effect is a foreground brush that is used in glyph drawing.
HRESULT IDWriteTextLayout::GetDrawingEffect([None] int currentPosition,[Out] IUnknown** drawingEffect,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the font collection associated with the text at the specified position.
The position of the text to inspect.
a reference to the current font collection.
HRESULT IDWriteTextLayout::GetFontCollection([None] int currentPosition,[Out] IDWriteFontCollection** fontCollection,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the font family name of the text at the specified position.
The position of the text to examine.
the font family name
HRESULT IDWriteTextLayout::GetFontFamilyName([None] int currentPosition,[Out, Buffer] wchar_t* fontFamilyName,[None] int nameSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the font family name of the text at the specified position.
The position of the text to examine.
The range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the font family name.
the font family name
HRESULT IDWriteTextLayout::GetFontFamilyName([None] int currentPosition,[Out, Buffer] wchar_t* fontFamilyName,[None] int nameSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the font em height of the text at the specified position.
The position of the text to inspect.
the size of the font in ems of the text at the specified position.
HRESULT IDWriteTextLayout::GetFontSize([None] int currentPosition,[Out] float* fontSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the font stretch of the text at the specified position.
The position of the text to inspect.
a value which indicates the type of font stretch (also known as width) being applied at the specified position.
HRESULT IDWriteTextLayout::GetFontStretch([None] int currentPosition,[Out] DWRITE_FONT_STRETCH* fontStretch,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the font style (also known as slope) of the text at the specified position.
The position of the text to inspect.
a value which indicates the type of font style (also known as slope or incline) being applied at the specified position.
HRESULT IDWriteTextLayout::GetFontStyle([None] int currentPosition,[Out] DWRITE_FONT_STYLE* fontStyle,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the font weight of the text at the specified position.
The position of the text to inspect.
a value which indicates the type of font weight being applied at the specified position.
HRESULT IDWriteTextLayout::GetFontWeight([None] int currentPosition,[Out] DWRITE_FONT_WEIGHT* fontWeight,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the inline object at the specified position.
The specified text position.
an application-defined inline object.
HRESULT IDWriteTextLayout::GetInlineObject([None] int currentPosition,[Out] IDWriteInlineObject** inlineObject,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Retrieves the information about each individual text line of the text string.
If maxLineCount is not large enough E_NOT_SUFFICIENT_BUFFER, which is equivalent to HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), is returned and *actualLineCount is set to the number of lines needed.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextLayout::GetLineMetrics([Out, Buffer, Optional] DWRITE_LINE_METRICS* lineMetrics,[None] int maxLineCount,[Out] int* actualLineCount)
Gets the locale name of the text at the specified position.
The position of the text to inspect.
the locale name of the text at the specified position.
HRESULT IDWriteTextLayout::GetLocaleName([None] int currentPosition,[Out, Buffer] wchar_t* localeName,[None] int nameSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the locale name of the text at the specified position.
The position of the text to inspect.
The range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the locale name.
the locale name of the text at the specified position.
HRESULT IDWriteTextLayout::GetLocaleName([None] int currentPosition,[Out, Buffer] wchar_t* localeName,[None] int nameSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Get the strikethrough presence of the text at the specified position.
The position of the text to inspect.
A Boolean flag that indicates whether strikethrough is present at the position indicated by currentPosition.
HRESULT IDWriteTextLayout::GetStrikethrough([None] int currentPosition,[Out] BOOL* hasStrikethrough,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the typography setting of the text at the specified position.
The position of the text to inspect.
a reference to the current typography setting.
HRESULT IDWriteTextLayout::GetTypography([None] int currentPosition,[Out] IDWriteTypography** typography,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Gets the underline presence of the text at the specified position.
The current text position.
A Boolean flag that indicates whether underline is present at the position indicated by currentPosition.
HRESULT IDWriteTextLayout::GetUnderline([None] int currentPosition,[Out] BOOL* hasUnderline,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
The application calls this function to get a set of hit-test metrics corresponding to a range of text positions.
One of the main usages is to implement highlight selection of the text string.
The function returns E_NOT_SUFFICIENT_BUFFER, which is equivalent to HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER),
when the buffer size of hitTestMetrics is too small to hold all the regions calculated by the function.
In this situation, the function sets the output value *actualHitTestMetricsCount to the number of geometries calculated.
The application is responsible for allocating a new buffer of greater size and calling the function again.
A good value to use as an initial value for maxHitTestMetricsCount may be calculated from the following equation:
maxHitTestMetricsCount = lineCount * maxBidiReorderingDepth where lineCount is obtained from the value of the output argument *actualLineCount (from the function IDWriteTextLayout::GetLineLengths), and the maxBidiReorderingDepth value from the DWRITE_TEXT_METRICS structure of the output argument *textMetrics (from the function IDWriteFactory::CreateTextLayout).
The first text position of the specified range.
The number of positions of the specified range.
The origin pixel location X at the left of the layout box. This offset is added to the hit-test metrics returned.
The origin pixel location Y at the top of the layout box. This offset is added to the hit-test metrics returned.
a reference to a buffer of the output geometry fully enclosing the specified position range. The buffer must be at least as large as maxHitTestMetricsCount.
HRESULT IDWriteTextLayout::HitTestTextRange([None] int textPosition,[None] int textLength,[None] float originX,[None] float originY,[Out, Buffer, Optional] DWRITE_HIT_TEST_METRICS* hitTestMetrics,[None] int maxHitTestMetricsCount,[Out] int* actualHitTestMetricsCount)
Sets the inline object.
The application may call this function to specify the set of properties describing an application-defined inline object for specific range. This inline object applies to the specified range and will be passed back to the application by way of the DrawInlineObject callback when the range is drawn. Any text in that range will be suppressed.
An application-defined inline object.
Text range to which this change applies.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextLayout::SetInlineObject([None] IDWriteInlineObject* inlineObject,[None] DWRITE_TEXT_RANGE textRange)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetMaxWidth([In] float maxWidth)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetMaxHeight([In] float maxHeight)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetFontCollection([In] IDWriteFontCollection* fontCollection,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetFontFamilyName([In, Buffer] const wchar_t* fontFamilyName,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetFontWeight([In] DWRITE_FONT_WEIGHT fontWeight,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetFontStyle([In] DWRITE_FONT_STYLE fontStyle,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetFontStretch([In] DWRITE_FONT_STRETCH fontStretch,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetFontSize([In] float fontSize,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetUnderline([In] BOOL hasUnderline,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetStrikethrough([In] BOOL hasStrikethrough,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetDrawingEffect([In] void* drawingEffect,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetInlineObject([In] IDWriteInlineObject* inlineObject,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetTypography([In] IDWriteTypography* typography,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::SetLocaleName([In, Buffer] const wchar_t* localeName,[In] DWRITE_TEXT_RANGE textRange)
No documentation.
No documentation.
float IDWriteTextLayout::GetMaxWidth()
No documentation.
No documentation.
float IDWriteTextLayout::GetMaxHeight()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetFontCollection([In] unsigned int currentPosition,[Out] IDWriteFontCollection** fontCollection,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetFontFamilyNameLength([In] unsigned int currentPosition,[Out] unsigned int* nameLength,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetFontFamilyName([In] unsigned int currentPosition,[Out, Buffer] wchar_t* fontFamilyName,[In] unsigned int nameSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetFontWeight([In] unsigned int currentPosition,[Out] DWRITE_FONT_WEIGHT* fontWeight,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetFontStyle([In] unsigned int currentPosition,[Out] DWRITE_FONT_STYLE* fontStyle,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetFontStretch([In] unsigned int currentPosition,[Out] DWRITE_FONT_STRETCH* fontStretch,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetFontSize([In] unsigned int currentPosition,[Out] float* fontSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetUnderline([In] unsigned int currentPosition,[Out] BOOL* hasUnderline,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetStrikethrough([In] unsigned int currentPosition,[Out] BOOL* hasStrikethrough,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetDrawingEffect([In] unsigned int currentPosition,[Out] void** drawingEffect,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetInlineObject([In] unsigned int currentPosition,[Out] IDWriteInlineObject** inlineObject,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetTypography([In] unsigned int currentPosition,[Out] IDWriteTypography** typography,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetLocaleNameLength([In] unsigned int currentPosition,[Out] unsigned int* nameLength,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetLocaleName([In] unsigned int currentPosition,[Out, Buffer] wchar_t* localeName,[In] unsigned int nameSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::Draw([In, Optional] void* clientDrawingContext,[In] IDWriteTextRenderer* renderer,[In] float originX,[In] float originY)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetLineMetrics([Out, Buffer, Optional] DWRITE_LINE_METRICS* lineMetrics,[In] unsigned int maxLineCount,[Out] unsigned int* actualLineCount)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetMetrics([Out] DWRITE_TEXT_METRICS* textMetrics)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::GetClusterMetrics([Out, Buffer, Optional] DWRITE_CLUSTER_METRICS* clusterMetrics,[In] unsigned int maxClusterCount,[Out] unsigned int* actualClusterCount)
No documentation.
No documentation.
HRESULT IDWriteTextLayout::DetermineMinWidth([Out] float* minWidth)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::HitTestPoint([In] float pointX,[In] float pointY,[Out] BOOL* isTrailingHit,[Out] BOOL* isInside,[Out] DWRITE_HIT_TEST_METRICS* hitTestMetrics)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::HitTestTextPosition([In] unsigned int textPosition,[In] BOOL isTrailingHit,[Out] float* pointX,[Out] float* pointY,[Out] DWRITE_HIT_TEST_METRICS* hitTestMetrics)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextLayout::HitTestTextRange([In] unsigned int textPosition,[In] unsigned int textLength,[In] float originX,[In] float originY,[Out, Buffer, Optional] DWRITE_HIT_TEST_METRICS* hitTestMetrics,[In] unsigned int maxHitTestMetricsCount,[Out] unsigned int* actualHitTestMetricsCount)
No documentation.
GetMaxWidth
float IDWriteTextLayout::GetMaxWidth()
No documentation.
GetMaxHeight
float IDWriteTextLayout::GetMaxHeight()
No documentation.
GetMetrics
HRESULT IDWriteTextLayout::GetMetrics([Out] DWRITE_TEXT_METRICS* textMetrics)
No documentation.
GetOverhangMetrics
HRESULT IDWriteTextLayout::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs)
No documentation.
IDWriteFontFace
Creates an object that represents a font face.
A reference to a DirectWrite factory
A value that indicates the type of file format of the font face.
A font file object representing the font face. Because maintains its own references to the input font file objects, you may release them after this call.
The zero-based index of a font face, in cases when the font files contain a collection of font faces. If the font files contain a single face, this value should be zero.
A value that indicates which, if any, font face simulation flags for algorithmic means of making text bold or italic are applied to the current font face.
HRESULT IDWriteFactory::CreateFontFace([None] DWRITE_FONT_FACE_TYPE fontFaceType,[None] int numberOfFiles,[In, Buffer] const IDWriteFontFile** fontFiles,[None] int faceIndex,[None] DWRITE_FONT_SIMULATIONS fontFaceSimulationFlags,[Out] IDWriteFontFace** fontFace)
Creates a font face object for the font.
the to create the FontFace from.
HRESULT IDWriteFont::CreateFontFace([Out] IDWriteFontFace** fontFace)
Obtains ideal (resolution-independent) glyph metrics in font design units.
Design glyph metrics are used for glyph positioning.
An array of glyph indices for which to compute metrics. The array must contain at least as many elements as specified by glyphCount.
Indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation
an array of structures.
HRESULT IDWriteFontFace::GetDesignGlyphMetrics([In, Buffer] const short* glyphIndices,[None] int glyphCount,[Out, Buffer] DWRITE_GLYPH_METRICS* glyphMetrics,[None] BOOL isSideways)
Obtains glyph metrics in font design units with the return values compatible with what GDI would produce.
The ogical size of the font in DIP units.
The number of physical pixels per DIP.
An optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified by the font size and pixelsPerDip.
When set to FALSE, the metrics are the same as the metrics of GDI aliased text. When set to TRUE, the metrics are the same as the metrics of text measured by GDI using a font created with CLEARTYPE_NATURAL_QUALITY.
An array of glyph indices for which to compute the metrics.
A BOOL value that indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation.
An array of structures filled by this function. The metrics are in font design units.
HRESULT IDWriteFontFace::GetGdiCompatibleGlyphMetrics([None] float emSize,[None] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[None] BOOL useGdiNatural,[In, Buffer] const short* glyphIndices,[None] int glyphCount,[Out, Buffer] DWRITE_GLYPH_METRICS* glyphMetrics,[None] BOOL isSideways)
Returns the nominal mapping of UCS4 Unicode code points to glyph indices as defined by the font 'CMAP' table.
Note that this mapping is primarily provided for line layout engines built on top of the physical font API. Because of OpenType glyph substitution and line layout character substitution, the nominal conversion does not always correspond to how a Unicode string will map to glyph indices when rendering using a particular font face. Also, note that Unicode variant selectors provide for alternate mappings for character to glyph. This call will always return the default variant.
An array of USC4 code points from which to obtain nominal glyph indices. The array must be allocated and be able to contain the number of elements specified by codePointCount.
a reference to an array of nominal glyph indices filled by this function.
HRESULT IDWriteFontFace::GetGlyphIndices([In, Buffer] const int* codePoints,[None] int codePointCount,[Out, Buffer] short* glyphIndices)
Obtains the font files representing a font face.
The IDWriteFontFace::GetFiles method should be called twice. The first time you call GetFilesfontFiles should be NULL. When the method returns, numberOfFiles receives the number of font files that represent the font face. Then, call the method a second time, passing the numberOfFiles value that was output the first call, and a non-null buffer of the correct size to store the references.
An array that stores references to font files representing the font face. This parameter can be NULL if the user wants only the number of files representing the font face. This API increments reference count of the font file references returned according to COM conventions, and the client should release them when finished.
HRESULT IDWriteFontFace::GetFiles([InOut] int* numberOfFiles,[Out, Buffer, Optional] IDWriteFontFile** fontFiles)
Finds the specified OpenType font table if it exists and returns a reference to it. The function accesses the underlying font data through the interface implemented by the font file loader.
The context for the same tag may be different for each call, so each one must be held and released separately.
The four-character tag of a OpenType font table to find. Use the DWRITE_MAKE_OPENTYPE_TAG macro to create it as an UINT32. Unlike GDI, it does not support the special TTCF and null tags to access the whole font.
When this method returns, contains the address of a reference to the base of the table in memory. The reference is valid only as long as the font face used to get the font table still exists; (not any other font face, even if it actually refers to the same physical font).
When this method returns, the address of a reference to the opaque context, which must be freed by calling {{ReleaseFontTable}}. The context actually comes from the lower-level , which may be implemented by the application or DWrite itself. It is possible for a NULL tableContext to be returned, especially if the implementation performs direct memory mapping on the whole file. Nevertheless, always release it later, and do not use it as a test for function success. The same table can be queried multiple times, but because each returned context can be different, you must release each context separately.
TRUE if the font table exists; otherwise, FALSE.
HRESULT IDWriteFontFace::TryGetFontTable([In] int openTypeTableTag,[Out, Buffer] const void** tableData,[Out] int* tableSize,[Out] void** tableContext,[Out] BOOL* exists)
Computes the outline of a run of glyphs by calling back to the outline sink interface.
The logical size of the font in DIP units. A DIP ("device-independent pixel") equals 1/96 inch.
An array of glyph indices. The glyphs are in logical order and the advance direction depends on the isRightToLeft parameter. The array must be allocated and be able to contain the number of elements specified by glyphCount.
An optional array of glyph advances in DIPs. The advance of a glyph is the amount to advance the position (in the direction of the baseline) after drawing the glyph. glyphAdvances contains the number of elements specified by glyphIndices.Length.
An optional array of glyph offsets, each of which specifies the offset along the baseline and offset perpendicular to the baseline of a glyph relative to the current pen position. glyphOffsets contains the number of elements specified by glyphIndices.Length.
If TRUE, the ascender of the glyph runs alongside the baseline. If FALSE, the glyph ascender runs perpendicular to the baseline. For example, an English alphabet on a vertical baseline would have isSideways set to FALSE. A client can render a vertical run by setting isSideways to TRUE and rotating the resulting geometry 90 degrees to the right using a transform. The isSideways and isRightToLeft parameters cannot both be true.
The visual order of the glyphs. If this parameter is FALSE, then glyph advances are from left to right. If TRUE, the advance direction is right to left. By default, the advance direction is left to right.
A reference to the interface that is called back to perform outline drawing operations.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteFontFace::GetGlyphRunOutline([None] float emSize,[In, Buffer] const short* glyphIndices,[In, Buffer, Optional] const float* glyphAdvances,[In, Buffer, Optional] const DWRITE_GLYPH_OFFSET* glyphOffsets,[None] int glyphCount,[None] BOOL isSideways,[None] BOOL isRightToLeft,[None] IDWriteGeometrySink* geometrySink)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
DWRITE_FONT_FACE_TYPE IDWriteFontFace::GetType()
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::GetFiles([InOut] unsigned int* numberOfFiles,[Out, Buffer, Optional] IDWriteFontFile** fontFiles)
No documentation.
No documentation.
unsigned int IDWriteFontFace::GetIndex()
No documentation.
No documentation.
DWRITE_FONT_SIMULATIONS IDWriteFontFace::GetSimulations()
No documentation.
No documentation.
BOOL IDWriteFontFace::IsSymbolFont()
No documentation.
No documentation.
void IDWriteFontFace::GetMetrics([Out] DWRITE_FONT_METRICS* fontFaceMetrics)
No documentation.
No documentation.
unsigned short IDWriteFontFace::GetGlyphCount()
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::GetDesignGlyphMetrics([In, Buffer] const unsigned short* glyphIndices,[In] unsigned int glyphCount,[Out, Buffer] DWRITE_GLYPH_METRICS* glyphMetrics,[In] BOOL isSideways)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::GetGlyphIndicesW([In, Buffer] const unsigned int* codePoints,[In] unsigned int codePointCount,[Out, Buffer] unsigned short* glyphIndices)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::TryGetFontTable([In] unsigned int openTypeTableTag,[Out, Buffer] const void** tableData,[Out] unsigned int* tableSize,[Out] void** tableContext,[Out] BOOL* exists)
No documentation.
No documentation.
void IDWriteFontFace::ReleaseFontTable([In] void* tableContext)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::GetGlyphRunOutline([In] float emSize,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer, Optional] const float* glyphAdvances,[In, Buffer, Optional] const DWRITE_GLYPH_OFFSET* glyphOffsets,[In] unsigned int glyphCount,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] ID2D1SimplifiedGeometrySink* geometrySink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::GetRecommendedRenderingMode([In] float emSize,[In] float pixelsPerDip,[In] DWRITE_MEASURING_MODE measuringMode,[In] IDWriteRenderingParams* renderingParams,[Out] DWRITE_RENDERING_MODE* renderingMode)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::GetGdiCompatibleMetrics([In] float emSize,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[Out] DWRITE_FONT_METRICS* fontFaceMetrics)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFace::GetGdiCompatibleGlyphMetrics([In] float emSize,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[In, Buffer] const unsigned short* glyphIndices,[In] unsigned int glyphCount,[Out, Buffer] DWRITE_GLYPH_METRICS* glyphMetrics,[In] BOOL isSideways)
No documentation.
GetType
DWRITE_FONT_FACE_TYPE IDWriteFontFace::GetType()
No documentation.
GetIndex
unsigned int IDWriteFontFace::GetIndex()
No documentation.
GetSimulations
DWRITE_FONT_SIMULATIONS IDWriteFontFace::GetSimulations()
No documentation.
IsSymbolFont
BOOL IDWriteFontFace::IsSymbolFont()
No documentation.
GetMetrics
void IDWriteFontFace::GetMetrics([Out] DWRITE_FONT_METRICS* fontFaceMetrics)
No documentation.
GetGlyphCount
unsigned short IDWriteFontFace::GetGlyphCount()
No documentation.
ID2D1EllipseGeometry
Creates an .
an instance of
A value that describes the center point, x-radius, and y-radius of the ellipse geometry.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1EllipseGeometry::GetEllipse([Out] D2D1_ELLIPSE* ellipse)
No documentation.
GetEllipse
void ID2D1EllipseGeometry::GetEllipse([Out] D2D1_ELLIPSE* ellipse)
No documentation.
ID2D1TransformedGeometry
Default Constructor for a .
an instance of
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1TransformedGeometry::GetSourceGeometry([Out] ID2D1Geometry** sourceGeometry)
No documentation.
No documentation.
void ID2D1TransformedGeometry::GetTransform([Out] D2D_MATRIX_3X2_F* transform)
No documentation.
GetSourceGeometry
void ID2D1TransformedGeometry::GetSourceGeometry([Out] ID2D1Geometry** sourceGeometry)
No documentation.
GetTransform
void ID2D1TransformedGeometry::GetTransform([Out] D2D_MATRIX_3X2_F* transform)
No documentation.
ID2D1HwndRenderTarget
Creates an , a render target that renders to a window.
When you create a render target and hardware acceleration is available, you allocate resources on the computer's GPU. By creating a render target once and retaining it as long as possible, you gain performance benefits. Your application should create render targets once and hold onto them for the life of the application or until the {{D2DERR_RECREATE_TARGET}} error is received. When you receive this error, you need to recreate the render target (and any resources it created).
an instance of
The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering. For information about supported pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.
The window handle, initial size (in pixels), and present options.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
D2D1_WINDOW_STATE ID2D1HwndRenderTarget::CheckWindowState()
No documentation.
No documentation.
No documentation.
HRESULT ID2D1HwndRenderTarget::Resize([In] const D2D_SIZE_U* pixelSize)
No documentation.
No documentation.
HWND ID2D1HwndRenderTarget::GetHwnd()
No documentation.
GetHwnd
HWND ID2D1HwndRenderTarget::GetHwnd()
Internal TessellationSink Callback
Get a native callback pointer from a managed callback.
The geometry sink.
A pointer to the unmanaged geomerty sink counterpart
No documentation.
ID2D1Bitmap
Creates a Direct2D bitmap from a pointer to in-memory source data.
an instance of
The dimension of the bitmap to create in pixels.
HRESULT CreateBitmap([None] D2D1_SIZE_U size,[In, Optional] const void* srcData,[None] UINT32 pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates a Direct2D bitmap from a pointer to in-memory source data.
an instance of
The dimension of the bitmap to create in pixels.
The pixel format and dots per inch (DPI) of the bitmap to create.
HRESULT CreateBitmap([None] D2D1_SIZE_U size,[In, Optional] const void* srcData,[None] UINT32 pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates a Direct2D bitmap from a pointer to in-memory source data.
an instance of
The dimension of the bitmap to create in pixels.
A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.
The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)
HRESULT CreateBitmap([None] D2D1_SIZE_U size,[In, Optional] const void* srcData,[None] UINT32 pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates a Direct2D bitmap from a pointer to in-memory source data.
an instance of
The dimension of the bitmap to create in pixels.
A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.
The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)
The pixel format and dots per inch (DPI) of the bitmap to create.
HRESULT CreateBitmap([None] D2D1_SIZE_U size,[In, Optional] const void* srcData,[None] UINT32 pitch,[In] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates an whose data is shared with another resource.
an instance of
An that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.
HRESULT CreateSharedBitmap([In] REFIID riid,[InOut] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates an whose data is shared with another resource.
an instance of
An that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.
The pixel format and DPI of the bitmap to create . The portion of the pixel format must match the of data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.
HRESULT CreateSharedBitmap([In] REFIID riid,[InOut] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates an whose data is shared with another resource.
an instance of
An that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.
HRESULT CreateSharedBitmap([In] REFIID riid,[InOut] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates an whose data is shared with another resource.
an instance of
An that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.
The pixel format and DPI of the bitmap to create . The portion of the pixel format must match the of data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.
HRESULT CreateSharedBitmap([In] REFIID riid,[InOut] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates a Bitmap from a wic bitmap.
The render target.
A reference to a wic bitmap.
HRESULT CreateSharedBitmap([In] REFIID riid,[InOut] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Creates a Bitmap from a wic bitmap.
The render target.
The wic bitmap.
The bitmap properties.
HRESULT CreateSharedBitmap([In] REFIID riid,[InOut] void* data,[In, Optional] const D2D1_BITMAP_PROPERTIES* bitmapProperties,[Out] ID2D1Bitmap** bitmap)
Copies the specified region from the specified bitmap into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The bitmap to copy from.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D1_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_RECT_U* srcRect)
Copies the specified region from the specified bitmap into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The bitmap to copy from.
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D1_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_RECT_U* srcRect)
Copies the specified region from the specified bitmap into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The bitmap to copy from.
The area of bitmap to copy.
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D1_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_RECT_U* srcRect)
Copies the specified region from memory into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The data to copy.
The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D1_RECT_U* dstRect,[In] const void* srcData,[None] int pitch)
Copies the specified region from memory into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The data to copy.
The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D1_RECT_U* dstRect,[In] const void* srcData,[None] int pitch)
Copies the specified region from memory into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The data to copy.
The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding.
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D1_RECT_U* dstRect,[In] const void* srcData,[None] int pitch)
Copies the specified region from memory into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The data to copy.
The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding.
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D1_RECT_U* dstRect,[In] const void* srcData,[None] int pitch)
Copies the specified region from the specified render target into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}. All clips and layers must be popped off of the render target before calling this method. The method returns {{D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT}} if any clips or layers are currently applied to the render target.
The render target that contains the region to copy.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D1_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D1_RECT_U* srcRect)
Copies the specified region from the specified render target into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}. All clips and layers must be popped off of the render target before calling this method. The method returns {{D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT}} if any clips or layers are currently applied to the render target.
The render target that contains the region to copy.
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D1_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D1_RECT_U* srcRect)
Copies the specified region from the specified render target into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion, and will fail if the bitmap formats do not match. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}. All clips and layers must be popped off of the render target before calling this method. The method returns {{D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT}} if any clips or layers are currently applied to the render target.
The render target that contains the region to copy.
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied.
The area of renderTarget to copy.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D1_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D1_RECT_U* srcRect)
Copies the specified region from a stream into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The stream to copy the data from.
Length in bytes of the data to copy from the stream.
The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D1_RECT_U* dstRect,[In] const void* srcData,[None] int pitch)
Copies the specified region from a stream into the current bitmap.
This method does not update the size of the current bitmap. If the contents of the source bitmap do not fit in the current bitmap, this method fails. Also, note that this method does not perform format conversion; the two bitmap formats should match. Passing this method invalid input, such as an invalid destination rectangle, can produce unpredictable results, such as a distorted image or device failure. Calling this method may cause the current batch to flush if the bitmap is active in the batch. If the batch that was flushed does not complete successfully, this method fails. However, this method does not clear the error state of the render target on which the batch was flushed. The failing and tag state will be returned at the next call to {{EndDraw}} or {{Flush}}.
The stream to copy the data from.
Length in bytes of the data to copy from the stream.
The stride, or pitch, of the source bitmap stored in srcData. The stride is the byte count of a scanline (one row of pixels in memory). The stride can be computed from the following formula: pixel width * bytes per pixel + memory padding.
In the current bitmap, the upper-left corner of the area to which the region specified by srcRect is copied.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D1_RECT_U* dstRect,[In] const void* srcData,[None] int pitch)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
D2D_SIZE_F ID2D1Bitmap::GetSize()
No documentation.
No documentation.
D2D_SIZE_U ID2D1Bitmap::GetPixelSize()
No documentation.
No documentation.
D2D1_PIXEL_FORMAT ID2D1Bitmap::GetPixelFormat()
No documentation.
No documentation.
No documentation.
void ID2D1Bitmap::GetDpi([Out] float* dpiX,[Out] float* dpiY)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Bitmap::CopyFromBitmap([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1Bitmap* bitmap,[In, Optional] const D2D_RECT_U* srcRect)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Bitmap::CopyFromRenderTarget([In, Optional] const D2D_POINT_2U* destPoint,[In] ID2D1RenderTarget* renderTarget,[In, Optional] const D2D_RECT_U* srcRect)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Bitmap::CopyFromMemory([In, Optional] const D2D_RECT_U* dstRect,[In] const void* srcData,[In] unsigned int pitch)
Return the dots per inch (DPI) of the bitmap.
The dots per inch (DPI) of the bitma.
No documentation.
GetSize
D2D_SIZE_F ID2D1Bitmap::GetSize()
No documentation.
GetPixelSize
D2D_SIZE_U ID2D1Bitmap::GetPixelSize()
No documentation.
GetPixelFormat
D2D1_PIXEL_FORMAT ID2D1Bitmap::GetPixelFormat()
No documentation.
IDWritePixelSnapping
Determines whether pixel snapping is disabled. The recommended default is FALSE,
unless doing animation that requires subpixel vertical placement.
The context passed to IDWriteTextLayout::Draw.
Receives TRUE if pixel snapping is disabled or FALSE if it not.
HRESULT IsPixelSnappingDisabled([None] void* clientDrawingContext,[Out] BOOL* isDisabled)
Gets a transform that maps abstract coordinates to DIPs.
The drawing context passed to .
a structure which has transform information for pixel snapping.
HRESULT GetCurrentTransform([None] void* clientDrawingContext,[Out] DWRITE_MATRIX* transform)
Gets the number of physical pixels per DIP.
Because a DIP (device-independent pixel) is 1/96 inch, the pixelsPerDip value is the number of logical pixels per inch divided by 96.
The drawing context passed to .
the number of physical pixels per DIP
HRESULT GetPixelsPerDip([None] void* clientDrawingContext,[Out] FLOAT* pixelsPerDip)
No documentation.
IDWriteFontFile
Creates a font file reference object from a local font file.
A reference to a DirectWrite factory
An array of characters that contains the absolute file path for the font file. Subsequent operations on the constructed object may fail if the user provided filePath doesn't correspond to a valid file on the disk.
HRESULT IDWriteFactory::CreateFontFileReference([In] const wchar_t* filePath,[In, Optional] const __int64* lastWriteTime,[Out] IDWriteFontFile** fontFile)
Creates a font file reference object from a local font file.
A reference to a DirectWrite factory
An array of characters that contains the absolute file path for the font file. Subsequent operations on the constructed object may fail if the user provided filePath doesn't correspond to a valid file on the disk.
The last modified time of the input file path. If the parameter is omitted, the function will access the font file to obtain its last write time. You should specify this value to avoid extra disk access. Subsequent operations on the constructed object may fail if the user provided lastWriteTime doesn't match the file on the disk.
HRESULT IDWriteFactory::CreateFontFileReference([In] const wchar_t* filePath,[In, Optional] const __int64* lastWriteTime,[Out] IDWriteFontFile** fontFile)
Creates a reference to an application-specific font file resource.
A reference to a DirectWrite factory
A font file reference key that uniquely identifies the font file resource during the lifetime of fontFileLoader.
The size of the font file reference key in bytes.
The font file loader that will be used by the font system to load data from the file identified by fontFileReferenceKey.
This function is provided for cases when an application or a document needs to use a private font without having to install it on the system. fontFileReferenceKey has to be unique only in the scope of the fontFileLoader used in this call.
HRESULT IDWriteFactory::CreateCustomFontFileReference([In, Buffer] const void* fontFileReferenceKey,[None] int fontFileReferenceKeySize,[None] IDWriteFontFileLoader* fontFileLoader,[Out] IDWriteFontFile** fontFile)
Obtains the reference to the reference key of a font file. The returned reference is valid until the font file object is released.
the reference to the reference key of a font file.
HRESULT IDWriteFontFile::GetReferenceKey([Out, Buffer] const void** fontFileReferenceKey,[Out] int* fontFileReferenceKeySize)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFile::GetReferenceKey([Out, Buffer] const void** fontFileReferenceKey,[Out] unsigned int* fontFileReferenceKeySize)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFile::GetLoader([Out] IDWriteFontFileLoader** fontFileLoader)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFile::Analyze([Out] BOOL* isSupportedFontType,[Out] DWRITE_FONT_FILE_TYPE* fontFileType,[Out, Optional] DWRITE_FONT_FACE_TYPE* fontFaceType,[Out] unsigned int* numberOfFaces)
Obtains the file loader associated with a font file object.
HRESULT IDWriteFontFile::GetLoader([Out] IDWriteFontFileLoader** fontFileLoader)
No documentation.
ID2D1RoundedRectangleGeometry
Creates an .
an instance of
The coordinates and corner radii of the rounded rectangle geometry.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1RoundedRectangleGeometry::GetRoundedRect([Out] D2D1_ROUNDED_RECT* roundedRect)
No documentation.
GetRoundedRect
void ID2D1RoundedRectangleGeometry::GetRoundedRect([Out] D2D1_ROUNDED_RECT* roundedRect)
Tiff bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
Gif bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
ID2D1Layer
Creates a layer resource that can be used with this render target and its compatible render targets. The new layer has the specified initial size. The layer resource is allocated to the minimum size when {{PushLayer}} is called.
Regardless of whether a size is initially specified, the layer automatically resizes as needed.
an instance of
HRESULT CreateLayer([In, Optional] const D2D1_SIZE_F* size,[Out] ID2D1Layer** layer)
Creates a layer resource that can be used with this render target and its compatible render targets. The new layer has the specified initial size.
Regardless of whether a size is initially specified, the layer automatically resizes as needed.
an instance of
If (0, 0) is specified, no backing store is created behind the layer resource. The layer resource is allocated to the minimum size when {{PushLayer}} is called.
HRESULT CreateLayer([In, Optional] const D2D1_SIZE_F* size,[Out] ID2D1Layer** layer)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
D2D_SIZE_F ID2D1Layer::GetSize()
No documentation.
GetSize
D2D_SIZE_F ID2D1Layer::GetSize()
No documentation.
D2D1_ALPHA_MODE
No documentation.
D2D1_ALPHA_MODE_UNKNOWN
No documentation.
D2D1_ALPHA_MODE_PREMULTIPLIED
No documentation.
D2D1_ALPHA_MODE_STRAIGHT
No documentation.
D2D1_ALPHA_MODE_IGNORE
No documentation.
D2D1_ANTIALIAS_MODE
No documentation.
D2D1_ANTIALIAS_MODE_PER_PRIMITIVE
No documentation.
D2D1_ANTIALIAS_MODE_ALIASED
No documentation.
D2D1_ARC_SIZE
No documentation.
D2D1_ARC_SIZE_SMALL
No documentation.
D2D1_ARC_SIZE_LARGE
No documentation.
D2D1_BITMAP_INTERPOLATION_MODE
No documentation.
D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR
No documentation.
D2D1_BITMAP_INTERPOLATION_MODE_LINEAR
No documentation.
D2D1_CAP_STYLE
No documentation.
D2D1_CAP_STYLE_FLAT
No documentation.
D2D1_CAP_STYLE_SQUARE
No documentation.
D2D1_CAP_STYLE_ROUND
No documentation.
D2D1_CAP_STYLE_TRIANGLE
No documentation.
D2D1_COMBINE_MODE
No documentation.
D2D1_COMBINE_MODE_UNION
No documentation.
D2D1_COMBINE_MODE_INTERSECT
No documentation.
D2D1_COMBINE_MODE_XOR
No documentation.
D2D1_COMBINE_MODE_EXCLUDE
No documentation.
D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS
No documentation.
D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE
No documentation.
D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE
No documentation.
D2D1_DASH_STYLE
No documentation.
D2D1_DASH_STYLE_SOLID
No documentation.
D2D1_DASH_STYLE_DASH
No documentation.
D2D1_DASH_STYLE_DOT
No documentation.
D2D1_DASH_STYLE_DASH_DOT
No documentation.
D2D1_DASH_STYLE_DASH_DOT_DOT
No documentation.
D2D1_DASH_STYLE_CUSTOM
No documentation.
D2D1_DEBUG_LEVEL
No documentation.
D2D1_DEBUG_LEVEL_NONE
No documentation.
D2D1_DEBUG_LEVEL_ERROR
No documentation.
D2D1_DEBUG_LEVEL_WARNING
No documentation.
D2D1_DEBUG_LEVEL_INFORMATION
No documentation.
D2D1_DC_INITIALIZE_MODE
No documentation.
D2D1_DC_INITIALIZE_MODE_COPY
No documentation.
D2D1_DC_INITIALIZE_MODE_CLEAR
No documentation.
D2D1_DRAW_TEXT_OPTIONS
No documentation.
D2D1_DRAW_TEXT_OPTIONS_NO_SNAP
No documentation.
D2D1_DRAW_TEXT_OPTIONS_CLIP
No documentation.
D2D1_DRAW_TEXT_OPTIONS_NONE
No documentation.
D2D1_EXTEND_MODE
No documentation.
D2D1_EXTEND_MODE_CLAMP
No documentation.
D2D1_EXTEND_MODE_WRAP
No documentation.
D2D1_EXTEND_MODE_MIRROR
No documentation.
D2D1_FACTORY_TYPE
No documentation.
D2D1_FACTORY_TYPE_SINGLE_THREADED
No documentation.
D2D1_FACTORY_TYPE_MULTI_THREADED
No documentation.
D2D1_FEATURE_LEVEL
No documentation.
D2D1_FEATURE_LEVEL_DEFAULT
No documentation.
D2D1_FEATURE_LEVEL_9
No documentation.
D2D1_FEATURE_LEVEL_10
No documentation.
D2D1_FIGURE_BEGIN
No documentation.
D2D1_FIGURE_BEGIN_FILLED
No documentation.
D2D1_FIGURE_BEGIN_HOLLOW
No documentation.
D2D1_FIGURE_END
No documentation.
D2D1_FIGURE_END_OPEN
No documentation.
D2D1_FIGURE_END_CLOSED
No documentation.
D2D1_FILL_MODE
No documentation.
D2D1_FILL_MODE_ALTERNATE
No documentation.
D2D1_FILL_MODE_WINDING
No documentation.
D2D1_GAMMA
No documentation.
D2D1_GAMMA_2_2
No documentation.
D2D1_GAMMA_1_0
No documentation.
D2D1_GEOMETRY_RELATION
No documentation.
D2D1_GEOMETRY_RELATION_UNKNOWN
No documentation.
D2D1_GEOMETRY_RELATION_DISJOINT
No documentation.
D2D1_GEOMETRY_RELATION_IS_CONTAINED
No documentation.
D2D1_GEOMETRY_RELATION_CONTAINS
No documentation.
D2D1_GEOMETRY_RELATION_OVERLAP
No documentation.
D2D1_GEOMETRY_SIMPLIFICATION_OPTION
No documentation.
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES
No documentation.
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES
No documentation.
D2D1_LAYER_OPTIONS
No documentation.
D2D1_LAYER_OPTIONS_NONE
No documentation.
D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE
No documentation.
D2D1_LINE_JOIN
No documentation.
D2D1_LINE_JOIN_MITER
No documentation.
D2D1_LINE_JOIN_BEVEL
No documentation.
D2D1_LINE_JOIN_ROUND
No documentation.
D2D1_LINE_JOIN_MITER_OR_BEVEL
No documentation.
DWRITE_MEASURING_MODE
No documentation.
DWRITE_MEASURING_MODE_NATURAL
No documentation.
DWRITE_MEASURING_MODE_GDI_CLASSIC
No documentation.
DWRITE_MEASURING_MODE_GDI_NATURAL
No documentation.
D2D1_OPACITY_MASK_CONTENT
No documentation.
D2D1_OPACITY_MASK_CONTENT_GRAPHICS
No documentation.
D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL
No documentation.
D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE
No documentation.
D2D1_PATH_SEGMENT
No documentation.
D2D1_PATH_SEGMENT_NONE
No documentation.
D2D1_PATH_SEGMENT_FORCE_UNSTROKED
No documentation.
D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN
No documentation.
D2D1_PRESENT_OPTIONS
No documentation.
D2D1_PRESENT_OPTIONS_NONE
No documentation.
D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS
No documentation.
D2D1_PRESENT_OPTIONS_IMMEDIATELY
No documentation.
D2D1_RENDER_TARGET_TYPE
No documentation.
D2D1_RENDER_TARGET_TYPE_DEFAULT
No documentation.
D2D1_RENDER_TARGET_TYPE_SOFTWARE
No documentation.
D2D1_RENDER_TARGET_TYPE_HARDWARE
No documentation.
D2D1_RENDER_TARGET_USAGE
No documentation.
D2D1_RENDER_TARGET_USAGE_NONE
No documentation.
D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING
No documentation.
D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE
No documentation.
D2D1_SWEEP_DIRECTION
No documentation.
D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE
No documentation.
D2D1_SWEEP_DIRECTION_CLOCKWISE
No documentation.
D2D1_TEXT_ANTIALIAS_MODE
No documentation.
D2D1_TEXT_ANTIALIAS_MODE_DEFAULT
No documentation.
D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE
No documentation.
D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE
No documentation.
D2D1_TEXT_ANTIALIAS_MODE_ALIASED
No documentation.
D2D1_WINDOW_STATE
No documentation.
D2D1_WINDOW_STATE_NONE
No documentation.
D2D1_WINDOW_STATE_OCCLUDED
No documentation.
IDWriteTextAnalysisSink
Reports script analysis for the specified text range.
The starting position from which to report.
The number of UTF16 units of the reported range.
A reference to a structure that contains a zero-based index representation of a writing system script and a value indicating whether additional shaping of text is required.
A successful code or error code to stop analysis.
HRESULT IDWriteTextAnalysisSink::SetScriptAnalysis([None] int textPosition,[None] int textLength,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis)
Sets line-break opportunities for each character, starting from the specified position.
The starting text position from which to report.
The number of UTF16 units of the reported range.
A reference to a structure that contains breaking conditions set for each character from the starting position to the end of the specified range.
A successful code or error code to stop analysis.
HRESULT IDWriteTextAnalysisSink::SetLineBreakpoints([None] int textPosition,[None] int textLength,[In, Buffer] const DWRITE_LINE_BREAKPOINT* lineBreakpoints)
Sets a bidirectional level on the range, which is called once per run change (either explicit or resolved implicit).
The starting position from which to report.
The number of UTF16 units of the reported range.
The explicit level from the paragraph reading direction and any embedded control codes RLE/RLO/LRE/LRO/PDF, which is determined before any additional rules.
The final implicit level considering the explicit level and characters' natural directionality, after all Bidi rules have been applied.
A successful code or error code to stop analysis.
HRESULT IDWriteTextAnalysisSink::SetBidiLevel([None] int textPosition,[None] int textLength,[None] int explicitLevel,[None] int resolvedLevel)
Sets the number substitution on the text range affected by the text analysis.
The starting position from which to report.
The number of UTF16 units of the reported range.
An object that holds the appropriate digits and numeric punctuation for a given locale. Use to create this object.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextAnalysisSink::SetNumberSubstitution([None] int textPosition,[None] int textLength,[None] IDWriteNumberSubstitution* numberSubstitution)
Defines glyph characteristic information that an application needs to implement justification.
Justification cannot be applied at the glyph.
The glyph represents a blank in an Arabic run.
An inter-character justification point follows the glyph.
The glyph represents a blank outside an Arabic run.
Normal middle-of-word glyph that connects to the right (begin).
Kashida (U+0640) in the middle of the word.
Final form of an alef-like (U+0627, U+0625, U+0623, U+0622).
Final form of Ha (U+0647).
Final form of Ra (U+0631).
Final form of Ba (U+0628).
Ligature of alike (U+0628,U+0631).
Highest priority: initial shape of Seen class (U+0633).
Highest priority: medial shape of Seen class (U+0633).
Internal TessellationSink Callback
Determines whether pixel snapping is disabled. The recommended default is FALSE,
unless doing animation that requires subpixel vertical placement.
This pointer
The context passed to IDWriteTextLayout::Draw.
Output disabled
Receives TRUE if pixel snapping is disabled or FALSE if it not.
HRESULT IsPixelSnappingDisabled([None] void* clientDrawingContext,[Out] BOOL* isDisabled)
Gets a transform that maps abstract coordinates to DIPs.
This pointer
The drawing context passed to .
Matrix transform
a structure which has transform information for pixel snapping.
HRESULT GetCurrentTransform([None] void* clientDrawingContext,[Out] DWRITE_MATRIX* transform)
Gets the number of physical pixels per DIP.
Because a DIP (device-independent pixel) is 1/96 inch, the pixelsPerDip value is the number of logical pixels per inch divided by 96.
This pointer
The drawing context passed to .
Dip
the number of physical pixels per DIP
HRESULT GetPixelsPerDip([None] void* clientDrawingContext,[Out] FLOAT* pixelsPerDip)
No documentation.
IDWriteFontCollectionLoader
Creates a font file enumerator object that encapsulates a collection of font files. The font system calls back to this interface to create a font collection.
Pointer to the object that was used to create the current font collection.
A font collection key that uniquely identifies the collection of font files within the scope of the font collection loader being used. The buffer allocated for this key must be at least the size, in bytes, specified by collectionKeySize.
a reference to the newly created font file enumerator.
HRESULT IDWriteFontCollectionLoader::CreateEnumeratorFromKey([None] IDWriteFactory* factory,[In, Buffer] const void* collectionKey,[None] int collectionKeySize,[Out] IDWriteFontFileEnumerator** fontFileEnumerator)
Functions
Constant Jpeg.
CLSID_WICJpegDecoder
Constant Bmp.
CLSID_WICBmpDecoder
Constant Ico.
CLSID_WICIcoDecoder
Constant Tiff.
CLSID_WICTiffDecoder
Constant Wmp.
CLSID_WICWmpDecoder
Constant Gif.
CLSID_WICGifDecoder
Constant Png.
CLSID_WICPngDecoder
Functions
Constant Wmp.
CLSID_WICWmpEncoder
Constant Tiff.
CLSID_WICTiffEncoder
Constant Bmp.
CLSID_WICBmpEncoder
Constant Jpeg.
CLSID_WICJpegEncoder
Constant Gif.
CLSID_WICGifEncoder
Constant Png.
CLSID_WICPngEncoder
Functions
Constant Gif.
GUID_ContainerFormatGif
Constant Jpeg.
GUID_ContainerFormatJpeg
Constant Ico.
GUID_ContainerFormatIco
Constant Bmp.
GUID_ContainerFormatBmp
Constant Png.
GUID_ContainerFormatPng
Constant Wmp.
GUID_ContainerFormatWmp
Constant Tiff.
GUID_ContainerFormatTiff
Functions
Constant Format72bpp8ChannelsAlpha.
GUID_WICPixelFormat72bpp8ChannelsAlpha
Constant Format48bppBGRFixedPoint.
GUID_WICPixelFormat48bppBGRFixedPoint
Constant Format64bppCMYK.
GUID_WICPixelFormat64bppCMYK
Constant Format40bpp5Channels.
GUID_WICPixelFormat40bpp5Channels
Constant Format4bppIndexed.
GUID_WICPixelFormat4bppIndexed
Constant Format40bpp4ChannelsAlpha.
GUID_WICPixelFormat40bpp4ChannelsAlpha
Constant Format32bppGrayFixedPoint.
GUID_WICPixelFormat32bppGrayFixedPoint
Constant Format48bpp6Channels.
GUID_WICPixelFormat48bpp6Channels
Constant Format16bppGray.
GUID_WICPixelFormat16bppGray
Constant Format1bppIndexed.
GUID_WICPixelFormat1bppIndexed
Constant Format32bpp3ChannelsAlpha.
GUID_WICPixelFormat32bpp3ChannelsAlpha
Constant Format64bppRGBAFixedPoint.
GUID_WICPixelFormat64bppRGBAFixedPoint
Constant Format80bpp4ChannelsAlpha.
GUID_WICPixelFormat80bpp4ChannelsAlpha
Constant Format64bpp8Channels.
GUID_WICPixelFormat64bpp8Channels
Constant Format16bppBGR555.
GUID_WICPixelFormat16bppBGR555
Constant Format16bppBGR565.
GUID_WICPixelFormat16bppBGR565
Constant Format32bppRGBA1010102XR.
GUID_WICPixelFormat32bppRGBA1010102XR
Constant Format24bppRGB.
GUID_WICPixelFormat24bppRGB
Constant Format128bppRGBFloat.
GUID_WICPixelFormat128bppRGBFloat
Constant Format32bppBGR.
GUID_WICPixelFormat32bppBGR
Constant Format64bppRGBA.
GUID_WICPixelFormat64bppRGBA
Constant FormatDontCare.
GUID_WICPixelFormatDontCare
Constant Format40bppCMYKAlpha.
GUID_WICPixelFormat40bppCMYKAlpha
Constant Format32bppPRGBA.
GUID_WICPixelFormat32bppPRGBA
Constant Format24bpp3Channels.
GUID_WICPixelFormat24bpp3Channels
Constant Format32bppRGBE.
GUID_WICPixelFormat32bppRGBE
Constant Format24bppBGR.
GUID_WICPixelFormat24bppBGR
Constant Format64bppRGBFixedPoint.
GUID_WICPixelFormat64bppRGBFixedPoint
Constant Format96bppRGBFixedPoint.
GUID_WICPixelFormat96bppRGBFixedPoint
Constant Format128bppRGBFixedPoint.
GUID_WICPixelFormat128bppRGBFixedPoint
Constant Format144bpp8ChannelsAlpha.
GUID_WICPixelFormat144bpp8ChannelsAlpha
Constant Format64bppBGRAFixedPoint.
GUID_WICPixelFormat64bppBGRAFixedPoint
Constant Format32bppCMYK.
GUID_WICPixelFormat32bppCMYK
Constant Format32bppGrayFloat.
GUID_WICPixelFormat32bppGrayFloat
Constant Format64bppBGRA.
GUID_WICPixelFormat64bppBGRA
Constant Format48bpp3Channels.
GUID_WICPixelFormat48bpp3Channels
Constant Format32bppBGR101010.
GUID_WICPixelFormat32bppBGR101010
Constant Format2bppGray.
GUID_WICPixelFormat2bppGray
Constant Format56bpp7Channels.
GUID_WICPixelFormat56bpp7Channels
Constant Format16bppBGRA5551.
GUID_WICPixelFormat16bppBGRA5551
Constant Format48bppRGBFixedPoint.
GUID_WICPixelFormat48bppRGBFixedPoint
Constant Format32bppRGBA1010102.
GUID_WICPixelFormat32bppRGBA1010102
Constant Format64bppPBGRA.
GUID_WICPixelFormat64bppPBGRA
Constant Format96bpp6Channels.
GUID_WICPixelFormat96bpp6Channels
Constant FormatBlackWhite.
GUID_WICPixelFormatBlackWhite
Constant Format32bppPBGRA.
GUID_WICPixelFormat32bppPBGRA
Constant Format64bpp4Channels.
GUID_WICPixelFormat64bpp4Channels
Constant Format48bppRGBHalf.
GUID_WICPixelFormat48bppRGBHalf
Constant Format96bpp5ChannelsAlpha.
GUID_WICPixelFormat96bpp5ChannelsAlpha
Constant Format80bppCMYKAlpha.
GUID_WICPixelFormat80bppCMYKAlpha
Constant Format4bppGray.
GUID_WICPixelFormat4bppGray
Constant Format48bpp5ChannelsAlpha.
GUID_WICPixelFormat48bpp5ChannelsAlpha
Constant Format8bppGray.
GUID_WICPixelFormat8bppGray
Constant Format128bpp7ChannelsAlpha.
GUID_WICPixelFormat128bpp7ChannelsAlpha
Constant Format32bppRGBA.
GUID_WICPixelFormat32bppRGBA
Constant Format80bpp5Channels.
GUID_WICPixelFormat80bpp5Channels
Constant Format64bppPRGBA.
GUID_WICPixelFormat64bppPRGBA
Constant Format16bppGrayFixedPoint.
GUID_WICPixelFormat16bppGrayFixedPoint
Constant Format112bpp7Channels.
GUID_WICPixelFormat112bpp7Channels
Constant Format128bpp8Channels.
GUID_WICPixelFormat128bpp8Channels
Constant Format8bppAlpha.
GUID_WICPixelFormat8bppAlpha
Constant Format32bppBGRA.
GUID_WICPixelFormat32bppBGRA
Constant Format128bppRGBAFloat.
GUID_WICPixelFormat128bppRGBAFloat
Constant Format112bpp6ChannelsAlpha.
GUID_WICPixelFormat112bpp6ChannelsAlpha
Constant Format64bppRGBAHalf.
GUID_WICPixelFormat64bppRGBAHalf
Constant Format16bppGrayHalf.
GUID_WICPixelFormat16bppGrayHalf
Constant Format2bppIndexed.
GUID_WICPixelFormat2bppIndexed
Constant Format128bppRGBAFixedPoint.
GUID_WICPixelFormat128bppRGBAFixedPoint
Constant Format8bppIndexed.
GUID_WICPixelFormat8bppIndexed
Constant Format56bpp6ChannelsAlpha.
GUID_WICPixelFormat56bpp6ChannelsAlpha
Constant Format48bppBGR.
GUID_WICPixelFormat48bppBGR
Constant Format128bppPRGBAFloat.
GUID_WICPixelFormat128bppPRGBAFloat
Constant Format64bpp7ChannelsAlpha.
GUID_WICPixelFormat64bpp7ChannelsAlpha
Constant Format64bpp3ChannelsAlpha.
GUID_WICPixelFormat64bpp3ChannelsAlpha
Constant Format64bppRGBHalf.
GUID_WICPixelFormat64bppRGBHalf
Constant Format48bppRGB.
GUID_WICPixelFormat48bppRGB
Constant Format32bpp4Channels.
GUID_WICPixelFormat32bpp4Channels
Gets the number of bits per pixel for a particular pixel format.
The pixel format guid.
The number of bits per pixel. If the pixel format guid is invalid, returns 0
Gets the stride in bytes from a pixel format and a width..
The pixel format guid.
The width.
The number of bytes per row.
Tiff bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
ID2D1BitmapBrush
Creates an from the specified bitmap.
an instance of
The bitmap contents of the new brush.
HRESULT CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out] ID2D1BitmapBrush** bitmapBrush)
Creates an from the specified bitmap.
an instance of
The bitmap contents of the new brush.
The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the horizontal and vertical extend modes and the interpolation mode.
HRESULT CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out] ID2D1BitmapBrush** bitmapBrush)
Creates an from the specified bitmap.
an instance of
The bitmap contents of the new brush.
The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
HRESULT CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out] ID2D1BitmapBrush** bitmapBrush)
Creates an from the specified bitmap.
an instance of
The bitmap contents of the new brush.
The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the horizontal and vertical extend modes and the interpolation mode.
The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.
HRESULT CreateBitmapBrush([In] ID2D1Bitmap* bitmap,[In, Optional] const D2D1_BITMAP_BRUSH_PROPERTIES* bitmapBrushProperties,[In, Optional] const D2D1_BRUSH_PROPERTIES* brushProperties,[Out] ID2D1BitmapBrush** bitmapBrush)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
void ID2D1BitmapBrush::SetExtendModeX([In] D2D1_EXTEND_MODE extendModeX)
No documentation.
No documentation.
void ID2D1BitmapBrush::SetExtendModeY([In] D2D1_EXTEND_MODE extendModeY)
No documentation.
No documentation.
void ID2D1BitmapBrush::SetInterpolationMode([In] D2D1_BITMAP_INTERPOLATION_MODE interpolationMode)
No documentation.
No documentation.
void ID2D1BitmapBrush::SetBitmap([In] ID2D1Bitmap* bitmap)
No documentation.
No documentation.
D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeX()
No documentation.
No documentation.
D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeY()
No documentation.
No documentation.
D2D1_BITMAP_INTERPOLATION_MODE ID2D1BitmapBrush::GetInterpolationMode()
No documentation.
No documentation.
void ID2D1BitmapBrush::GetBitmap([Out] ID2D1Bitmap** bitmap)
No documentation.
GetExtendModeX
D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeX()
No documentation.
GetExtendModeY
D2D1_EXTEND_MODE ID2D1BitmapBrush::GetExtendModeY()
No documentation.
GetInterpolationMode
D2D1_BITMAP_INTERPOLATION_MODE ID2D1BitmapBrush::GetInterpolationMode()
No documentation.
GetBitmap
void ID2D1BitmapBrush::GetBitmap([Out] ID2D1Bitmap** bitmap)
No documentation.
IDWriteTextRenderer
IDWriteTextLayout::Draw calls this function to instruct the client to render a run of glyphs.
The function calls this callback function with all the information about glyphs to render. The application implements this callback by mostly delegating the call to the underlying platform's graphics API such as {{Direct2D}} to draw glyphs on the drawing context. An application that uses GDI can implement this callback in terms of the method.
The application-defined drawing context passed to .
The pixel location (X-coordinate) at the baseline origin of the glyph run.
The pixel location (Y-coordinate) at the baseline origin of the glyph run.
The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.
Pointer to the glyph run instance to render.
A pointer to the optional glyph run description instance which contains properties of the characters associated with this run.
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of text.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawGlyphRun([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[None] DWRITE_MEASURING_MODE measuringMode,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] const DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription,[None] IUnknown* clientDrawingEffect)
IDWriteTextLayout::Draw calls this function to instruct the client to draw an underline.
A single underline can be broken into multiple calls, depending on how the formatting changes attributes. If font sizes/styles change within an underline, the thickness and offset will be averaged weighted according to characters. To get an appropriate starting pixel position, add underline::offset to the baseline. Otherwise there will be no spacing between the text. The x coordinate will always be passed as the left side, regardless of text directionality. This simplifies drawing and reduces the problem of round-off that could potentially cause gaps or a double stamped alpha blend. To avoid alpha overlap, round the end points to the nearest device pixel.
The application-defined drawing context passed to IDWriteTextLayout::Draw.
The pixel location (X-coordinate) at the baseline origin of the run where underline applies.
The pixel location (Y-coordinate) at the baseline origin of the run where underline applies.
Pointer to a structure containing underline logical information.
Application-defined effect to apply to the underline. Usually this argument represents effects such as the foreground brush filling the interior of a line.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawUnderline([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[In] const DWRITE_UNDERLINE* underline,[None] IUnknown* clientDrawingEffect)
IDWriteTextLayout::Draw calls this function to instruct the client to draw a strikethrough.
A single strikethrough can be broken into multiple calls, depending on how the formatting changes attributes. Strikethrough is not averaged across font sizes/styles changes. To get an appropriate starting pixel position, add strikethrough::offset to the baseline. Like underlines, the x coordinate will always be passed as the left side, regardless of text directionality.
The application-defined drawing context passed to IDWriteTextLayout::Draw.
The pixel location (X-coordinate) at the baseline origin of the run where strikethrough applies.
The pixel location (Y-coordinate) at the baseline origin of the run where strikethrough applies.
Pointer to a structure containing strikethrough logical information.
Application-defined effect to apply to the strikethrough. Usually this argument represents effects such as the foreground brush filling the interior of a line.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawStrikethrough([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[In] const DWRITE_STRIKETHROUGH* strikethrough,[None] IUnknown* clientDrawingEffect)
IDWriteTextLayout::Draw calls this application callback when it needs to draw an inline object.
The application-defined drawing context passed to IDWriteTextLayout::Draw.
X-coordinate at the top-left corner of the inline object.
Y-coordinate at the top-left corner of the inline object.
The application-defined inline object set using IDWriteTextFormat::SetInlineObject.
A Boolean flag that indicates whether the object's baseline runs alongside the baseline axis of the line.
A Boolean flag that indicates whether the object is in a right-to-left context, hinting that the drawing may want to mirror the normal image.
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of a line.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawInlineObject([None] void* clientDrawingContext,[None] FLOAT originX,[None] FLOAT originY,[None] IDWriteInlineObject* inlineObject,[None] BOOL isSideways,[None] BOOL isRightToLeft,[None] IUnknown* clientDrawingEffect)
No documentation.
IDWriteTextAnalyzer
Returns an interface for performing text analysis.
A reference to a DirectWrite factory
HRESULT IDWriteFactory::CreateTextAnalyzer([Out] IDWriteTextAnalyzer** textAnalyzer)
Analyzes a text range for script boundaries, reading text attributes from the source and reporting the Unicode script ID to the sink callback {{SetScript}}.
A reference to the source object to analyze.
The starting text position within the source object.
The text length to analyze.
A reference to the sink callback object that receives the text analysis.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextAnalyzer::AnalyzeScript([None] IDWriteTextAnalysisSource* analysisSource,[None] int textPosition,[None] int textLength,[None] IDWriteTextAnalysisSink* analysisSink)
Analyzes a text range for script directionality, reading attributes from the source and reporting levels to the sink callback {{SetBidiLevel}}.
A reference to a source object to analyze.
The starting text position within the source object.
The text length to analyze.
A reference to the sink callback object that receives the text analysis.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextAnalyzer::AnalyzeBidi([None] IDWriteTextAnalysisSource* analysisSource,[None] int textPosition,[None] int textLength,[None] IDWriteTextAnalysisSink* analysisSink)
While the function can handle multiple paragraphs, the text range should not arbitrarily split the middle of paragraphs. Otherwise, the returned levels may be wrong, because the Bidi algorithm is meant to apply to the paragraph as a whole.
Analyzes a text range for spans where number substitution is applicable, reading attributes from the source and reporting substitutable ranges to the sink callback {{SetNumberSubstitution}}.
The source object to analyze.
The starting position within the source object.
The length to analyze.
A reference to the sink callback object that receives the text analysis.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextAnalyzer::AnalyzeNumberSubstitution([None] IDWriteTextAnalysisSource* analysisSource,[None] int textPosition,[None] int textLength,[None] IDWriteTextAnalysisSink* analysisSink)
Although the function can handle multiple ranges of differing number substitutions, the text ranges should not arbitrarily split the middle of numbers. Otherwise, it will treat the numbers separately and will not translate any intervening punctuation.
Analyzes a text range for potential breakpoint opportunities, reading attributes from the source and reporting breakpoint opportunities to the sink callback {{SetLineBreakpoints}}.
A reference to the source object to analyze.
The starting text position within the source object.
The text length to analyze.
A reference to the sink callback object that receives the text analysis.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteTextAnalyzer::AnalyzeLineBreakpoints([None] IDWriteTextAnalysisSource* analysisSource,[None] int textPosition,[None] int textLength,[None] IDWriteTextAnalysisSink* analysisSink)
Although the function can handle multiple paragraphs, the text range should not arbitrarily split the middle of paragraphs, unless the specified text span is considered a whole unit. Otherwise, the returned properties for the first and last characters will inappropriately allow breaks.
Gets the glyphs (TODO doc)
The text string.
Length of the text.
The font face.
if set to true [is sideways].
if set to true [is right to left].
The script analysis.
Name of the locale.
The number substitution.
The features.
The feature range lengths.
The max glyph count.
The cluster map.
The text props.
The glyph indices.
The glyph props.
The actual glyph count.
If the method succeeds, it returns .
HRESULT IDWriteTextAnalyzer::GetGlyphs([In, Buffer] const wchar_t* textString,[In] unsigned int textLength,[In] IDWriteFontFace* fontFace,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Buffer, Optional] const wchar_t* localeName,[In, Optional] IDWriteNumberSubstitution* numberSubstitution,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[In] unsigned int maxGlyphCount,[Out, Buffer] unsigned short* clusterMap,[Out, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[Out, Buffer] unsigned short* glyphIndices,[Out, Buffer] DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[Out] unsigned int* actualGlyphCount)
Gets the glyph placements.
The text string.
The cluster map.
The text props.
Length of the text.
The glyph indices.
The glyph props.
The glyph count.
The font face.
Size of the font em.
if set to true [is sideways].
if set to true [is right to left].
The script analysis.
Name of the locale.
The features.
The feature range lengths.
The glyph advances.
The glyph offsets.
If the method succeeds, it returns .
HRESULT IDWriteTextAnalyzer::GetGlyphPlacements([In, Buffer] const wchar_t* textString,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[In] unsigned int textLength,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[In] unsigned int glyphCount,[In] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Buffer, Optional] const wchar_t* localeName,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[Out, Buffer] float* glyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* glyphOffsets)
Gets the GDI compatible glyph placements.
The text string.
The cluster map.
The text props.
Length of the text.
The glyph indices.
The glyph props.
The glyph count.
The font face.
Size of the font em.
The pixels per dip.
The transform.
if set to true [use GDI natural].
if set to true [is sideways].
if set to true [is right to left].
The script analysis.
Name of the locale.
The features.
The feature range lengths.
The glyph advances.
The glyph offsets.
If the method succeeds, it returns .
HRESULT IDWriteTextAnalyzer::GetGdiCompatibleGlyphPlacements([In, Buffer] const wchar_t* textString,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[In] unsigned int textLength,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[In] unsigned int glyphCount,[In] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Buffer, Optional] const wchar_t* localeName,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[Out, Buffer] float* glyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* glyphOffsets)
Allocates the features from the jagged array..
The features.
A pointer to the allocated native features or 0 if features is null or empty.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextAnalyzer::AnalyzeScript([In] IDWriteTextAnalysisSource* analysisSource,[In] unsigned int textPosition,[In] unsigned int textLength,[In] IDWriteTextAnalysisSink* analysisSink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextAnalyzer::AnalyzeBidi([In] IDWriteTextAnalysisSource* analysisSource,[In] unsigned int textPosition,[In] unsigned int textLength,[In] IDWriteTextAnalysisSink* analysisSink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextAnalyzer::AnalyzeNumberSubstitution([In] IDWriteTextAnalysisSource* analysisSource,[In] unsigned int textPosition,[In] unsigned int textLength,[In] IDWriteTextAnalysisSink* analysisSink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextAnalyzer::AnalyzeLineBreakpoints([In] IDWriteTextAnalysisSource* analysisSource,[In] unsigned int textPosition,[In] unsigned int textLength,[In] IDWriteTextAnalysisSink* analysisSink)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextAnalyzer::GetGlyphs([In, Buffer] const wchar_t* textString,[In] unsigned int textLength,[In] IDWriteFontFace* fontFace,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Buffer, Optional] const wchar_t* localeName,[In, Optional] IDWriteNumberSubstitution* numberSubstitution,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[In] unsigned int maxGlyphCount,[Out, Buffer] unsigned short* clusterMap,[Out, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[Out, Buffer] unsigned short* glyphIndices,[Out, Buffer] DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[Out] unsigned int* actualGlyphCount)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextAnalyzer::GetGlyphPlacements([In, Buffer] const wchar_t* textString,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[In] unsigned int textLength,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[In] unsigned int glyphCount,[In] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Buffer, Optional] const wchar_t* localeName,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[Out, Buffer] float* glyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* glyphOffsets)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteTextAnalyzer::GetGdiCompatibleGlyphPlacements([In, Buffer] const wchar_t* textString,[In, Buffer] const unsigned short* clusterMap,[In, Buffer] DWRITE_SHAPING_TEXT_PROPERTIES* textProps,[In] unsigned int textLength,[In, Buffer] const unsigned short* glyphIndices,[In, Buffer] const DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps,[In] unsigned int glyphCount,[In] IDWriteFontFace* fontFace,[In] float fontEmSize,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[In] BOOL isSideways,[In] BOOL isRightToLeft,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis,[In, Buffer, Optional] const wchar_t* localeName,[In, Optional] const void** features,[In, Buffer, Optional] const unsigned int* featureRangeLengths,[In] unsigned int featureRanges,[Out, Buffer] float* glyphAdvances,[Out, Buffer] DWRITE_GLYPH_OFFSET* glyphOffsets)
No documentation.
IDWriteBitmapRenderTarget
Draws a run of glyphs to a bitmap target at the specified position.
You can use the IDWriteBitmapRenderTarget::DrawGlyphRun to render to a bitmap from a custom text renderer that you implement. The custom text renderer should call this method from within the callback method as shown in the following code.
STDMETHODIMP GdiTextRenderer::DrawGlyphRun( __maybenull void* clientDrawingContext, FLOAT baselineOriginX, FLOAT baselineOriginY, DWRITE_MEASURING_MODE measuringMode, __in DWRITE_GLYPH_RUN const* glyphRun, __in DWRITE_GLYPH_RUN_DESCRIPTION const* glyphRunDescription, IUnknown* clientDrawingEffect )
{ HRESULT hr = S_OK; // Pass on the drawing call to the render target to do the real work. RECT dirtyRect = {0}; hr = pRenderTarget_->DrawGlyphRun( baselineOriginX, baselineOriginY, measuringMode, glyphRun, pRenderingParams_, RGB(0,200,255), &dirtyRect ); return hr;
}
The baselineOriginX, baslineOriginY, measuringMethod, and glyphRun parameters are provided (as arguments) when the callback method is invoked. The renderingParams, textColor and blackBoxRect are not. Default rendering params can be retrieved by using the method.
The horizontal position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.
The vertical position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.
The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.
The structure containing the properties of the glyph run.
The object that controls rendering behavior.
The foreground color of the text.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteBitmapRenderTarget::DrawGlyphRun([None] float baselineOriginX,[None] float baselineOriginY,[None] DWRITE_MEASURING_MODE measuringMode,[In] const DWRITE_GLYPH_RUN* glyphRun,[None] IDWriteRenderingParams* renderingParams,[None] COLORREF textColor,[Out, Optional] RECT* blackBoxRect)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteBitmapRenderTarget::DrawGlyphRun([In] float baselineOriginX,[In] float baselineOriginY,[In] DWRITE_MEASURING_MODE measuringMode,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] IDWriteRenderingParams* renderingParams,[In] COLORREF textColor,[Out, Optional] RECT* blackBoxRect)
No documentation.
No documentation.
HDC IDWriteBitmapRenderTarget::GetMemoryDC()
No documentation.
No documentation.
float IDWriteBitmapRenderTarget::GetPixelsPerDip()
No documentation.
No documentation.
No documentation.
HRESULT IDWriteBitmapRenderTarget::SetPixelsPerDip([In] float pixelsPerDip)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteBitmapRenderTarget::GetCurrentTransform([Out] DWRITE_MATRIX* transform)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteBitmapRenderTarget::SetCurrentTransform([In, Optional] const DWRITE_MATRIX* transform)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteBitmapRenderTarget::GetSize([Out] SIZE* size)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteBitmapRenderTarget::Resize([In] unsigned int width,[In] unsigned int height)
No documentation.
GetMemoryDC
HDC IDWriteBitmapRenderTarget::GetMemoryDC()
No documentation.
GetPixelsPerDip
float IDWriteBitmapRenderTarget::GetPixelsPerDip()
No documentation.
GetCurrentTransform
HRESULT IDWriteBitmapRenderTarget::GetCurrentTransform([Out] DWRITE_MATRIX* transform)
No documentation.
GetSize
HRESULT IDWriteBitmapRenderTarget::GetSize([Out] SIZE* size)
A Wic RenderTarget.
Initializes a new instance of the class from a .
The factory.
The wic bitmap.
The render target properties.
No documentation.
ID2D1StrokeStyle
Creates an that describes start cap, dash pattern, and other features of a stroke.
an instance of
a definition for this render target
Creates an that describes start cap, dash pattern, and other features of a stroke.
an instance of
A structure that describes the stroke's line cap, dash offset, and other details of a stroke.
An array whose elements are set to the length of each dash and space in the dash pattern. The first element sets the length of a dash, the second element sets the length of a space, the third element sets the length of a dash, and so on. The length of each dash and space in the dash pattern is the product of the element value in the array and the stroke width.
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
D2D1_CAP_STYLE ID2D1StrokeStyle::GetStartCap()
No documentation.
No documentation.
D2D1_CAP_STYLE ID2D1StrokeStyle::GetEndCap()
No documentation.
No documentation.
D2D1_CAP_STYLE ID2D1StrokeStyle::GetDashCap()
No documentation.
No documentation.
float ID2D1StrokeStyle::GetMiterLimit()
No documentation.
No documentation.
D2D1_LINE_JOIN ID2D1StrokeStyle::GetLineJoin()
No documentation.
No documentation.
float ID2D1StrokeStyle::GetDashOffset()
No documentation.
No documentation.
D2D1_DASH_STYLE ID2D1StrokeStyle::GetDashStyle()
No documentation.
No documentation.
unsigned int ID2D1StrokeStyle::GetDashesCount()
No documentation.
No documentation.
No documentation.
void ID2D1StrokeStyle::GetDashes([Out, Buffer] float* dashes,[In] unsigned int dashesCount)
No documentation.
GetStartCap
D2D1_CAP_STYLE ID2D1StrokeStyle::GetStartCap()
No documentation.
GetEndCap
D2D1_CAP_STYLE ID2D1StrokeStyle::GetEndCap()
No documentation.
GetDashCap
D2D1_CAP_STYLE ID2D1StrokeStyle::GetDashCap()
No documentation.
GetMiterLimit
float ID2D1StrokeStyle::GetMiterLimit()
No documentation.
GetLineJoin
D2D1_LINE_JOIN ID2D1StrokeStyle::GetLineJoin()
No documentation.
GetDashOffset
float ID2D1StrokeStyle::GetDashOffset()
No documentation.
GetDashStyle
D2D1_DASH_STYLE ID2D1StrokeStyle::GetDashStyle()
No documentation.
GetDashesCount
unsigned int ID2D1StrokeStyle::GetDashesCount()
Functions
DLLs loaders
No documentation.
No documentation.
No documentation.
BOOL D2D1InvertMatrix([InOut] D2D_MATRIX_3X2_F* matrix)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
void D2D1MakeSkewMatrix([In] float angleX,[In] float angleY,[In] D2D_POINT_2F center,[Out] D2D_MATRIX_3X2_F* matrix)
No documentation.
No documentation.
No documentation.
No documentation.
void D2D1MakeRotateMatrix([In] float angle,[In] D2D_POINT_2F center,[Out] D2D_MATRIX_3X2_F* matrix)
No documentation.
No documentation.
No documentation.
BOOL D2D1IsMatrixInvertible([In] const D2D_MATRIX_3X2_F* matrix)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT D2D1CreateFactory([In] D2D1_FACTORY_TYPE factoryType,[In] const GUID& riid,[In, Optional] const D2D1_FACTORY_OPTIONS* pFactoryOptions,[Out] void** ppIFactory)
Default abstract implementation of TextRenderer. Need to implement a least a DrawXXX method to use it.
Determines whether pixel snapping is disabled. The recommended default is FALSE,
unless doing animation that requires subpixel vertical placement.
The context passed to IDWriteTextLayout::Draw.
Receives TRUE if pixel snapping is disabled or FALSE if it not.
HRESULT IsPixelSnappingDisabled([None] void* clientDrawingContext,[Out] BOOL* isDisabled)
Gets a transform that maps abstract coordinates to DIPs.
The drawing context passed to .
a structure which has transform information for pixel snapping.
HRESULT GetCurrentTransform([None] void* clientDrawingContext,[Out] DWRITE_MATRIX* transform)
Gets the number of physical pixels per DIP.
Because a DIP (device-independent pixel) is 1/96 inch, the pixelsPerDip value is the number of logical pixels per inch divided by 96.
The drawing context passed to .
the number of physical pixels per DIP
HRESULT GetPixelsPerDip([None] void* clientDrawingContext,[Out] FLOAT* pixelsPerDip)
IDWriteTextLayout::Draw calls this function to instruct the client to render a run of glyphs.
The function calls this callback function with all the information about glyphs to render. The application implements this callback by mostly delegating the call to the underlying platform's graphics API such as {{Direct2D}} to draw glyphs on the drawing context. An application that uses GDI can implement this callback in terms of the method.
The application-defined drawing context passed to .
The pixel location (X-coordinate) at the baseline origin of the glyph run.
The pixel location (Y-coordinate) at the baseline origin of the glyph run.
The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.
Pointer to the glyph run instance to render.
A pointer to the optional glyph run description instance which contains properties of the characters associated with this run.
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of text.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawGlyphRun([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[None] DWRITE_MEASURING_MODE measuringMode,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] const DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription,[None] IUnknown* clientDrawingEffect)
IDWriteTextLayout::Draw calls this function to instruct the client to draw an underline.
A single underline can be broken into multiple calls, depending on how the formatting changes attributes. If font sizes/styles change within an underline, the thickness and offset will be averaged weighted according to characters. To get an appropriate starting pixel position, add underline::offset to the baseline. Otherwise there will be no spacing between the text. The x coordinate will always be passed as the left side, regardless of text directionality. This simplifies drawing and reduces the problem of round-off that could potentially cause gaps or a double stamped alpha blend. To avoid alpha overlap, round the end points to the nearest device pixel.
The application-defined drawing context passed to IDWriteTextLayout::Draw.
The pixel location (X-coordinate) at the baseline origin of the run where underline applies.
The pixel location (Y-coordinate) at the baseline origin of the run where underline applies.
Pointer to a structure containing underline logical information.
Application-defined effect to apply to the underline. Usually this argument represents effects such as the foreground brush filling the interior of a line.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawUnderline([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[In] const DWRITE_UNDERLINE* underline,[None] IUnknown* clientDrawingEffect)
IDWriteTextLayout::Draw calls this function to instruct the client to draw a strikethrough.
A single strikethrough can be broken into multiple calls, depending on how the formatting changes attributes. Strikethrough is not averaged across font sizes/styles changes. To get an appropriate starting pixel position, add strikethrough::offset to the baseline. Like underlines, the x coordinate will always be passed as the left side, regardless of text directionality.
The application-defined drawing context passed to IDWriteTextLayout::Draw.
The pixel location (X-coordinate) at the baseline origin of the run where strikethrough applies.
The pixel location (Y-coordinate) at the baseline origin of the run where strikethrough applies.
Pointer to a structure containing strikethrough logical information.
Application-defined effect to apply to the strikethrough. Usually this argument represents effects such as the foreground brush filling the interior of a line.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawStrikethrough([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[In] const DWRITE_STRIKETHROUGH* strikethrough,[None] IUnknown* clientDrawingEffect)
IDWriteTextLayout::Draw calls this application callback when it needs to draw an inline object.
The application-defined drawing context passed to IDWriteTextLayout::Draw.
X-coordinate at the top-left corner of the inline object.
Y-coordinate at the top-left corner of the inline object.
The application-defined inline object set using IDWriteTextFormat::SetInlineObject.
A Boolean flag that indicates whether the object's baseline runs alongside the baseline axis of the line.
A Boolean flag that indicates whether the object is in a right-to-left context, hinting that the drawing may want to mirror the normal image.
Application-defined drawing effects for the glyphs to render. Usually this argument represents effects such as the foreground brush filling the interior of a line.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT DrawInlineObject([None] void* clientDrawingContext,[None] FLOAT originX,[None] FLOAT originY,[None] IDWriteInlineObject* inlineObject,[None] BOOL isSideways,[None] BOOL isRightToLeft,[None] IUnknown* clientDrawingEffect)
No documentation.
IDWriteRenderingParams
Creates a rendering parameters object with default settings for the primary monitor. Different monitors may have different rendering parameters, for more information see the {{How to Add Support for Multiple Monitors}} topic.
A reference to a DirectWrite factory
HRESULT IDWriteFactory::CreateRenderingParams([Out] IDWriteRenderingParams** renderingParams)
Creates a rendering parameters object with default settings for the specified monitor. In most cases, this is the preferred way to create a rendering parameters object.
A reference to a DirectWrite factory
A handle for the specified monitor.
HRESULT IDWriteFactory::CreateMonitorRenderingParams([None] void* monitor,[Out] IDWriteRenderingParams** renderingParams)
Creates a rendering parameters object with the specified properties.
A reference to a DirectWrite factory
The gamma level to be set for the new rendering parameters object.
The enhanced contrast level to be set for the new rendering parameters object.
The ClearType level to be set for the new rendering parameters object.
Represents the internal structure of a device pixel (that is, the physical arrangement of red, green, and blue color components) that is assumed for purposes of rendering text.
A value that represents the method (for example, ClearType natural quality) for rendering glyphs.
HRESULT IDWriteFactory::CreateCustomRenderingParams([None] float gamma,[None] float enhancedContrast,[None] float clearTypeLevel,[None] DWRITE_PIXEL_GEOMETRY pixelGeometry,[None] DWRITE_RENDERING_MODE renderingMode,[Out] IDWriteRenderingParams** renderingParams)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
float IDWriteRenderingParams::GetGamma()
No documentation.
No documentation.
float IDWriteRenderingParams::GetEnhancedContrast()
No documentation.
No documentation.
float IDWriteRenderingParams::GetClearTypeLevel()
No documentation.
No documentation.
DWRITE_PIXEL_GEOMETRY IDWriteRenderingParams::GetPixelGeometry()
No documentation.
No documentation.
DWRITE_RENDERING_MODE IDWriteRenderingParams::GetRenderingMode()
No documentation.
GetGamma
float IDWriteRenderingParams::GetGamma()
No documentation.
GetEnhancedContrast
float IDWriteRenderingParams::GetEnhancedContrast()
No documentation.
GetClearTypeLevel
float IDWriteRenderingParams::GetClearTypeLevel()
No documentation.
GetPixelGeometry
DWRITE_PIXEL_GEOMETRY IDWriteRenderingParams::GetPixelGeometry()
No documentation.
GetRenderingMode
DWRITE_RENDERING_MODE IDWriteRenderingParams::GetRenderingMode()
No documentation.
IDWriteFontFileStream
No documentation.
IDWriteFontFileStream
Reads a fragment from a font file.
Note that ReadFileFragment implementations must check whether the requested font file fragment is within the file bounds. Otherwise, an error should be returned from ReadFileFragment. {{DirectWrite}} may invoke methods on the same object from multiple threads simultaneously. Therefore, ReadFileFragment implementations that rely on internal mutable state must serialize access to such state across multiple threads. For example, an implementation that uses separate Seek and Read operations to read a file fragment must place the code block containing Seek and Read calls under a lock or a critical section.
When this method returns, contains an address of a reference to the start of the font file fragment. This parameter is passed uninitialized.
The offset of the fragment, in bytes, from the beginning of the font file.
The size of the file fragment, in bytes.
When this method returns, contains the address of
a reference to a reference to the client-defined context to be passed to {{ReleaseFileFragment}}.
HRESULT IDWriteFontFileStream::ReadFileFragment([Out, Buffer] const void** fragmentStart,[None] __int64 fileOffset,[None] __int64 fragmentSize,[Out] void** fragmentContext)
Releases a fragment from a file.
A reference to the client-defined context of a font fragment returned from {{ReadFileFragment}}.
void IDWriteFontFileStream::ReleaseFileFragment([None] void* fragmentContext)
Obtains the total size of a file.
Implementing GetFileSize() for asynchronously loaded font files may require downloading the complete file contents. Therefore, this method should be used only for operations that either require a complete font file to be loaded (for example, copying a font file) or that need to make decisions based on the value of the file size (for example, validation against a persisted file size).
the total size of the file.
HRESULT IDWriteFontFileStream::GetFileSize([Out] __int64* fileSize)
Obtains the last modified time of the file.
The "last modified time" is used by DirectWrite font selection algorithms to determine whether one font resource is more up to date than another one.
the last modified time of the file in the format that represents the number of 100-nanosecond intervals since January 1, 1601 (UTC).
HRESULT IDWriteFontFileStream::GetLastWriteTime([Out] __int64* lastWriteTime)
Reads a fragment from a font file.
Note that ReadFileFragment implementations must check whether the requested font file fragment is within the file bounds. Otherwise, an error should be returned from ReadFileFragment. {{DirectWrite}} may invoke methods on the same object from multiple threads simultaneously. Therefore, ReadFileFragment implementations that rely on internal mutable state must serialize access to such state across multiple threads. For example, an implementation that uses separate Seek and Read operations to read a file fragment must place the code block containing Seek and Read calls under a lock or a critical section.
When this method returns, contains an address of a reference to the start of the font file fragment. This parameter is passed uninitialized.
The offset of the fragment, in bytes, from the beginning of the font file.
The size of the file fragment, in bytes.
When this method returns, contains the address of
a reference to a reference to the client-defined context to be passed to {{ReleaseFileFragment}}.
HRESULT IDWriteFontFileStream::ReadFileFragment([Out, Buffer] const void** fragmentStart,[None] __int64 fileOffset,[None] __int64 fragmentSize,[Out] void** fragmentContext)
Releases a fragment from a file.
A reference to the client-defined context of a font fragment returned from {{ReadFileFragment}}.
void IDWriteFontFileStream::ReleaseFileFragment([None] void* fragmentContext)
Obtains the total size of a file.
Implementing GetFileSize() for asynchronously loaded font files may require downloading the complete file contents. Therefore, this method should be used only for operations that either require a complete font file to be loaded (for example, copying a font file) or that need to make decisions based on the value of the file size (for example, validation against a persisted file size).
the total size of the file.
HRESULT IDWriteFontFileStream::GetFileSize([Out] __int64* fileSize)
Obtains the last modified time of the file.
The "last modified time" is used by DirectWrite font selection algorithms to determine whether one font resource is more up to date than another one.
the last modified time of the file in the format that represents the number of 100-nanosecond intervals since January 1, 1601 (UTC).
HRESULT IDWriteFontFileStream::GetLastWriteTime([Out] __int64* lastWriteTime)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFileStream::ReadFileFragment([Out] const void** fragmentStart,[In] unsigned longlong fileOffset,[In] unsigned longlong fragmentSize,[Out] void** fragmentContext)
No documentation.
No documentation.
void IDWriteFontFileStream::ReleaseFileFragment([In] void* fragmentContext)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFileStream::GetFileSize([Out] unsigned longlong* fileSize)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFileStream::GetLastWriteTime([Out] unsigned longlong* lastWriteTime)
No documentation.
WICBitmapPattern
No documentation.
ULARGE_INTEGER Position
No documentation.
unsigned int Length
No documentation.
unsigned char* Pattern
No documentation.
unsigned char* Mask
No documentation.
BOOL EndOfStream
No documentation.
WICRawCapabilitiesInfo
No documentation.
unsigned int cbSize
No documentation.
unsigned int CodecMajorVersion
No documentation.
unsigned int CodecMinorVersion
No documentation.
WICRawCapabilities ExposureCompensationSupport
No documentation.
WICRawCapabilities ContrastSupport
No documentation.
WICRawCapabilities RGBWhitePointSupport
No documentation.
WICRawCapabilities NamedWhitePointSupport
No documentation.
unsigned int NamedWhitePointSupportMask
No documentation.
WICRawCapabilities KelvinWhitePointSupport
No documentation.
WICRawCapabilities GammaSupport
No documentation.
WICRawCapabilities TintSupport
No documentation.
WICRawCapabilities SaturationSupport
No documentation.
WICRawCapabilities SharpnessSupport
No documentation.
WICRawCapabilities NoiseReductionSupport
No documentation.
WICRawCapabilities DestinationColorProfileSupport
No documentation.
WICRawCapabilities ToneCurveSupport
No documentation.
WICRawRotationCapabilities RotationSupport
No documentation.
WICRawCapabilities RenderModeSupport
No documentation.
WICRawToneCurve
No documentation.
unsigned int cPoints
No documentation.
WICRawToneCurvePoint aPoints[1]
No documentation.
WICRawToneCurvePoint
No documentation.
double Input
No documentation.
double Output
Bmp bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
Internal GeometrySink Callback
Internal SimplifiedGeometrySink Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
Get a native callback pointer from a managed callback.
The geometry sink.
A pointer to the unmanaged geomerty sink counterpart
No documentation.
IDWriteFactory
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::GetSystemFontCollection([Out] IDWriteFontCollection** fontCollection,[In] BOOL checkForUpdates)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateCustomFontCollection([In] IDWriteFontCollectionLoader* collectionLoader,[In, Buffer] const void* collectionKey,[In] unsigned int collectionKeySize,[Out, Fast] IDWriteFontCollection** fontCollection)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::RegisterFontCollectionLoader([In] IDWriteFontCollectionLoader* fontCollectionLoader)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::UnregisterFontCollectionLoader([In] IDWriteFontCollectionLoader* fontCollectionLoader)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateFontFileReference([In, Buffer] const wchar_t* filePath,[In, Optional] const FILETIME* lastWriteTime,[Out, Fast] IDWriteFontFile** fontFile)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateCustomFontFileReference([In, Buffer] const void* fontFileReferenceKey,[In] unsigned int fontFileReferenceKeySize,[In] IDWriteFontFileLoader* fontFileLoader,[Out, Fast] IDWriteFontFile** fontFile)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateFontFace([In] DWRITE_FONT_FACE_TYPE fontFaceType,[In] unsigned int numberOfFiles,[In, Buffer] const IDWriteFontFile** fontFiles,[In] unsigned int faceIndex,[In] DWRITE_FONT_SIMULATIONS fontFaceSimulationFlags,[Out, Fast] IDWriteFontFace** fontFace)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateFontFace([In] DWRITE_FONT_FACE_TYPE fontFaceType,[In] unsigned int numberOfFiles,[In, Buffer] const IDWriteFontFile** fontFiles,[In] unsigned int faceIndex,[In] DWRITE_FONT_SIMULATIONS fontFaceSimulationFlags,[Out, Fast] IDWriteFontFace** fontFace)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateRenderingParams([Out, Fast] IDWriteRenderingParams** renderingParams)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateMonitorRenderingParams([In] HMONITOR monitor,[Out, Fast] IDWriteRenderingParams** renderingParams)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateCustomRenderingParams([In] float gamma,[In] float enhancedContrast,[In] float clearTypeLevel,[In] DWRITE_PIXEL_GEOMETRY pixelGeometry,[In] DWRITE_RENDERING_MODE renderingMode,[Out, Fast] IDWriteRenderingParams** renderingParams)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::RegisterFontFileLoader([In] IDWriteFontFileLoader* fontFileLoader)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::UnregisterFontFileLoader([In] IDWriteFontFileLoader* fontFileLoader)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateTextFormat([In, Buffer] const wchar_t* fontFamilyName,[In, Optional] IDWriteFontCollection* fontCollection,[In] DWRITE_FONT_WEIGHT fontWeight,[In] DWRITE_FONT_STYLE fontStyle,[In] DWRITE_FONT_STRETCH fontStretch,[In] float fontSize,[In, Buffer] const wchar_t* localeName,[Out, Fast] IDWriteTextFormat** textFormat)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateTypography([Out, Fast] IDWriteTypography** typography)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::GetGdiInterop([Out] IDWriteGdiInterop** gdiInterop)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float maxWidth,[In] float maxHeight,[Out, Fast] IDWriteTextLayout** textLayout)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateGdiCompatibleTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float layoutWidth,[In] float layoutHeight,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] BOOL useGdiNatural,[Out, Fast] IDWriteTextLayout** textLayout)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateEllipsisTrimmingSign([In] IDWriteTextFormat* textFormat,[Out, Fast] IDWriteInlineObject** trimmingSign)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateTextAnalyzer([Out, Fast] IDWriteTextAnalyzer** textAnalyzer)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateNumberSubstitution([In] DWRITE_NUMBER_SUBSTITUTION_METHOD substitutionMethod,[In, Buffer] const wchar_t* localeName,[In] BOOL ignoreUserOverride,[Out, Fast] IDWriteNumberSubstitution** numberSubstitution)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFactory::CreateGlyphRunAnalysis([In] const DWRITE_GLYPH_RUN* glyphRun,[In] float pixelsPerDip,[In, Optional] const DWRITE_MATRIX* transform,[In] DWRITE_RENDERING_MODE renderingMode,[In] DWRITE_MEASURING_MODE measuringMode,[In] float baselineOriginX,[In] float baselineOriginY,[Out, Fast] IDWriteGlyphRunAnalysis** glyphRunAnalysis)
Default Constructor for a .
Default Constructor for a .
Registers a custom font collection loader with the factory object.
This function registers a font collection loader with DirectWrite. The font collection loader interface, which should be implemented by a singleton object, handles enumerating font files in a font collection given a particular type of key. A given instance can only be registered once. Succeeding attempts will return an error, indicating that it has already been registered. Note that font file loader implementations must not register themselves with DirectWrite inside their constructors, and must not unregister themselves inside their destructors, because registration and unregistraton operations increment and decrement the object reference count respectively. Instead, registration and unregistration with DirectWrite of font file loaders should be performed outside of the font file loader implementation.
Reference to a object to be registered.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteFactory::RegisterFontCollectionLoader([None] IDWriteFontCollectionLoader* fontCollectionLoader)
Unregisters a custom font collection loader that was previously registered using {{RegisterFontCollectionLoader}}.
Pointer to a object to be unregistered.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteFactory::UnregisterFontCollectionLoader([None] IDWriteFontCollectionLoader* fontCollectionLoader)
Registers a font file loader with DirectWrite.
This function registers a font file loader with DirectWrite. The font file loader interface, which should be implemented by a singleton object, handles loading font file resources of a particular type from a key. A given instance can only be registered once. Succeeding attempts will return an error, indicating that it has already been registered. Note that font file loader implementations must not register themselves with DirectWrite inside their constructors, and must not unregister themselves inside their destructors, because registration and unregistraton operations increment and decrement the object reference count respectively. Instead, registration and unregistration with DirectWrite of font file loaders should be performed outside of the font file loader implementation.
Pointer to a object for a particular file resource type.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteFactory::RegisterFontFileLoader([None] IDWriteFontFileLoader* fontFileLoader)
Unregisters a font file loader that was previously registered with the DirectWrite font system using {{RegisterFontFileLoader}}.
This function unregisters font file loader callbacks with the DirectWrite font system. You should implement the font file loader interface by a singleton object. Note that font file loader implementations must not register themselves with DirectWrite inside their constructors and must not unregister themselves in their destructors, because registration and unregistraton operations increment and decrement the object reference count respectively. Instead, registration and unregistration of font file loaders with DirectWrite should be performed outside of the font file loader implementation.
Pointer to the file loader that was previously registered with the DirectWrite font system using {{RegisterFontFileLoader}}.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT IDWriteFactory::UnregisterFontFileLoader([None] IDWriteFontFileLoader* fontFileLoader)
No documentation.
GetGdiInterop
HRESULT IDWriteFactory::GetGdiInterop([Out] IDWriteGdiInterop** gdiInterop)
No documentation.
IDWriteFont
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFont::GetFontFamily([Out] IDWriteFontFamily** fontFamily)
No documentation.
No documentation.
DWRITE_FONT_WEIGHT IDWriteFont::GetWeight()
No documentation.
No documentation.
DWRITE_FONT_STRETCH IDWriteFont::GetStretch()
No documentation.
No documentation.
DWRITE_FONT_STYLE IDWriteFont::GetStyle()
No documentation.
No documentation.
BOOL IDWriteFont::IsSymbolFont()
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFont::GetFaceNames([Out] IDWriteLocalizedStrings** names)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFont::GetInformationalStrings([In] DWRITE_INFORMATIONAL_STRING_ID informationalStringID,[Out] IDWriteLocalizedStrings** informationalStrings,[Out] BOOL* exists)
No documentation.
No documentation.
DWRITE_FONT_SIMULATIONS IDWriteFont::GetSimulations()
No documentation.
No documentation.
void IDWriteFont::GetMetrics([Out] DWRITE_FONT_METRICS* fontMetrics)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFont::HasCharacter([In] unsigned int unicodeValue,[Out] BOOL* exists)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFont::CreateFontFace([Out, Fast] IDWriteFontFace** fontFace)
No documentation.
GetFontFamily
HRESULT IDWriteFont::GetFontFamily([Out] IDWriteFontFamily** fontFamily)
No documentation.
GetWeight
DWRITE_FONT_WEIGHT IDWriteFont::GetWeight()
No documentation.
GetStretch
DWRITE_FONT_STRETCH IDWriteFont::GetStretch()
No documentation.
GetStyle
DWRITE_FONT_STYLE IDWriteFont::GetStyle()
No documentation.
IsSymbolFont
BOOL IDWriteFont::IsSymbolFont()
No documentation.
GetFaceNames
HRESULT IDWriteFont::GetFaceNames([Out] IDWriteLocalizedStrings** names)
No documentation.
GetSimulations
DWRITE_FONT_SIMULATIONS IDWriteFont::GetSimulations()
No documentation.
GetMetrics
void IDWriteFont::GetMetrics([Out] DWRITE_FONT_METRICS* fontMetrics)
No documentation.
IDWriteFontFamily
No documentation.
IDWriteFontList
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontList::GetFontCollection([Out] IDWriteFontCollection** fontCollection)
No documentation.
No documentation.
unsigned int IDWriteFontList::GetFontCount()
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontList::GetFont([In] unsigned int index,[Out] IDWriteFont** font)
No documentation.
GetFontCollection
HRESULT IDWriteFontList::GetFontCollection([Out] IDWriteFontCollection** fontCollection)
No documentation.
GetFontCount
unsigned int IDWriteFontList::GetFontCount()
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFamily::GetFamilyNames([Out] IDWriteLocalizedStrings** names)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFamily::GetFirstMatchingFont([In] DWRITE_FONT_WEIGHT weight,[In] DWRITE_FONT_STRETCH stretch,[In] DWRITE_FONT_STYLE style,[Out] IDWriteFont** matchingFont)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteFontFamily::GetMatchingFonts([In] DWRITE_FONT_WEIGHT weight,[In] DWRITE_FONT_STRETCH stretch,[In] DWRITE_FONT_STYLE style,[Out] IDWriteFontList** matchingFonts)
No documentation.
GetFamilyNames
HRESULT IDWriteFontFamily::GetFamilyNames([Out] IDWriteLocalizedStrings** names)
No documentation.
IDWriteGdiInterop
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGdiInterop::CreateFontFromLOGFONT([In] const void* logFont,[Out] IDWriteFont** font)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGdiInterop::ConvertFontToLOGFONT([In] IDWriteFont* font,[In] void* logFont,[Out] BOOL* isSystemFont)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGdiInterop::ConvertFontFaceToLOGFONT([In] IDWriteFontFace* font,[In] void* logFont)
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGdiInterop::CreateFontFaceFromHdc([In] HDC hdc,[Out] IDWriteFontFace** fontFace)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteGdiInterop::CreateBitmapRenderTarget([In, Optional] HDC hdc,[In] unsigned int width,[In] unsigned int height,[Out] IDWriteBitmapRenderTarget** renderTarget)
Creates a font object that matches the properties specified by the LOGFONT structure.
A structure containing a GDI-compatible font description.
a reference to a newly created .
HRESULT IDWriteGdiInterop::CreateFontFromLOGFONT([In] const LOGFONTW* logFont,[Out] IDWriteFont** font)
Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font.
The conversion to a LOGFONT by using ConvertFontToLOGFONT operates at the logical font level and does not guarantee that it will map to a specific physical font. It is not guaranteed that GDI will select the same physical font for displaying text formatted by a LOGFONT as the object that was converted.
An object to be converted into a GDI-compatible LOGFONT structure.
When this method returns, contains a structure that receives a GDI-compatible font description.
TRUE if the specified font object is part of the system font collection; otherwise, FALSE.
HRESULT IDWriteGdiInterop::ConvertFontToLOGFONT([None] IDWriteFont* font,[In] LOGFONTW* logFont,[Out] BOOL* isSystemFont)
Creates a font object that matches the properties specified by the LOGFONT structure.
A description.
a reference to a newly created .
HRESULT IDWriteGdiInterop::CreateFontFromLOGFONT([In] const LOGFONTW* logFont,[Out] IDWriteFont** font)
Convert a Direct2D to a .
a Direct2D Font
a
true if the specified font object is part of the system font collection; otherwise, false.
No documentation.
IDWriteLocalFontFileLoader
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalFontFileLoader::GetFilePathLengthFromKey([In, Buffer] const void* fontFileReferenceKey,[In] unsigned int fontFileReferenceKeySize,[Out] unsigned int* filePathLength)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalFontFileLoader::GetFilePathFromKey([In, Buffer] const void* fontFileReferenceKey,[In] unsigned int fontFileReferenceKeySize,[Out, Buffer] wchar_t* filePath,[In] unsigned int filePathSize)
No documentation.
No documentation.
No documentation.
No documentation.
HRESULT IDWriteLocalFontFileLoader::GetLastWriteTimeFromKey([In, Buffer] const void* fontFileReferenceKey,[In] unsigned int fontFileReferenceKeySize,[Out] FILETIME* lastWriteTime)
No documentation.
IDWriteNumberSubstitution
Initializes a new instance of the class.
The native pointer.
Creates a number substitution object using a locale name, substitution method, and an indicator whether to ignore user overrides (use NLS defaults for the given culture instead).
A reference to a DirectWrite factory
A value that specifies how to apply number substitution on digits and related punctuation.
The name of the locale to be used in the numberSubstitution object.
A Boolean flag that indicates whether to ignore user overrides.
HRESULT IDWriteFactory::CreateNumberSubstitution([In] DWRITE_NUMBER_SUBSTITUTION_METHOD substitutionMethod,[In] const wchar_t* localeName,[In] BOOL ignoreUserOverride,[Out] IDWriteNumberSubstitution** numberSubstitution)
Internal FontFileLoader Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
HRESULT IDWriteFontFileLoader::CreateStreamFromKey([In, Buffer] const void* fontFileReferenceKey,[None] int fontFileReferenceKeySize,[Out] IDWriteFontFileStream** fontFileStream)
Internal FontFileEnumerator Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
Advances to the next font file in the collection. When it is first created, the enumerator is positioned before the first element of the collection and the first call to MoveNext advances to the first file.
the value TRUE if the enumerator advances to a file; otherwise, FALSE if the enumerator advances past the last file in the collection.
HRESULT IDWriteFontFileEnumerator::MoveNext([Out] BOOL* hasCurrentFile)
Gets a reference to the current font file.
a reference to the newly created object.
HRESULT IDWriteFontFileEnumerator::GetCurrentFontFile([Out] IDWriteFontFile** fontFile)
Png bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
ID2D1Mesh
Create a mesh that uses triangles to describe a shape.
To populate a mesh, use its {{Open}} method to obtain an . To draw the mesh, use the render target's {{FillMesh}} method.
an instance of
HRESULT CreateMesh([Out] ID2D1Mesh** mesh)
Create a mesh that uses triangles to describe a shape and populates it with triangles.
an instance of
An array of structures that describe the triangles to add to this mesh.
HRESULT CreateMesh([Out] ID2D1Mesh** mesh)
Opens the mesh for population.
When this method returns, contains a pointer to a pointer to an that is used to populate the mesh. This parameter is passed uninitialized.
HRESULT Open([Out] ID2D1TessellationSink** tessellationSink)
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1Mesh::Open([Out] ID2D1TessellationSink** tessellationSink)
Wmp bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
No documentation.
ID2D1GdiInteropRenderTarget
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
HRESULT ID2D1GdiInteropRenderTarget::GetDC([In] D2D1_DC_INITIALIZE_MODE mode,[Out] HDC* hdc)
No documentation.
No documentation.
No documentation.
HRESULT ID2D1GdiInteropRenderTarget::ReleaseDC([In, Optional] const RECT* update)
Indicates that drawing with the device context retrieved using the {{GetDC}} method is finished.
ReleaseDC must be called once for each call to {{GetDC}}.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
HRESULT ID2D1GdiInteropRenderTarget::ReleaseDC([In, Optional] const RECT* update)
No documentation.
ID2D1TessellationSink
Initializes a new instance of the class.
The native pointer.
No documentation.
No documentation.
No documentation.
void ID2D1TessellationSink::AddTriangles([In, Buffer] const D2D1_TRIANGLE* triangles,[In] unsigned int trianglesCount)
No documentation.
No documentation.
HRESULT ID2D1TessellationSink::Close()
Internal TextRenderer Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
HRESULT DrawGlyphRun([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[None] DWRITE_MEASURING_MODE measuringMode,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] const DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription,[None] IUnknown* clientDrawingEffect)
HRESULT DrawUnderline([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[In] const DWRITE_UNDERLINE* underline,[None] IUnknown* clientDrawingEffect)
HRESULT DrawStrikethrough([None] void* clientDrawingContext,[None] FLOAT baselineOriginX,[None] FLOAT baselineOriginY,[In] const DWRITE_STRIKETHROUGH* strikethrough,[None] IUnknown* clientDrawingEffect)
HRESULT DrawInlineObject([None] void* clientDrawingContext,[None] FLOAT originX,[None] FLOAT originY,[None] IDWriteInlineObject* inlineObject,[None] BOOL isSideways,[None] BOOL isRightToLeft,[None] IUnknown* clientDrawingEffect)
Internal TextAnalysisSink Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
HRESULT IDWriteTextAnalysisSink::SetScriptAnalysis([None] int textPosition,[None] int textLength,[In] const DWRITE_SCRIPT_ANALYSIS* scriptAnalysis)
HRESULT IDWriteTextAnalysisSink::SetLineBreakpoints([None] int textPosition,[None] int textLength,[In, Buffer] const DWRITE_LINE_BREAKPOINT* lineBreakpoints)
HRESULT IDWriteTextAnalysisSink::SetBidiLevel([None] int textPosition,[None] int textLength,[None] int explicitLevel,[None] int resolvedLevel)
HRESULT IDWriteTextAnalysisSink::SetNumberSubstitution([None] int textPosition,[None] int textLength,[None] IDWriteNumberSubstitution* numberSubstitution)
Internal FontCollectionLoader Callback
HRESULT IDWriteFontCollectionLoader::CreateEnumeratorFromKey([None] IDWriteFactory* factory,[In, Buffer] const void* collectionKey,[None] int collectionKeySize,[Out] IDWriteFontFileEnumerator** fontFileEnumerator)
Tiff bitmap encoder using initialized with default guid .
Initializes a new instance of the class.
The native PTR.
Initializes a new instance of the class.
The factory.
Initializes a new instance of the class.
The factory.
The GUID vendor ref.
Internal TextAnalysisSource Callback
Return a pointer to the unamanged version of this callback.
The callback.
A pointer to a shadow c++ callback
HRESULT IDWriteTextAnalysisSource::GetTextAtPosition([None] int textPosition,[Out] const wchar_t** textString,[Out] int* textLength)
HRESULT IDWriteTextAnalysisSource::GetTextBeforePosition([None] int textPosition,[Out] const wchar_t** textString,[Out] int* textLength)
DWRITE_READING_DIRECTION IDWriteTextAnalysisSource::GetParagraphReadingDirection()
HRESULT IDWriteTextAnalysisSource::GetLocaleName([None] int textPosition,[Out] int* textLength,[Out] const wchar_t** localeName)
HRESULT IDWriteTextAnalysisSource::GetNumberSubstitution([None] int textPosition,[Out] int* textLength,[Out] IDWriteNumberSubstitution** numberSubstitution)