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)
参数类型描述
图像const 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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
rectconst Rectangle&用于绘制图像的矩形。

另见

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

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

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, const RectangleF &rect)
参数类型描述
图像const 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)
参数类型描述
图像const 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)
参数类型描述
图像const 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)
参数类型描述
图像const 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)
参数类型描述
图像const 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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
xfloat已绘制图像左上角的 X 坐标
yfloat已绘制图像左上角的 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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
xfloat绘制图像的矩形左上角的 X 坐标。
yfloat绘制图像的矩形左上角的 Y 坐标。
widthfloat绘制图像的矩形的宽度。
heightfloat绘制图像的矩形的高度。

另见

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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
xfloat绘制图像的矩形左上角的 X 坐标。
yfloat绘制图像的矩形左上角的 Y 坐标。
srcRectRectangleF一个矩形,定义了要绘制的指定图像的区域。
srcUnitGraphicsUnitsrcRect 参数使用的测量单位。

另见

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

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

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, int x, int y)
参数类型描述
图像const 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)
参数类型描述
图像const 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)
参数类型描述
图像const 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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
ptPoint绘制图像左上角的位置

另见

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

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

void System::Drawing::Graphics::DrawImage(const SharedPtr<Image> &image, PointF pt)
参数类型描述
图像const 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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
destRect矩形用于绘制图像的矩形。
srcXfloat指定要绘制的图像部分的矩形左上角的 X 坐标
srcYfloat指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidthfloat指定要绘制的图像部分的矩形左上角的宽度
srcHeightfloat指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcX, srcY, srcWidthsrcHeight 所使用的测量单位

另见

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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
destRect矩形用于绘制图像的矩形。
srcXfloat指定要绘制的图像部分的矩形左上角的 X 坐标
srcYfloat指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidthfloat指定要绘制的图像部分的矩形左上角的宽度
srcHeightfloat指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcX, srcY, srcWidthsrcHeight 所使用的测量单位
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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
destRect矩形用于绘制图像的矩形。
srcXint指定要绘制的图像部分的矩形左上角的 X 坐标
srcYint指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidthint指定要绘制的图像部分的矩形左上角的宽度
srcHeightint指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcX, srcY, srcWidthsrcHeight 所使用的测量单位

另见

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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
destRect矩形用于绘制图像的矩形。
srcXint指定要绘制的图像部分的矩形左上角的 X 坐标
srcYint指定要绘制的图像部分的矩形左上角的 Y 坐标
srcWidthint指定要绘制的图像部分的矩形左上角的宽度
srcHeightint指定要绘制的图像部分的矩形左上角的高度
srcUnitGraphicsUnit参数 srcX, srcY, srcWidthsrcHeight 所使用的测量单位
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)
参数类型描述
图像const 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)
参数类型描述
图像const SharedPtr<Image>&要绘制的图像
destRectRectangleF用于绘制图像的矩形。
srcRectRectangleF一个矩形,定义了要绘制的指定图像的区域。
srcUnitGraphicsUnitsrcRect 参数使用的测量单位。

另见