Represents a drawing surface. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
#include <graphics.h>
Inherits System::Object.
Public Types | |
using | EnumerateMetafileProc = MulticastDelegate<bool(Imaging::EmfPlusRecordType, int32_t, int32_t, IntPtr, Imaging::PlayRecordCallback)> |
The type of a callback fuction object used as an argument for EnumerateMetafile method. | |
using | DrawImageAbort = std::function<bool(IntPtr ptr)> |
The type of a callback fuction object used as an argument for DrawImage method. | |
Public Types inherited from System::Object | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. | |
Public Member Functions | |
ASPOSECPP_SHARED_API Drawing2D::CompositingMode | get_CompositingMode () |
Returns a value that indicates how composited images are drawn on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | set_CompositingMode (Drawing2D::CompositingMode mode) |
Sets a value that specifies how composited images are drawn on the surface represented by the current object. | |
ASPOSECPP_SHARED_API Drawing2D::CompositingQuality | get_CompositingQuality () |
Returns a value that indicates the quality level used when compositing images. | |
ASPOSECPP_SHARED_API void | set_CompositingQuality (Drawing2D::CompositingQuality quality) |
Sets a value that specifies the quality level to use when compositing images. | |
ASPOSECPP_SHARED_API Drawing2D::InterpolationMode | get_InterpolationMode () |
Returns a value that indicates the interpolation mode associated with the current object. | |
ASPOSECPP_SHARED_API void | set_InterpolationMode (Drawing2D::InterpolationMode mode) |
Sets a value that indicates the interpolation mode associated with the current object. | |
ASPOSECPP_SHARED_API Drawing2D::PixelOffsetMode | get_PixelOffsetMode () |
Returns a value that indicates how the pixels are offset during rendering on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | set_PixelOffsetMode (Drawing2D::PixelOffsetMode mode) |
Sets a value that specifies how the pixels should be offset during rendering on the surface represented by the current object. | |
ASPOSECPP_SHARED_API Drawing2D::SmoothingMode | get_SmoothingMode () |
Returns a value that indicates a soothing mode used during rendering on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | set_SmoothingMode (Drawing2D::SmoothingMode mode) |
Sets a value that specifies a soothing mode used during rendering on the surface represented by the current object. | |
ASPOSECPP_SHARED_API Text::TextRenderingHint | get_TextRenderingHint () |
Returns a value that indicates the quality of text rendering. | |
ASPOSECPP_SHARED_API void | set_TextRenderingHint (Text::TextRenderingHint hint) |
Sets a value that specifies the quality of text rendering. | |
ASPOSECPP_SHARED_API GraphicsUnit | get_PageUnit () const |
Returns measurement units used for page coordinates on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | set_PageUnit (GraphicsUnit value) |
Sets measurement units used for page coordinates on the surface represented by the current object. | |
ASPOSECPP_SHARED_API RectangleF | get_ClipBounds () const |
Returns a rectangle that bounds the clipping area of the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | Clear (Color color) |
Clears the drawing surface represented by the current object and fills it with the specified color. | |
ASPOSECPP_SHARED_API void | DrawArc (const SharedPtr< Pen > &pen, int32_t x, int32_t y, int32_t width, int32_t height, int32_t startAngle, int32_t sweepAngle) |
Draws the specified arc using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawArc (const SharedPtr< Pen > &pen, float x, float y, float width, float height, float startAngle, float sweepAngle) |
Draws the specified arc using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawArc (const SharedPtr< Pen > &pen, Rectangle rect, float startAngle, float sweepAngle) |
Draws the specified arc using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawArc (const SharedPtr< Pen > &pen, RectangleF rect, float startAngle, float sweepAngle) |
Draws the specified arc using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawPie (const SharedPtr< Pen > &pen, int32_t x, int32_t y, int32_t width, int32_t height, int32_t startAngle, int32_t sweepAngle) |
Draws the specified pie using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawPie (const SharedPtr< Pen > &pen, float x, float y, float width, float height, float startAngle, float sweepAngle) |
Draws the specified pie using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawPie (const SharedPtr< Pen > &pen, Rectangle rect, float startAngle, float sweepAngle) |
Draws the specified pie using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawPie (const SharedPtr< Pen > &pen, RectangleF rect, float startAngle, float sweepAngle) |
Draws the specified pie using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | FillPie (const SharedPtr< Brush > &brush, int x, int y, int width, int height, int startAngle, int sweepAngle) |
Fills the specified pie using the specified brush on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | FillPie (const SharedPtr< Brush > &brush, float x, float y, float width, float height, float startAngle, float sweepAngle) |
Fills the specified pie using the specified brush on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | FillPie (const SharedPtr< Brush > &brush, Rectangle rect, float startAngle, float sweepAngle) |
Fills the specified pie using the specified brush on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawRectangle (const SharedPtr< Pen > &pen, int x, int y, int width, int height) |
Draws the specified rectangle using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawRectangle (const SharedPtr< Pen > &pen, float x, float y, float width, float height) |
Draws the specified rectangle using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawRectangle (const SharedPtr< Pen > &pen, Rectangle rect) |
Draws the specified rectangle using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawRectangles (const SharedPtr< Pen > &pen, const ArrayPtr< Rectangle > &rects) |
Draws a series of rectangles using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawRectangles (const SharedPtr< Pen > &pen, const ArrayPtr< RectangleF > &rects) |
Draws a series of rectangles using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawPolygon (const SharedPtr< Pen > &pen, const ArrayPtr< Point > &points) |
Draws a polygon using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawPolygon (const SharedPtr< Pen > &pen, const ArrayPtr< PointF > &points) |
Draws a polygon using the specified pen. | |
ASPOSECPP_SHARED_API void | FillRectangle (const SharedPtr< Brush > &brush, float x, float y, float width, float height) |
Fills the specified rectangle with the specified brush. | |
ASPOSECPP_SHARED_API void | FillRectangle (const SharedPtr< Brush > &brush, int x, int y, int width, int height) |
Fills the specified rectangle with the specified brush. | |
ASPOSECPP_SHARED_API void | FillRectangle (const SharedPtr< Brush > &brush, Rectangle rect) |
Fills the specified rectangle with the specified brush. | |
ASPOSECPP_SHARED_API void | FillRectangle (const SharedPtr< Brush > &brush, RectangleF rect) |
Fills the specified rectangle with the specified brush. | |
ASPOSECPP_SHARED_API void | FillRectangles (const SharedPtr< Brush > &brush, const ArrayPtr< Rectangle > &rects) |
Fills a series of rectangles using the specified brush. | |
ASPOSECPP_SHARED_API void | FillRectangles (const SharedPtr< Brush > &brush, const ArrayPtr< RectangleF > &rects) |
Fills a series of rectangles using the specified brush. | |
ASPOSECPP_SHARED_API void | DrawEllipse (const SharedPtr< Pen > &pen, Rectangle rect) |
Draws the specified ellipse using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawEllipse (const SharedPtr< Pen > &pen, RectangleF rect) |
Draws the specified ellipse using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawEllipse (const SharedPtr< Pen > &pen, int x, int y, int width, int height) |
Draws the specified ellipse using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawEllipse (const SharedPtr< Pen > &pen, float x, float y, float width, float height) |
Draws the specified ellipse using the specified pen on the surface represented by the current object. | |
ASPOSECPP_SHARED_API void | DrawString (const String &str, const SharedPtr< Font > &font, const SharedPtr< Brush > &brush, PointF topLeft, const System::SharedPtr< System::Drawing::StringFormat > &stringFormat=nullptr) |
Draws the specified string at the specified location using the specified font and brush. | |
ASPOSECPP_SHARED_API void | DrawString (const String &str, const SharedPtr< Font > &font, const SharedPtr< Brush > &brush, RectangleF layoutRectangle, const System::SharedPtr< System::Drawing::StringFormat > &stringFormat=nullptr) |
Draws the specified string in the specified rectangle using the specified font and brush. | |
ASPOSECPP_SHARED_API void | DrawString (const String &str, const SharedPtr< Font > &font, const SharedPtr< Brush > &brush, float x, float y, const System::SharedPtr< System::Drawing::StringFormat > &stringFormat=nullptr) |
Draws the specified string at the specified location using the specified font and brush. | |
ASPOSECPP_SHARED_API void | FillEllipse (const SharedPtr< Brush > &brush, Rectangle rect) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush. | |
ASPOSECPP_SHARED_API void | FillEllipse (const SharedPtr< Brush > &brush, RectangleF rect) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush. | |
ASPOSECPP_SHARED_API void | FillEllipse (const SharedPtr< Brush > &brush, int x, int y, int width, int height) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush. | |
ASPOSECPP_SHARED_API void | FillEllipse (const SharedPtr< Brush > &brush, float x, float y, float width, float height) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush. | |
ASPOSECPP_SHARED_API void | FillPath (const SharedPtr< Brush > &brush, const SharedPtr< Drawing2D::GraphicsPath > &path) |
Fills the interiors of the specified path using the specified brush. | |
ASPOSECPP_SHARED_API void | FillRegion (const SharedPtr< Brush > &brush, const SharedPtr< Region > ®ion) |
Fills the interiors of the specified region using the specified brush. | |
ASPOSECPP_SHARED_API void | FillPolygon (const SharedPtr< Brush > &brush, const ArrayPtr< Point > &points, Drawing2D::FillMode fillMode=Drawing2D::FillMode::Alternate) |
Fills the interiors of the specified polygon using the specified brush. | |
ASPOSECPP_SHARED_API void | FillPolygon (const SharedPtr< Brush > &brush, const ArrayPtr< PointF > &points, Drawing2D::FillMode fillMode=Drawing2D::FillMode::Alternate) |
Fills the interiors of the specified polygon using the specified brush. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const System::ArrayPtr< Point > &destPoints) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const System::ArrayPtr< PointF > &destPoints, const RectangleF &srcRect, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes) |
Draws the specified region of the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const System::Details::ArrayView< PointF > &destPoints, const RectangleF &srcRect, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes) |
Draws the specified region of the specified image at the specified location. | |
template<std::size_t N> | |
void | DrawImage (const SharedPtr< Image > &image, const System::Details::StackArray< PointF, N > &destPoints, const RectangleF &srcRect, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes) |
Draws the specified region of the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, int x, int y) |
Draws the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, float x, float y) |
Draws the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Point pt) |
Draws the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, PointF pt) |
Draws the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, int x, int y, int width, int height) |
Draws the specified image to the specified rectangle. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, float x, float y, float width, float height) |
Draws the specified image to the specified rectangle. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit) |
Draws the specified region of the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit) |
Draws the specified region of the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, int x, int y, Rectangle srcRect, GraphicsUnit srcUnit) |
Draws the specified region of the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const Rectangle &rect) |
Draws the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const RectangleF &rect) |
Draws the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes) |
Draws the specified region of the specified image to the specified rectangle. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes) |
Draws the specified region of the specified image to the specified rectangle. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit) |
Draws the specified region of the specified image to the specified rectangle. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit) |
Draws the specified region of the specified image to the specified rectangle. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes, Graphics::DrawImageAbort callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, GraphicsUnit srcUnit, const Imaging::ImageAttributesPtr &imgAttributes, Graphics::DrawImageAbort callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | 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) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | 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) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const ArrayPtr< PointF > &destPoints, RectangleF srcRect, GraphicsUnit srcUnit) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const ArrayPtr< PointF > &destPoints) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const ArrayPtr< Point > &destPoints, Rectangle srcRect, GraphicsUnit srcUnit) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, const ArrayPtr< Point > &destPoints, Rectangle srcRect, GraphicsUnit srcUnit, const SharedPtr< Imaging::ImageAttributes > &imageAttr) |
Draws the specified region of the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImage (const SharedPtr< Image > &image, float x, float y, RectangleF srcRect, GraphicsUnit srcUnit) |
Draws the specified region of the specified image at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImageUnscaled (const SharedPtr< Image > &image, int x, int y) |
Draws the specified image using its original physical size at the specified location. | |
ASPOSECPP_SHARED_API void | DrawImageUnscaled (const SharedPtr< Image > &image, int x, int y, int width, int height) |
Draws a specified image using its original physical size at a specified location. | |
ASPOSECPP_SHARED_API void | DrawImageUnscaled (const SharedPtr< Image > &image, const Rectangle &rect) |
Draws a specified image using its original physical size at a specified location. | |
ASPOSECPP_SHARED_API void | DrawImageUnscaled (const SharedPtr< Image > &image, const Point &point) |
Draws a specified image using its original physical size at a specified location. | |
ASPOSECPP_SHARED_API void | DrawLine (const SharedPtr< Pen > &pen, Point pt1, Point pt2) |
Draws the specified line using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawLine (const SharedPtr< Pen > &pen, PointF pt1, PointF pt2) |
Draws the specified line using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawLine (const SharedPtr< Pen > &pen, int x1, int y1, int x2, int y2) |
Draws the specified line using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawLine (const SharedPtr< Pen > &pen, float x1, float y1, float x2, float y2) |
Draws the specified line using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawIcon (const SharedPtr< Icon > &icon, Rectangle targetRect) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawIcon (const SharedPtr< Icon > &icon, int32_t x, int32_t y) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawIconUnstretched (const SharedPtr< Icon > &icon, Rectangle targetRect) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawImageUnscaledAndClipped (const SharedPtr< Image > &image, Rectangle rectangle) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API ArrayPtr< SharedPtr< Region > > | MeasureCharacterRanges (const System::String &text, const SharedPtr< Font > &font, RectangleF layoutRect, const SharedPtr< StringFormat > &stringFormat) |
Returns an array of regions each of which bounds character positions in the specified string. | |
ASPOSECPP_SHARED_API SizeF | MeasureString (String const &str, System::SharedPtr< Font > const &font, PointF const &origin=PointF(0, 0), System::SharedPtr< StringFormat > const &stringFormat=nullptr) const |
Returns a size of the specified string when drawn in the specified font in the specified format. | |
ASPOSECPP_SHARED_API SizeF | MeasureString (String const &str, System::SharedPtr< Font > const &font, int width, System::SharedPtr< StringFormat > const &stringFormat=nullptr) const |
Returns a size of the specified string when drawn in the specified font in the specified format. | |
ASPOSECPP_SHARED_API SizeF | MeasureString (String const &str, System::SharedPtr< Font > const &font, SizeF const &layoutArea, System::SharedPtr< StringFormat > const &stringFormat, int &charactersFitted, int &linesFilled) const |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API SizeF | MeasureString (String const &str, System::SharedPtr< Font > const &font, SizeF const &layoutArea, System::SharedPtr< StringFormat > const &stringFormat=nullptr) const |
Returns a size of the specified string when drawn in the specified font in the specified format. | |
ASPOSECPP_SHARED_API IntPtr | GetHdc () |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | ReleaseHdc () |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | ReleaseHdc (IntPtr hdc) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API float | get_PageScale () const |
Returns the scaling between world units and page units for the current Graphics object. | |
ASPOSECPP_SHARED_API void | set_PageScale (float scale) |
Sets the scaling between world units and page units for the current Graphics object. | |
ASPOSECPP_SHARED_API Point | get_RenderingOrigin () const |
Returns a Point object that represents the rendering origin of the current Graphics object for dithering and for hatch brushes. | |
ASPOSECPP_SHARED_API void | set_RenderingOrigin (Point point) |
Sets a Point object that specifies the rendering origin of the current Graphics object for dithering and for hatch brushes. | |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::Matrix > | get_Transform () |
Returns the geometric world transformation for the current Graphics object. | |
ASPOSECPP_SHARED_API void | set_Transform (const SharedPtr< Drawing2D::Matrix > &matrix) |
Sets the geometric world transformation for the current Graphics object. | |
ASPOSECPP_SHARED_API float | get_DpiX () |
Returns the horizontal resolution. | |
ASPOSECPP_SHARED_API float | get_DpiY () |
Returns the vertical resolution. | |
ASPOSECPP_SHARED_API SharedPtr< Region > | get_Clip () |
Returns a Region object that represents a region that limits the drawing area of the drawing surface represented by the current Graphics object. | |
ASPOSECPP_SHARED_API void | set_Clip (const SharedPtr< Region > ®ion) |
Sets a region that limits the drawing area of the drawing surface represented by the current. | |
ASPOSECPP_SHARED_API void | SetClip (const SharedPtr< Region > ®ion, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region. | |
ASPOSECPP_SHARED_API void | SetClip (Rectangle rect, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region. | |
ASPOSECPP_SHARED_API void | SetClip (RectangleF rect, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region. | |
ASPOSECPP_SHARED_API void | SetClip (const SharedPtr< Graphics > &graphics, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | SetClip (const SharedPtr< Drawing2D::GraphicsPath > &path, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the region specified by a graphics path. | |
ASPOSECPP_SHARED_API void | ExcludeClip (Rectangle rect) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | ExcludeClip (const SharedPtr< Region > ®ion) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | ResetClip () |
Resets the clip region for this graphics to an infinite region. | |
ASPOSECPP_SHARED_API void | DrawPath (const SharedPtr< Pen > &pen, const SharedPtr< Drawing2D::GraphicsPath > &path) |
Draws the specified path using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawLines (const SharedPtr< Pen > &pen, const System::ArrayPtr< System::Drawing::Point > &points) |
Draws a series of line segments using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawLines (const SharedPtr< Pen > &pen, const System::ArrayPtr< System::Drawing::PointF > &points) |
Draws a series of line segments using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawBezier (const SharedPtr< Pen > &pen, const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawBezier (const SharedPtr< Pen > &pen, const PointF &pt1, const PointF &pt2, const PointF &pt3, const PointF &pt4) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawBezier (const SharedPtr< Pen > &pen, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | DrawBeziers (const SharedPtr< Pen > &pen, const ArrayPtr< Point > &points) |
Draws a series of Bezier splines using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawBeziers (const SharedPtr< Pen > &pen, const ArrayPtr< PointF > &points) |
Draws a series of Bezier splines using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawClosedCurve (const SharedPtr< Pen > &pen, const ArrayPtr< Point > &points, float tension=0.5f, Drawing2D::FillMode fillmode=Drawing2D::FillMode::Alternate) |
Draws a closed spline using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawClosedCurve (const SharedPtr< Pen > &pen, const ArrayPtr< PointF > &points, float tension=0.5f, Drawing2D::FillMode fillmode=Drawing2D::FillMode::Alternate) |
Draws a closed spline using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawCurve (const SharedPtr< Pen > &pen, const ArrayPtr< Point > &points, float tension=0.5f) |
Draws a spline using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawCurve (const SharedPtr< Pen > &pen, const ArrayPtr< PointF > &points, float tension=0.5f) |
Draws a spline using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawCurve (const SharedPtr< Pen > &pen, const ArrayPtr< Point > &points, int32_t offset, int32_t numberOfSegments, float tension=0.5f) |
Draws a spline using the specified pen. | |
ASPOSECPP_SHARED_API void | DrawCurve (const SharedPtr< Pen > &pen, const ArrayPtr< PointF > &points, int32_t offset, int32_t numberOfSegments, float tension=0.5f) |
Draws a spline using the specified pen. | |
ASPOSECPP_SHARED_API void | FillClosedCurve (const SharedPtr< Brush > &brush, const ArrayPtr< PointF > &points, Drawing2D::FillMode fillmode=Drawing2D::FillMode::Alternate, float tension=0.5f) |
Draws a closed spline using the specified brush. | |
ASPOSECPP_SHARED_API void | FillClosedCurve (const SharedPtr< Brush > &brush, const ArrayPtr< Point > &points, Drawing2D::FillMode fillmode=Drawing2D::FillMode::Alternate, float tension=0.5f) |
Draws a closed spline using the specified brush. | |
ASPOSECPP_SHARED_API void | ResetTransform () |
Resets the world transformation matrix of the current object so that it becomes an identity matrix. | |
ASPOSECPP_SHARED_API void | ScaleTransform (float sx, float sy, Drawing2D::MatrixOrder order=Drawing2D::MatrixOrder::Prepend) |
Applies the specified scale vector to the world transformation matrix of the current object. | |
ASPOSECPP_SHARED_API void | RotateTransform (float angle, Drawing2D::MatrixOrder order=Drawing2D::MatrixOrder::Prepend) |
Applies the specified rotation to the world transformation matrix of the current Graphics object in the specified order. | |
ASPOSECPP_SHARED_API void | TranslateTransform (float dx, float dy, Drawing2D::MatrixOrder order=Drawing2D::MatrixOrder::Prepend) |
Applies the specified translation vector to the world transformation matrix of the current Graphics object. | |
ASPOSECPP_SHARED_API void | MultiplyTransform (const SharedPtr< Drawing2D::Matrix > &matrix, Drawing2D::MatrixOrder order=Drawing2D::MatrixOrder::Prepend) |
Multiplies the world transformation matrix of the current Graphics object by the specified matrix. | |
ASPOSECPP_SHARED_API void | TranslateClip (int dx, int dy) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | TranslateClip (float dx, float dy) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | TransformPoints (Drawing2D::CoordinateSpace destSpace, Drawing2D::CoordinateSpace srcSpace, const ArrayPtr< System::Drawing::Point > &pts) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | TransformPoints (Drawing2D::CoordinateSpace destSpace, Drawing2D::CoordinateSpace srcSpace, const ArrayPtr< System::Drawing::PointF > &pts) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsState > | Save () |
Saves the current state of this object and returns the saved state. | |
ASPOSECPP_SHARED_API void | Restore (const SharedPtr< Drawing2D::GraphicsState > &graphicsState) |
Restores the state of this object from the saved state. | |
ASPOSECPP_SHARED_API void | Flush (Drawing2D::FlushIntention intention=Drawing2D::FlushIntention::Flush) |
Triggers the immediate execution of all pending draw operations. | |
ASPOSECPP_SHARED_API void | IntersectClip (const System::SharedPtr< Region > ®ion) |
Updates the clip region of this object to the intersection of the current clip and the specified clip. | |
ASPOSECPP_SHARED_API void | IntersectClip (System::Drawing::RectangleF rect) |
Updates the clip region of this object to the intersection of the current clip and the specified clip. | |
ASPOSECPP_SHARED_API void | IntersectClip (System::Drawing::Rectangle rect) |
Updates the clip region of this object to the intersection of the current clip and the specified clip. | |
ASPOSECPP_SHARED_API bool | IsVisible (Point point) |
Determines whether the specified point is contained within the visible clip region of the current Graphics object. | |
ASPOSECPP_SHARED_API bool | IsVisible (PointF point) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | IsVisible (Rectangle rect) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | IsVisible (RectangleF rect) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | IsVisible (int32_t x, int32_t y) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | IsVisible (float x, float y) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | IsVisible (float x, float y, float width, float height) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | IsVisible (int32_t x, int32_t y, int32_t width, int32_t height) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsContainer > | BeginContainer () |
Saves a container with the current state of this object, opens and uses a new container and returns the saved container. | |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsContainer > | BeginContainer (Rectangle dstrect, Rectangle srcrect, GraphicsUnit unit) |
Saves a container with the current state of this object, opens and uses a new container and returns the saved container. | |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsContainer > | BeginContainer (RectangleF dstrect, RectangleF srcrect, GraphicsUnit unit) |
Saves a container with the current state of this object, opens and uses a new container and returns the saved container. | |
ASPOSECPP_SHARED_API void | EndContainer (const SharedPtr< Drawing2D::GraphicsContainer > &container) |
Closes the current container and restores the state of this object from the state of saved container. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, const ArrayPtr< PointF > &destPoints, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, const ArrayPtr< Point > &destPoints, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, Point destPoint, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, PointF destPoint, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, Rectangle destRect, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, RectangleF destRect, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, Point destPoint, Rectangle srcRect, GraphicsUnit srcUnit, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, PointF destPoint, RectangleF srcRect, GraphicsUnit srcUnit, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, const ArrayPtr< Point > &destPoints, Rectangle srcRect, GraphicsUnit srcUnit, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, const ArrayPtr< PointF > &destPoints, RectangleF srcRect, GraphicsUnit srcUnit, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | EnumerateMetafile (const SharedPtr< Imaging::Metafile > &metafile, RectangleF destRect, RectangleF srcRect, GraphicsUnit srcUnit, Graphics::EnumerateMetafileProc callback) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | AddMetafileComment (const System::ArrayPtr< uint8_t > &data) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | CopyFromScreen (Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize, CopyPixelOperation copyPixelOperation=CopyPixelOperation::SourceCopy) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | CopyFromScreen (int32_t sourceX, int32_t sourceY, int32_t destinationX, int32_t destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation=CopyPixelOperation::SourceCopy) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API int32_t | get_TextContrast () const |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API void | set_TextContrast (int32_t value) |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | get_IsClipEmpty () const |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API bool | get_IsVisibleClipEmpty () const |
NOT IMPLEMENTED. | |
ASPOSECPP_SHARED_API RectangleF | get_VisibleClipBounds () const |
Returns the RectangleF object that represents a bounding rectangle of the visible clipping region of the current Graphics object. | |
ASPOSECPP_SHARED_API Color | GetNearestColor (Color color) |
NOT IMPLEMENTED. | |
void | Dispose () |
Releases all operating system resources acquired by the current object. | |
ASPOSECPP_SHARED_API | ~Graphics () |
ASPOSECPP_SHARED_API SkCanvas * | GetSkCanvas () const |
Public Member Functions inherited from System::Object | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. | |
Object * | SharedRefAdded () |
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. | |
int | SharedRefRemovedSafe () |
Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. | |
int | RemovedSharedRefs (int count) |
Decreases shared reference count by specified value. | |
Detail::SmartPtrCounter * | WeakRefAdded () |
Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. | |
void | WeakRefRemoved () |
Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. | |
Detail::SmartPtrCounter * | GetCounter () |
Gets reference counter data structure associated with the object. | |
int | SharedCount () const |
Gets current value of shared reference counter. | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. | |
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. | |
virtual ASPOSECPP_SHARED_API String | ToString () const |
Analog of C# Object.ToString() method. Enables converting custom objects to string. | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. | |
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. | |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
Specialization of Object::ReferenceEquals for case of string and nullptr. | |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Specialization of Object::ReferenceEquals for case of strings. | |
Static Public Member Functions | |
static ASPOSECPP_SHARED_API SharedPtr< Graphics > | FromImage (const SharedPtr< Image > &image) |
Creates a new Graphics object from the specified image. | |
static ASPOSECPP_SHARED_API SharedPtr< Graphics > | FromHwnd (IntPtr hwnd) |
NOT IMPLEMENTED. | |
static ASPOSECPP_SHARED_API SharedPtr< Graphics > | FromHwndInternal (IntPtr hwnd) |
NOT IMPLEMENTED. | |
Static Public Member Functions inherited from System::Object | |
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
Compares objects by reference. | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
Compares objects by reference. | |
template<typename T > | |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
Reference-compares value type object with nullptr. | |
template<typename T1 , typename T2 > | |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares reference type objects in C# style. | |
template<typename T1 , typename T2 > | |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
Compares value type objects in C# style. | |
static const TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. | |
template<> | |
bool | Equals (double const &objA, double const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. | |
Represents a drawing surface. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
using System::Drawing::Graphics::DrawImageAbort = std::function<bool(IntPtr ptr)> |
The type of a callback fuction object used as an argument for DrawImage method.
using System::Drawing::Graphics::EnumerateMetafileProc = MulticastDelegate<bool(Imaging::EmfPlusRecordType, int32_t, int32_t, IntPtr, Imaging::PlayRecordCallback)> |
The type of a callback fuction object used as an argument for EnumerateMetafile method.
ASPOSECPP_SHARED_API System::Drawing::Graphics::~Graphics | ( | ) |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::AddMetafileComment | ( | const System::ArrayPtr< uint8_t > & | data | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsContainer > System::Drawing::Graphics::BeginContainer | ( | ) |
Saves a container with the current state of this object, opens and uses a new container and returns the saved container.
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsContainer > System::Drawing::Graphics::BeginContainer | ( | Rectangle | dstrect, |
Rectangle | srcrect, | ||
GraphicsUnit | unit ) |
Saves a container with the current state of this object, opens and uses a new container and returns the saved container.
dstrect | The rectangle that specifies a scale transformation of the new container. Used together with srcrect |
srcrect | The rectangle that specifies a scale transformation of the new container. Used together with dstrect |
unit | The value that specifies the unit of measure of the new container |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsContainer > System::Drawing::Graphics::BeginContainer | ( | RectangleF | dstrect, |
RectangleF | srcrect, | ||
GraphicsUnit | unit ) |
Saves a container with the current state of this object, opens and uses a new container and returns the saved container.
dstrect | The rectangle that specifies a scale transformation of the new container. Used together with srcrect |
srcrect | The rectangle that specifies a scale transformation of the new container. Used together with dstrect |
unit | The value that specifies the unit of measure of the new container |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::Clear | ( | Color | color | ) |
Clears the drawing surface represented by the current object and fills it with the specified color.
color | The color to fill the surface with |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::CopyFromScreen | ( | int32_t | sourceX, |
int32_t | sourceY, | ||
int32_t | destinationX, | ||
int32_t | destinationY, | ||
Size | blockRegionSize, | ||
CopyPixelOperation | copyPixelOperation = CopyPixelOperation::SourceCopy ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::CopyFromScreen | ( | Point | upperLeftSource, |
Point | upperLeftDestination, | ||
Size | blockRegionSize, | ||
CopyPixelOperation | copyPixelOperation = CopyPixelOperation::SourceCopy ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
|
inline |
Releases all operating system resources acquired by the current object.
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawArc | ( | const SharedPtr< Pen > & | pen, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height, | ||
float | startAngle, | ||
float | sweepAngle ) |
Draws the specified arc using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the arc |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the arc |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the arc |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawArc | ( | const SharedPtr< Pen > & | pen, |
int32_t | x, | ||
int32_t | y, | ||
int32_t | width, | ||
int32_t | height, | ||
int32_t | startAngle, | ||
int32_t | sweepAngle ) |
Draws the specified arc using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the arc |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the arc |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the arc |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawArc | ( | const SharedPtr< Pen > & | pen, |
Rectangle | rect, | ||
float | startAngle, | ||
float | sweepAngle ) |
Draws the specified arc using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the arc |
rect | The rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the arc |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the arc |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawArc | ( | const SharedPtr< Pen > & | pen, |
RectangleF | rect, | ||
float | startAngle, | ||
float | sweepAngle ) |
Draws the specified arc using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the arc |
rect | The rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the arc |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the arc |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawBezier | ( | const SharedPtr< Pen > & | pen, |
const Point & | pt1, | ||
const Point & | pt2, | ||
const Point & | pt3, | ||
const Point & | pt4 ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawBezier | ( | const SharedPtr< Pen > & | pen, |
const PointF & | pt1, | ||
const PointF & | pt2, | ||
const PointF & | pt3, | ||
const PointF & | pt4 ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawBezier | ( | const SharedPtr< Pen > & | pen, |
float | x1, | ||
float | y1, | ||
float | x2, | ||
float | y2, | ||
float | x3, | ||
float | y3, | ||
float | x4, | ||
float | y4 ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawBeziers | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< Point > & | points ) |
Draws a series of Bezier splines using the specified pen.
pen | A pen to use when drawing the splines |
points | Array of points that determines the curve |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawBeziers | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< PointF > & | points ) |
Draws a series of Bezier splines using the specified pen.
pen | A pen to use when drawing the splines |
points | Array of points that determines the curve |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawClosedCurve | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< Point > & | points, | ||
float | tension = 0.5f, | ||
Drawing2D::FillMode | fillmode = Drawing2D::FillMode::Alternate ) |
Draws a closed spline using the specified pen.
pen | A pen to use when drawing the spline |
points | Array of points that determines the spline |
tension | Value that specifies the tension of the spline |
fillmode | IGNORED |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawClosedCurve | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< PointF > & | points, | ||
float | tension = 0.5f, | ||
Drawing2D::FillMode | fillmode = Drawing2D::FillMode::Alternate ) |
Draws a closed spline using the specified pen.
pen | A pen to use when drawing the spline |
points | Array of points that determines the spline |
tension | Value that specifies the tension of the spline |
fillmode | IGNORED |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawCurve | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< Point > & | points, | ||
float | tension = 0.5f ) |
Draws a spline using the specified pen.
pen | A pen to use when drawing the spline |
points | Array of points that determines the spline |
tension | Value that specifies the tension of the spline |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawCurve | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< Point > & | points, | ||
int32_t | offset, | ||
int32_t | numberOfSegments, | ||
float | tension = 0.5f ) |
Draws a spline using the specified pen.
pen | A pen to use when drawing the spline |
points | Array of points that determines the spline |
offset | Offset from the 1st element in the points array |
numberOfSegments | Number of segments to include into the curve |
tension | Value that specifies the tension of the spline |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawCurve | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< PointF > & | points, | ||
float | tension = 0.5f ) |
Draws a spline using the specified pen.
pen | A pen to use when drawing the spline |
points | Array of points that determines the spline |
tension | Value that specifies the tension of the spline |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawCurve | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< PointF > & | points, | ||
int32_t | offset, | ||
int32_t | numberOfSegments, | ||
float | tension = 0.5f ) |
Draws a spline using the specified pen.
pen | A pen to use when drawing the spline |
points | Array of points that determines the spline |
offset | Offset from the 1st element in the points array |
numberOfSegments | Number of segments to include into the curve |
tension | Value that specifies the tension of the spline |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawEllipse | ( | const SharedPtr< Pen > & | pen, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height ) |
Draws the specified ellipse using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the ellipse |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawEllipse | ( | const SharedPtr< Pen > & | pen, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height ) |
Draws the specified ellipse using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the ellipse |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawEllipse | ( | const SharedPtr< Pen > & | pen, |
Rectangle | rect ) |
Draws the specified ellipse using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the ellipse |
rect | The rectangle that defines the ellipse |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawEllipse | ( | const SharedPtr< Pen > & | pen, |
RectangleF | rect ) |
Draws the specified ellipse using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the ellipse |
rect | The rectangle that defines the ellipse |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawIcon | ( | const SharedPtr< Icon > & | icon, |
int32_t | x, | ||
int32_t | y ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawIcon | ( | const SharedPtr< Icon > & | icon, |
Rectangle | targetRect ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawIconUnstretched | ( | const SharedPtr< Icon > & | icon, |
Rectangle | targetRect ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const ArrayPtr< Point > & | destPoints, | ||
Rectangle | srcRect, | ||
GraphicsUnit | srcUnit ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const ArrayPtr< Point > & | destPoints, | ||
Rectangle | srcRect, | ||
GraphicsUnit | srcUnit, | ||
const SharedPtr< Imaging::ImageAttributes > & | imageAttr ) |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
destPoints | An array containing three points that define a parallelogram on the drawing surface to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
imageAttr | Specifies coloring and gamma information for the image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const ArrayPtr< PointF > & | destPoints ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const ArrayPtr< PointF > & | destPoints, | ||
RectangleF | srcRect, | ||
GraphicsUnit | srcUnit ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const Rectangle & | rect ) |
Draws the specified image at the specified location.
image | The image to draw |
rect | A rectangle to draw the image to |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const RectangleF & | rect ) |
Draws the specified image at the specified location.
image | The image to draw |
rect | A rectangle to draw the image to |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const System::ArrayPtr< Point > & | destPoints ) |
NOT IMPLEMENTED.
image | IGNORED |
destPoints | IGNORED |
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const System::ArrayPtr< PointF > & | destPoints, | ||
const RectangleF & | srcRect, | ||
GraphicsUnit | srcUnit, | ||
const Imaging::ImageAttributesPtr & | imgAttributes ) |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
destPoints | An array containing three points that define a parallelogram on the drawing surface to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
imgAttributes | Specifies coloring and gamma information for the image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
const System::Details::ArrayView< PointF > & | destPoints, | ||
const RectangleF & | srcRect, | ||
GraphicsUnit | srcUnit, | ||
const Imaging::ImageAttributesPtr & | imgAttributes ) |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
destPoints | An array view containing three points that define a parallelogram on the drawing surface to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
imgAttributes | Specifies coloring and gamma information for the image |
|
inline |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
destPoints | An stack array containing three points that define a parallelogram on the drawing surface to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
imgAttributes | Specifies coloring and gamma information for the image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
float | x, | ||
float | y ) |
Draws the specified image at the specified location.
image | The image to draw |
x | The X coordinate of the upper left corner of the drawn image |
y | The Y coordinate of the upper left corner of the drawn image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height ) |
Draws the specified image to the specified rectangle.
image | The image to draw |
x | The X coordinate of the upper left corner of the rectangle to draw the image to |
y | The Y coordinate of the upper left corner of the rectangle to draw the image to |
width | The width of the upper left corner of the rectangle to draw the image to |
height | The height of the upper left corner of the rectangle to draw the image to |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
float | x, | ||
float | y, | ||
RectangleF | srcRect, | ||
GraphicsUnit | srcUnit ) |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
x | The X coordinate of the upper left corner of the rectangle to draw the image to |
y | The Y coordinate of the upper left corner of the rectangle to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
int | x, | ||
int | y ) |
Draws the specified image at the specified location.
image | The image to draw |
x | The X coordinate of the upper left corner of the drawn image |
y | The Y coordinate of the upper left corner of the drawn image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height ) |
Draws the specified image to the specified rectangle.
image | The image to draw |
x | The X coordinate of the upper left corner of the rectangle to draw the image to |
y | The Y coordinate of the upper left corner of the rectangle to draw the image to |
width | The width of the upper left corner of the rectangle to draw the image to |
height | The height of the upper left corner of the rectangle to draw the image to |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
int | x, | ||
int | y, | ||
Rectangle | srcRect, | ||
GraphicsUnit | srcUnit ) |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
x | The X coordinate of the upper left corner of the rectangle to draw the image to |
y | The Y coordinate of the upper left corner of the rectangle to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
Point | pt ) |
Draws the specified image at the specified location.
image | The image to draw |
pt | The location of the upper left corner of the drawn image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
PointF | pt ) |
Draws the specified image at the specified location.
image | The image to draw |
pt | The location of the upper left corner of the drawn image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
Rectangle | destRect, | ||
float | srcX, | ||
float | srcY, | ||
float | srcWidth, | ||
float | srcHeight, | ||
GraphicsUnit | srcUnit ) |
Draws the specified region of the specified image to the specified rectangle.
image | The image to draw |
destRect | A rectangle to draw the image to |
srcX | The X coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcY | The Y coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcWidth | The width of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcHeight | The height of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcUnit | The measurement units in which parameters srcX , srcY , srcWidth and srcHeight are specified |
ASPOSECPP_SHARED_API 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 ) |
Draws the specified region of the specified image to the specified rectangle.
image | The image to draw |
destRect | A rectangle to draw the image to |
srcX | The X coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcY | The Y coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcWidth | The width of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcHeight | The height of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcUnit | The measurement units in which parameters srcX , srcY , srcWidth and srcHeight are specified |
imgAttributes | Specifies coloring and gamma information for the image |
ASPOSECPP_SHARED_API 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 ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API 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 ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
Rectangle | destRect, | ||
int | srcX, | ||
int | srcY, | ||
int | srcWidth, | ||
int | srcHeight, | ||
GraphicsUnit | srcUnit ) |
Draws the specified region of the specified image to the specified rectangle.
image | The image to draw |
destRect | A rectangle to draw the image to |
srcX | The X coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcY | The Y coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcWidth | The width of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcHeight | The height of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcUnit | The measurement units in which parameters srcX , srcY , srcWidth and srcHeight are specified |
ASPOSECPP_SHARED_API 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 ) |
Draws the specified region of the specified image to the specified rectangle.
image | The image to draw |
destRect | A rectangle to draw the image to |
srcX | The X coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcY | The Y coordinate of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcWidth | The width of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcHeight | The height of the upper left corner of the rectangle that specifies the portion of the image to draw |
srcUnit | The measurement units in which parameters srcX , srcY , srcWidth and srcHeight are specified |
imgAttributes | Specifies coloring and gamma information for the image |
ASPOSECPP_SHARED_API 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 ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API 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 ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
Rectangle | destRect, | ||
Rectangle | srcRect, | ||
GraphicsUnit | srcUnit ) |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
destRect | A rectangle to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImage | ( | const SharedPtr< Image > & | image, |
RectangleF | destRect, | ||
RectangleF | srcRect, | ||
GraphicsUnit | srcUnit ) |
Draws the specified region of the specified image at the specified location.
image | The image to draw |
destRect | A rectangle to draw the image to |
srcRect | A rectangle that defines the region of the specified image to draw |
srcUnit | The measurement units used by srcRect parameter |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImageUnscaled | ( | const SharedPtr< Image > & | image, |
const Point & | point ) |
Draws a specified image using its original physical size at a specified location.
image | The image to draw |
point | The Point structure that specifies the upper-left corner of the drawn image. |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImageUnscaled | ( | const SharedPtr< Image > & | image, |
const Rectangle & | rect ) |
Draws a specified image using its original physical size at a specified location.
image | The image to draw |
rect | The rectangle that specifies the upper-left corner of the drawn image. The X and Y properties of the rectangle specify the upper-left corner. The width and height values are ignored. |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImageUnscaled | ( | const SharedPtr< Image > & | image, |
int | x, | ||
int | y ) |
Draws the specified image using its original physical size at the specified location.
image | The image to draw |
x | The X coordinate of the upper left corner of the drawn image |
y | The Y coordinate of the upper left corner of the drawn image |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImageUnscaled | ( | const SharedPtr< Image > & | image, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height ) |
Draws a specified image using its original physical size at a specified location.
image | The image to draw |
x | The X coordinate of the upper left corner of the drawn image |
y | The Y coordinate of the upper left corner of the drawn image |
width | Not used |
height | Not used |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawImageUnscaledAndClipped | ( | const SharedPtr< Image > & | image, |
Rectangle | rectangle ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawLine | ( | const SharedPtr< Pen > & | pen, |
float | x1, | ||
float | y1, | ||
float | x2, | ||
float | y2 ) |
Draws the specified line using the specified pen.
pen | A Pen object that specifies graphical properties of the line to draw |
x1 | The X-coordinate of the first point defining the line to draw |
y1 | The Y-coordinate of the first point defining the line to draw |
x2 | The X-coordinate of the second point defining the line to draw |
y2 | The Y-coordinate of the second point defining the line to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawLine | ( | const SharedPtr< Pen > & | pen, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 ) |
Draws the specified line using the specified pen.
pen | A Pen object that specifies graphical properties of the line to draw |
x1 | The X-coordinate of the first point defining the line to draw |
y1 | The Y-coordinate of the first point defining the line to draw |
x2 | The X-coordinate of the second point defining the line to draw |
y2 | The Y-coordinate of the second point defining the line to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawLine | ( | const SharedPtr< Pen > & | pen, |
Point | pt1, | ||
Point | pt2 ) |
Draws the specified line using the specified pen.
pen | A Pen object that specifies graphical properties of the line to draw |
pt1 | The first point defining the line to draw |
pt2 | The second point defining the line to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawLine | ( | const SharedPtr< Pen > & | pen, |
PointF | pt1, | ||
PointF | pt2 ) |
Draws the specified line using the specified pen.
pen | A Pen object that specifies graphical properties of the line to draw |
pt1 | The first point defining the line to draw |
pt2 | The second point defining the line to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawLines | ( | const SharedPtr< Pen > & | pen, |
const System::ArrayPtr< System::Drawing::Point > & | points ) |
Draws a series of line segments using the specified pen.
pen | A pen to use when drawing the lines |
points | Array of points to connect |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawLines | ( | const SharedPtr< Pen > & | pen, |
const System::ArrayPtr< System::Drawing::PointF > & | points ) |
Draws a series of line segments using the specified pen.
pen | A pen to use when drawing the lines |
points | Array of points to connect |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawPath | ( | const SharedPtr< Pen > & | pen, |
const SharedPtr< Drawing2D::GraphicsPath > & | path ) |
Draws the specified path using the specified pen.
pen | A Pen object to use for drawing |
path | A graphics path to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawPie | ( | const SharedPtr< Pen > & | pen, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height, | ||
float | startAngle, | ||
float | sweepAngle ) |
Draws the specified pie using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the pie |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the pie |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the pie |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawPie | ( | const SharedPtr< Pen > & | pen, |
int32_t | x, | ||
int32_t | y, | ||
int32_t | width, | ||
int32_t | height, | ||
int32_t | startAngle, | ||
int32_t | sweepAngle ) |
Draws the specified pie using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the pie |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the pie |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the pie |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawPie | ( | const SharedPtr< Pen > & | pen, |
Rectangle | rect, | ||
float | startAngle, | ||
float | sweepAngle ) |
Draws the specified pie using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the pie |
rect | The rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the pie |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the pie |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawPie | ( | const SharedPtr< Pen > & | pen, |
RectangleF | rect, | ||
float | startAngle, | ||
float | sweepAngle ) |
Draws the specified pie using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the pie |
rect | The rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the pie |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the pie |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawPolygon | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< Point > & | points ) |
Draws a polygon using the specified pen.
pen | A pen to use when drawing the polygon |
points | Array of vertices that defines the polygon |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawPolygon | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< PointF > & | points ) |
Draws a polygon using the specified pen.
pen | A pen to use when drawing the polygon |
points | Array of vertices that defines the polygon |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawRectangle | ( | const SharedPtr< Pen > & | pen, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height ) |
Draws the specified rectangle using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the rectangle |
x | The X coordinate of the upper left corner of the rectangle to draw |
y | The Y coordinate of the upper left corner of the rectangle to draw |
width | The width of the rectangle to draw |
height | The height of the rectangle to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawRectangle | ( | const SharedPtr< Pen > & | pen, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height ) |
Draws the specified rectangle using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the rectangle |
x | The X coordinate of the upper left corner of the rectangle to draw |
y | The Y coordinate of the upper left corner of the rectangle to draw |
width | The width of the rectangle to draw |
height | The height of the rectangle to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawRectangle | ( | const SharedPtr< Pen > & | pen, |
Rectangle | rect ) |
Draws the specified rectangle using the specified pen on the surface represented by the current object.
pen | A pen to use when drawing the rectangle |
rect | A Rectangle object that specifies the location and size of the rectangle to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawRectangles | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< Rectangle > & | rects ) |
Draws a series of rectangles using the specified pen.
pen | A pen to use when drawing the rectangles |
rects | Array of rectangles to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawRectangles | ( | const SharedPtr< Pen > & | pen, |
const ArrayPtr< RectangleF > & | rects ) |
Draws a series of rectangles using the specified pen.
pen | A pen to use when drawing the rectangles |
rects | Array of rectangles to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawString | ( | const String & | str, |
const SharedPtr< Font > & | font, | ||
const SharedPtr< Brush > & | brush, | ||
float | x, | ||
float | y, | ||
const System::SharedPtr< System::Drawing::StringFormat > & | stringFormat = nullptr ) |
Draws the specified string at the specified location using the specified font and brush.
str | The string to draw |
font | A font to use |
brush | A Brush object to use for drawing |
x | The X coordinate of the location of the upper left corner of the drawn string |
y | The Y coordinate of the location of the upper left corner of the drawn string |
stringFormat | Specified the format of the string |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawString | ( | const String & | str, |
const SharedPtr< Font > & | font, | ||
const SharedPtr< Brush > & | brush, | ||
PointF | topLeft, | ||
const System::SharedPtr< System::Drawing::StringFormat > & | stringFormat = nullptr ) |
Draws the specified string at the specified location using the specified font and brush.
str | The string to draw |
font | A font to use |
brush | A Brush object to use for drawing |
topLeft | Specifies the location of the upper left corner of the drawn string |
stringFormat | Specified the format of the string |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::DrawString | ( | const String & | str, |
const SharedPtr< Font > & | font, | ||
const SharedPtr< Brush > & | brush, | ||
RectangleF | layoutRectangle, | ||
const System::SharedPtr< System::Drawing::StringFormat > & | stringFormat = nullptr ) |
Draws the specified string in the specified rectangle using the specified font and brush.
str | The string to draw |
font | A font to use |
brush | A Brush object to use for drawing |
layoutRectangle | Specifies a rectangle to draw the string in |
stringFormat | Specified the format of the string |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EndContainer | ( | const SharedPtr< Drawing2D::GraphicsContainer > & | container | ) |
Closes the current container and restores the state of this object from the state of saved container.
container | The container to restore the state from |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
const ArrayPtr< Point > & | destPoints, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
const ArrayPtr< Point > & | destPoints, | ||
Rectangle | srcRect, | ||
GraphicsUnit | srcUnit, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
const ArrayPtr< PointF > & | destPoints, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
const ArrayPtr< PointF > & | destPoints, | ||
RectangleF | srcRect, | ||
GraphicsUnit | srcUnit, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
Point | destPoint, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
Point | destPoint, | ||
Rectangle | srcRect, | ||
GraphicsUnit | srcUnit, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
PointF | destPoint, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
PointF | destPoint, | ||
RectangleF | srcRect, | ||
GraphicsUnit | srcUnit, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
Rectangle | destRect, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
Rectangle | destRect, | ||
Rectangle | srcRect, | ||
GraphicsUnit | srcUnit, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
RectangleF | destRect, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::EnumerateMetafile | ( | const SharedPtr< Imaging::Metafile > & | metafile, |
RectangleF | destRect, | ||
RectangleF | srcRect, | ||
GraphicsUnit | srcUnit, | ||
Graphics::EnumerateMetafileProc | callback ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::ExcludeClip | ( | const SharedPtr< Region > & | region | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::ExcludeClip | ( | Rectangle | rect | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillClosedCurve | ( | const SharedPtr< Brush > & | brush, |
const ArrayPtr< Point > & | points, | ||
Drawing2D::FillMode | fillmode = Drawing2D::FillMode::Alternate, | ||
float | tension = 0.5f ) |
Draws a closed spline using the specified brush.
brush | A brush to use when drawing the spline |
points | Array of points that determines the spline |
fillmode | IGNORED |
tension | Value that specifies the tension of the spline |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillClosedCurve | ( | const SharedPtr< Brush > & | brush, |
const ArrayPtr< PointF > & | points, | ||
Drawing2D::FillMode | fillmode = Drawing2D::FillMode::Alternate, | ||
float | tension = 0.5f ) |
Draws a closed spline using the specified brush.
brush | A brush to use when drawing the spline |
points | Array of points that determines the spline |
fillmode | IGNORED |
tension | Value that specifies the tension of the spline |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillEllipse | ( | const SharedPtr< Brush > & | brush, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height ) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush.
brush | A Brush object to use for filling |
x | The X coordinate of the upper left corner of the bounding rectangle |
y | The Y coordinate of the upper left corner of the bounding rectangle |
width | The width of the bounding rectangle |
height | The height of the bounding rectangle |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillEllipse | ( | const SharedPtr< Brush > & | brush, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height ) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush.
brush | A Brush object to use for filling |
x | The X coordinate of the upper left corner of the bounding rectangle |
y | The Y coordinate of the upper left corner of the bounding rectangle |
width | The width of the bounding rectangle |
height | The height of the bounding rectangle |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillEllipse | ( | const SharedPtr< Brush > & | brush, |
Rectangle | rect ) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush.
brush | A Brush object to use for filling |
rect | The bounding rectangle that defines the ellipse to fill |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillEllipse | ( | const SharedPtr< Brush > & | brush, |
RectangleF | rect ) |
Fills the interior of the ellipse specified by the bounding rectangle using the specified brush.
brush | A Brush object to use for filling |
rect | The bounding rectangle that defines the ellipse to fill |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillPath | ( | const SharedPtr< Brush > & | brush, |
const SharedPtr< Drawing2D::GraphicsPath > & | path ) |
Fills the interiors of the specified path using the specified brush.
brush | A Brush object that specifies the parameters of the fill |
path | The path to fill |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillPie | ( | const SharedPtr< Brush > & | brush, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height, | ||
float | startAngle, | ||
float | sweepAngle ) |
Fills the specified pie using the specified brush on the surface represented by the current object.
brush | A brush to use when filling the pie |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the pie |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the pie |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillPie | ( | const SharedPtr< Brush > & | brush, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | startAngle, | ||
int | sweepAngle ) |
Fills the specified pie using the specified brush on the surface represented by the current object.
brush | A brush to use when filling the pie |
x | The X coordinate of the upper left corner of the rectangle that defines the ellipse |
y | The Y coordinate of the upper left corner of the rectangle that defines the ellipse |
width | The width of the rectangle that defines the ellipse |
height | The height of the rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the pie |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the pie |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillPie | ( | const SharedPtr< Brush > & | brush, |
Rectangle | rect, | ||
float | startAngle, | ||
float | sweepAngle ) |
Fills the specified pie using the specified brush on the surface represented by the current object.
brush | A brush to use when filling the pie |
rect | The rectangle that defines the ellipse |
startAngle | Angle in degrees measured clockwise from the X axis to the starting point of the pie |
sweepAngle | Angle in degrees measured clockwise from the startAngle to ending point of the pie |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillPolygon | ( | const SharedPtr< Brush > & | brush, |
const ArrayPtr< Point > & | points, | ||
Drawing2D::FillMode | fillMode = Drawing2D::FillMode::Alternate ) |
Fills the interiors of the specified polygon using the specified brush.
brush | A Brush object that specifies the parameters of the fill |
points | An array containing the points that define the polygon |
fillMode | The fill mode |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillPolygon | ( | const SharedPtr< Brush > & | brush, |
const ArrayPtr< PointF > & | points, | ||
Drawing2D::FillMode | fillMode = Drawing2D::FillMode::Alternate ) |
Fills the interiors of the specified polygon using the specified brush.
brush | A Brush object that specifies the parameters of the fill |
points | An array containing the points that define the polygon |
fillMode | The fill mode |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillRectangle | ( | const SharedPtr< Brush > & | brush, |
float | x, | ||
float | y, | ||
float | width, | ||
float | height ) |
Fills the specified rectangle with the specified brush.
brush | A Brush object to use for filling |
x | The X coordinate of the upper left corner of the rectangle to fill |
y | The Y coordinate of the upper left corner of the rectangle to fill |
width | The width of the rectangle to fill |
height | The height of the rectangle to fill |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillRectangle | ( | const SharedPtr< Brush > & | brush, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height ) |
Fills the specified rectangle with the specified brush.
brush | A Brush object to use for filling |
x | The X coordinate of the upper left corner of the rectangle to fill |
y | The Y coordinate of the upper left corner of the rectangle to fill |
width | The width of the rectangle to fill |
height | The height of the rectangle to fill |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillRectangle | ( | const SharedPtr< Brush > & | brush, |
RectangleF | rect ) |
Fills the specified rectangle with the specified brush.
brush | A Brush object to use for filling |
rect | A RectangleF object that specifies the location and size of the rectangle to fill |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillRectangles | ( | const SharedPtr< Brush > & | brush, |
const ArrayPtr< Rectangle > & | rects ) |
Fills a series of rectangles using the specified brush.
brush | A brush to use when filling the rectangles |
rects | Array of rectangles to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillRectangles | ( | const SharedPtr< Brush > & | brush, |
const ArrayPtr< RectangleF > & | rects ) |
Fills a series of rectangles using the specified brush.
brush | A brush to use when filling the rectangles |
rects | Array of rectangles to draw |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::FillRegion | ( | const SharedPtr< Brush > & | brush, |
const SharedPtr< Region > & | region ) |
Fills the interiors of the specified region using the specified brush.
brush | A Brush object that specifies the parameters of the fill |
region | The region to fill |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::Flush | ( | Drawing2D::FlushIntention | intention = Drawing2D::FlushIntention::Flush | ) |
Triggers the immediate execution of all pending draw operations.
intention | IGNORED |
|
static |
NOT IMPLEMENTED.
NotImplementedException | Always |
|
static |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API RectangleF System::Drawing::Graphics::get_ClipBounds | ( | ) | const |
Returns a rectangle that bounds the clipping area of the surface represented by the current object.
ASPOSECPP_SHARED_API Drawing2D::CompositingMode System::Drawing::Graphics::get_CompositingMode | ( | ) |
Returns a value that indicates how composited images are drawn on the surface represented by the current object.
ASPOSECPP_SHARED_API Drawing2D::CompositingQuality System::Drawing::Graphics::get_CompositingQuality | ( | ) |
Returns a value that indicates the quality level used when compositing images.
ASPOSECPP_SHARED_API float System::Drawing::Graphics::get_DpiX | ( | ) |
Returns the horizontal resolution.
ASPOSECPP_SHARED_API float System::Drawing::Graphics::get_DpiY | ( | ) |
Returns the vertical resolution.
ASPOSECPP_SHARED_API Drawing2D::InterpolationMode System::Drawing::Graphics::get_InterpolationMode | ( | ) |
Returns a value that indicates the interpolation mode associated with the current object.
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::get_IsClipEmpty | ( | ) | const |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::get_IsVisibleClipEmpty | ( | ) | const |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API float System::Drawing::Graphics::get_PageScale | ( | ) | const |
Returns the scaling between world units and page units for the current Graphics object.
ASPOSECPP_SHARED_API GraphicsUnit System::Drawing::Graphics::get_PageUnit | ( | ) | const |
Returns measurement units used for page coordinates on the surface represented by the current object.
ASPOSECPP_SHARED_API Drawing2D::PixelOffsetMode System::Drawing::Graphics::get_PixelOffsetMode | ( | ) |
Returns a value that indicates how the pixels are offset during rendering on the surface represented by the current object.
ASPOSECPP_SHARED_API Point System::Drawing::Graphics::get_RenderingOrigin | ( | ) | const |
ASPOSECPP_SHARED_API Drawing2D::SmoothingMode System::Drawing::Graphics::get_SmoothingMode | ( | ) |
Returns a value that indicates a soothing mode used during rendering on the surface represented by the current object.
ASPOSECPP_SHARED_API int32_t System::Drawing::Graphics::get_TextContrast | ( | ) | const |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API Text::TextRenderingHint System::Drawing::Graphics::get_TextRenderingHint | ( | ) |
Returns a value that indicates the quality of text rendering.
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::Matrix > System::Drawing::Graphics::get_Transform | ( | ) |
Returns the geometric world transformation for the current Graphics object.
ASPOSECPP_SHARED_API RectangleF System::Drawing::Graphics::get_VisibleClipBounds | ( | ) | const |
Returns the RectangleF object that represents a bounding rectangle of the visible clipping region of the current Graphics object.
ASPOSECPP_SHARED_API IntPtr System::Drawing::Graphics::GetHdc | ( | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API SkCanvas * System::Drawing::Graphics::GetSkCanvas | ( | ) | const |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::IntersectClip | ( | const System::SharedPtr< Region > & | region | ) |
Updates the clip region of this object to the intersection of the current clip and the specified clip.
region | The region to intersect with |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::IntersectClip | ( | System::Drawing::Rectangle | rect | ) |
Updates the clip region of this object to the intersection of the current clip and the specified clip.
rect | The rectangle to intersect with |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::IntersectClip | ( | System::Drawing::RectangleF | rect | ) |
Updates the clip region of this object to the intersection of the current clip and the specified clip.
rect | The rectangle to intersect with |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | float | x, |
float | y ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | float | x, |
float | y, | ||
float | width, | ||
float | height ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | int32_t | x, |
int32_t | y ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | int32_t | x, |
int32_t | y, | ||
int32_t | width, | ||
int32_t | height ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | Point | point | ) |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | PointF | point | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | Rectangle | rect | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API bool System::Drawing::Graphics::IsVisible | ( | RectangleF | rect | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API ArrayPtr< SharedPtr< Region > > System::Drawing::Graphics::MeasureCharacterRanges | ( | const System::String & | text, |
const SharedPtr< Font > & | font, | ||
RectangleF | layoutRect, | ||
const SharedPtr< StringFormat > & | stringFormat ) |
Returns an array of regions each of which bounds character positions in the specified string.
text | The string to measure |
font | The font used during the measurement of the string |
layoutRect | The layout rectangle used during the measurement of the string |
stringFormat | The string format, contaions the character ranges to measure |
ASPOSECPP_SHARED_API SizeF System::Drawing::Graphics::MeasureString | ( | String const & | str, |
System::SharedPtr< Font > const & | font, | ||
int | width, | ||
System::SharedPtr< StringFormat > const & | stringFormat = nullptr ) const |
Returns a size of the specified string when drawn in the specified font in the specified format.
str | The string whose size to calculate |
font | The font used to draw the string |
width | The maximum width of the string |
stringFormat | Specifies the string format |
ASPOSECPP_SHARED_API SizeF System::Drawing::Graphics::MeasureString | ( | String const & | str, |
System::SharedPtr< Font > const & | font, | ||
PointF const & | origin = PointF(0, 0), | ||
System::SharedPtr< StringFormat > const & | stringFormat = nullptr ) const |
Returns a size of the specified string when drawn in the specified font in the specified format.
str | The string whose size to calculate |
font | The font used to draw the string |
origin | Specifies the location of the upper left corner of the string |
stringFormat | Specifies the string format |
ASPOSECPP_SHARED_API SizeF System::Drawing::Graphics::MeasureString | ( | String const & | str, |
System::SharedPtr< Font > const & | font, | ||
SizeF const & | layoutArea, | ||
System::SharedPtr< StringFormat > const & | stringFormat, | ||
int & | charactersFitted, | ||
int & | linesFilled ) const |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API SizeF System::Drawing::Graphics::MeasureString | ( | String const & | str, |
System::SharedPtr< Font > const & | font, | ||
SizeF const & | layoutArea, | ||
System::SharedPtr< StringFormat > const & | stringFormat = nullptr ) const |
Returns a size of the specified string when drawn in the specified font in the specified format.
str | The string whose size to calculate |
font | The font used to draw the string |
layoutArea | The maximum layout area of the string |
stringFormat | Specifies the string format |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::MultiplyTransform | ( | const SharedPtr< Drawing2D::Matrix > & | matrix, |
Drawing2D::MatrixOrder | order = Drawing2D::MatrixOrder::Prepend ) |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::ReleaseHdc | ( | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::ReleaseHdc | ( | IntPtr | hdc | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::ResetClip | ( | ) |
Resets the clip region for this graphics to an infinite region.
ASPOSECPP_SHARED_API void System::Drawing::Graphics::ResetTransform | ( | ) |
Resets the world transformation matrix of the current object so that it becomes an identity matrix.
ASPOSECPP_SHARED_API void System::Drawing::Graphics::Restore | ( | const SharedPtr< Drawing2D::GraphicsState > & | graphicsState | ) |
Restores the state of this object from the saved state.
graphicsState | The state to restore from |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::RotateTransform | ( | float | angle, |
Drawing2D::MatrixOrder | order = Drawing2D::MatrixOrder::Prepend ) |
Applies the specified rotation to the world transformation matrix of the current Graphics object in the specified order.
angle | The rotation angle |
order | The order in which the rotanion operation is applied to the matrix |
ASPOSECPP_SHARED_API SharedPtr< Drawing2D::GraphicsState > System::Drawing::Graphics::Save | ( | ) |
Saves the current state of this object and returns the saved state.
ASPOSECPP_SHARED_API void System::Drawing::Graphics::ScaleTransform | ( | float | sx, |
float | sy, | ||
Drawing2D::MatrixOrder | order = Drawing2D::MatrixOrder::Prepend ) |
Applies the specified scale vector to the world transformation matrix of the current object.
sx | The value by which to scale the matrix in x-axis direction |
sy | The value by which to scale the matrix in y-axis direction |
order | The order in which the scale vector is applied to the matrix |
Sets a region that limits the drawing area of the drawing surface represented by the current.
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_CompositingMode | ( | Drawing2D::CompositingMode | mode | ) |
Sets a value that specifies how composited images are drawn on the surface represented by the current object.
mode | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_CompositingQuality | ( | Drawing2D::CompositingQuality | quality | ) |
Sets a value that specifies the quality level to use when compositing images.
quality | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_InterpolationMode | ( | Drawing2D::InterpolationMode | mode | ) |
Sets a value that indicates the interpolation mode associated with the current object.
mode | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_PageScale | ( | float | scale | ) |
Sets the scaling between world units and page units for the current Graphics object.
scale | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_PageUnit | ( | GraphicsUnit | value | ) |
Sets measurement units used for page coordinates on the surface represented by the current object.
value | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_PixelOffsetMode | ( | Drawing2D::PixelOffsetMode | mode | ) |
Sets a value that specifies how the pixels should be offset during rendering on the surface represented by the current object.
mode | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_RenderingOrigin | ( | Point | point | ) |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_SmoothingMode | ( | Drawing2D::SmoothingMode | mode | ) |
Sets a value that specifies a soothing mode used during rendering on the surface represented by the current object.
mode | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_TextContrast | ( | int32_t | value | ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_TextRenderingHint | ( | Text::TextRenderingHint | hint | ) |
Sets a value that specifies the quality of text rendering.
hint | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::set_Transform | ( | const SharedPtr< Drawing2D::Matrix > & | matrix | ) |
Sets the geometric world transformation for the current Graphics object.
matrix | The value to set |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::SetClip | ( | const SharedPtr< Drawing2D::GraphicsPath > & | path, |
Drawing2D::CombineMode | combineMode = Drawing2D::CombineMode::Replace ) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the region specified by a graphics path.
path | Specifies a region to combine |
combineMode | Specifies the combining operation |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::SetClip | ( | const SharedPtr< Graphics > & | graphics, |
Drawing2D::CombineMode | combineMode = Drawing2D::CombineMode::Replace ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::SetClip | ( | const SharedPtr< Region > & | region, |
Drawing2D::CombineMode | combineMode = Drawing2D::CombineMode::Replace ) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region.
region | Specifies a region to combine |
combineMode | Specifies the combining operation |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::SetClip | ( | Rectangle | rect, |
Drawing2D::CombineMode | combineMode = Drawing2D::CombineMode::Replace ) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region.
rect | Specifies a region to combine |
combineMode | Specifies the combining operation |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::SetClip | ( | RectangleF | rect, |
Drawing2D::CombineMode | combineMode = Drawing2D::CombineMode::Replace ) |
Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region.
rect | Specifies a region to combine |
combineMode | Specifies the combining operation |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::TransformPoints | ( | Drawing2D::CoordinateSpace | destSpace, |
Drawing2D::CoordinateSpace | srcSpace, | ||
const ArrayPtr< System::Drawing::Point > & | pts ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::TransformPoints | ( | Drawing2D::CoordinateSpace | destSpace, |
Drawing2D::CoordinateSpace | srcSpace, | ||
const ArrayPtr< System::Drawing::PointF > & | pts ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::TranslateClip | ( | float | dx, |
float | dy ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::TranslateClip | ( | int | dx, |
int | dy ) |
NOT IMPLEMENTED.
NotImplementedException | Always |
ASPOSECPP_SHARED_API void System::Drawing::Graphics::TranslateTransform | ( | float | dx, |
float | dy, | ||
Drawing2D::MatrixOrder | order = Drawing2D::MatrixOrder::Prepend ) |
Applies the specified translation vector to the world transformation matrix of the current Graphics object.
dx | The X value by which the matrix is translated |
dy | The Y value by which the matrix is translated |
order | The order in which the translation vector is applied to the matrix |