System::Drawing::Graphics::DrawImage 方法

内容
[ ]

Graphics::DrawImage(const SharedPtr<Image>&, const ArrayPtr<Point>&, Rectangle, GraphicsUnit) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const ArrayPtr<Point> &destPoints, Rectangle srcRect, GraphicsUnit srcUnit)

另见

Graphics::DrawImage(const SharedPtr<Image>&, const ArrayPtr<Point>&, Rectangle, GraphicsUnit, const SharedPtr<Imaging::ImageAttributes>&) method

在指定位置绘制指定图像的指定区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const ArrayPtr<Point> &destPoints, Rectangle srcRect, GraphicsUnit srcUnit, const SharedPtr<Imaging::ImageAttributes> &imageAttr)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destPointsconst ArrayPtr<Point>&一个包含三个点的数组,这三个点定义了绘图表面上的平行四边形,用于绘制图像
srcRect矩形定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位
imageAttrconst SharedPtr<Imaging::ImageAttributes>&指定图像的着色和伽马信息

另见

Graphics::DrawImage(const SharedPtr<Image>&, const ArrayPtr<PointF>&) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const ArrayPtr<PointF> &destPoints)

另见

Graphics::DrawImage(const SharedPtr<Image>&, const ArrayPtr<PointF>&, RectangleF, GraphicsUnit) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const ArrayPtr<PointF> &destPoints, RectangleF srcRect, GraphicsUnit srcUnit)

另见

Graphics::DrawImage(const SharedPtr<Image>&, const Rectangle&) method

在指定位置绘制指定的图像。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const Rectangle &rect)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
rectconst Rectangle&绘制图像的目标矩形

另见

Graphics::DrawImage(const SharedPtr<Image>&, const RectangleF&) method

在指定位置绘制指定的图像。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const RectangleF &rect)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
rectconst RectangleF&绘制图像的目标矩形

另见

Graphics::DrawImage(const SharedPtr<Image>&, const System::ArrayPtr<Point>&) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const System::ArrayPtr<Point> &destPoints)
ParameterType描述
imageconst SharedPtr<Image>&IGNORED
destPointsconst System::ArrayPtr<Point>&IGNORED

另见

Graphics::DrawImage(const SharedPtr<Image>&, const System::ArrayPtr<PointF>&, const RectangleF&, GraphicsUnit, const Imaging::ImageAttributesPtr&) method

在指定位置绘制指定图像的指定区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const System::ArrayPtr<PointF> &destPoints, const RectangleF &srcRect, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destPointsconst System::ArrayPtr<PointF>&一个包含三个点的数组,这三个点定义了绘图表面上的平行四边形,用于绘制图像
srcRectconst RectangleF&定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位
imgAttributesconst Imaging::ImageAttributesPtr&指定图像的着色和伽马信息

另见

Graphics::DrawImage(const SharedPtr<Image>&, const System::Details::ArrayView<PointF>&, const RectangleF&, GraphicsUnit, const Imaging::ImageAttributesPtr&) method

在指定位置绘制指定图像的指定区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const System::Details::ArrayView<PointF> &destPoints, const RectangleF &srcRect, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destPointsconst System::Details::ArrayView<PointF>&包含三个点的数组视图,这些点定义了绘图表面上用于绘制图像的平行四边形
srcRectconst RectangleF&定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位
imgAttributesconst Imaging::ImageAttributesPtr&指定图像的着色和伽马信息

另见

Graphics::DrawImage(const SharedPtr<Image>&, const System::Details::StackArray<PointF, N>&, const RectangleF&, GraphicsUnit, const Imaging::ImageAttributesPtr&) method

在指定位置绘制指定图像的指定区域。

template<std::size_t> void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const System::Details::StackArray<PointF, N> &destPoints, const RectangleF &srcRect, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destPointsconst System::Details::StackArray<PointF, N>&包含三个点的堆栈数组,这些点定义了绘图表面上用于绘制图像的平行四边形
srcRectconst RectangleF&定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位
imgAttributesconst Imaging::ImageAttributesPtr&指定图像的着色和伽马信息

另见

Graphics::DrawImage(const SharedPtr<Image>&, float, float) method

在指定位置绘制指定的图像。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, float x, float y)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
x单精度浮点数绘制图像左上角的 X 坐标
y单精度浮点数绘制图像左上角的 Y 坐标

另见

Graphics::DrawImage(const SharedPtr<Image>&, float, float, float, float) method

将指定的图像绘制到指定的矩形区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, float x, float y, float width, float height)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
x单精度浮点数绘制图像的目标矩形左上角的 X 坐标
y单精度浮点数绘制图像的目标矩形左上角的 Y 坐标
width单精度浮点数绘制图像的目标矩形的宽度
height单精度浮点数绘制图像的目标矩形的高度

另见

Graphics::DrawImage(const SharedPtr<Image>&, float, float, RectangleF, GraphicsUnit) method

在指定位置绘制指定图像的指定区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, float x, float y, RectangleF srcRect, GraphicsUnit srcUnit)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
x单精度浮点数绘制图像的目标矩形左上角的 X 坐标
y单精度浮点数绘制图像的目标矩形左上角的 Y 坐标
srcRectRectangleF定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位

另见

Graphics::DrawImage(const SharedPtr<Image>&, int, int) method

在指定位置绘制指定的图像。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, int x, int y)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
xint绘制图像左上角的 X 坐标
yint绘制图像左上角的 Y 坐标

另见

Graphics::DrawImage(const SharedPtr<Image>&, int, int, int, int) method

将指定的图像绘制到指定的矩形区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, int x, int y, int width, int height)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
xint绘制图像的目标矩形左上角的 X 坐标
yint绘制图像的目标矩形左上角的 Y 坐标
widthint绘制图像的目标矩形的宽度
heightint绘制图像的目标矩形的高度

另见

Graphics::DrawImage(const SharedPtr<Image>&, int, int, Rectangle, GraphicsUnit) method

在指定位置绘制指定图像的指定区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, int x, int y, Rectangle srcRect, GraphicsUnit srcUnit)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
xint绘制图像的目标矩形左上角的 X 坐标
yint绘制图像的目标矩形左上角的 Y 坐标
srcRect矩形定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位

另见

Graphics::DrawImage(const SharedPtr<Image>&, Point) method

在指定位置绘制指定的图像。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Point pt)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
ptPoint已绘制图像左上角的位置

另见

Graphics::DrawImage(const SharedPtr<Image>&, PointF) method

在指定位置绘制指定的图像。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, PointF pt)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
ptPointF已绘制图像左上角的位置

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, float, float, float, float, GraphicsUnit) method

将指定图像的指定区域绘制到指定的矩形区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destRect矩形绘制图像的目标矩形
srcX单精度浮点数指定要绘制的图像部分的矩形左上角的 X 坐标
srcY单精度浮点数指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidth单精度浮点数指定要绘制的图像部分的矩形左上角的宽度
srcHeight单精度浮点数指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcXsrcYsrcWidthsrcHeight 所使用的测量单位

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, float, float, float, float, GraphicsUnit, const Imaging::ImageAttributesPtr&) method

将指定图像的指定区域绘制到指定的矩形区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destRect矩形绘制图像的目标矩形
srcX单精度浮点数指定要绘制的图像部分的矩形左上角的 X 坐标
srcY单精度浮点数指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidth单精度浮点数指定要绘制的图像部分的矩形左上角的宽度
srcHeight单精度浮点数指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcXsrcYsrcWidthsrcHeight 所使用的测量单位
imgAttributesconst Imaging::ImageAttributesPtr&指定图像的着色和伽马信息

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, float, float, float, float, GraphicsUnit, const Imaging::ImageAttributesPtr&, Graphics::DrawImageAbort) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes, Graphics::DrawImageAbort callback)

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, float, float, float, float, GraphicsUnit, const Imaging::ImageAttributesPtr&, Graphics::DrawImageAbort, IntPtr) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes, Graphics::DrawImageAbort callback, IntPtr callbackData)

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, int, int, int, int, GraphicsUnit) method

将指定图像的指定区域绘制到指定的矩形区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destRect矩形绘制图像的目标矩形
srcXint指定要绘制的图像部分的矩形左上角的 X 坐标
srcYint指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidthint指定要绘制的图像部分的矩形左上角的宽度
srcHeightint指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcXsrcYsrcWidthsrcHeight 所使用的测量单位

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, int, int, int, int, GraphicsUnit, const Imaging::ImageAttributesPtr&) method

将指定图像的指定区域绘制到指定的矩形区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destRect矩形绘制图像的目标矩形
srcXint指定要绘制的图像部分的矩形左上角的 X 坐标
srcYint指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidthint指定要绘制的图像部分的矩形左上角的宽度
srcHeightint指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcXsrcYsrcWidthsrcHeight 所使用的测量单位
imgAttributesconst Imaging::ImageAttributesPtr&指定图像的着色和伽马信息

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, int, int, int, int, GraphicsUnit, const Imaging::ImageAttributesPtr&, Graphics::DrawImageAbort) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes, Graphics::DrawImageAbort callback)

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, int, int, int, int, GraphicsUnit, const Imaging::ImageAttributesPtr&, Graphics::DrawImageAbort, IntPtr) method

未实现。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes, Graphics::DrawImageAbort callback, IntPtr callbackData)

另见

Graphics::DrawImage(const SharedPtr<Image>&, Rectangle, Rectangle, GraphicsUnit) method

在指定位置绘制指定图像的指定区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destRect矩形绘制图像的目标矩形
srcRect矩形定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位

另见

Graphics::DrawImage(const SharedPtr<Image>&, RectangleF, RectangleF, GraphicsUnit) method

在指定位置绘制指定图像的指定区域。

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit)
ParameterType描述
imageconst SharedPtr<Image>&要绘制的图像
destRectRectangleF绘制图像的目标矩形
srcRectRectangleF定义要绘制的指定图像区域的矩形
srcUnitGraphicsUnitsrcRect 参数使用的测量单位

另见