Mavzu: Visual C++ning grafik imkoniyatlari (grafik holat, tasvirlarni va funksiya grafiklarini qurish). Chart komponentlari
Mundarija:
Kirish
I. Asosiy qism
1.1. Visual C++ning grafik imkoniyatlari
1.2. Chart komponenta xususiyati va hodisalari.
II. XULOSA
III. FOYDALANILGAN ADABIYOTLAR
Kirish
Visual C++ o‘zi grafik tuzilmali muhit bo‘lib hisoblanadi. Grafik deganda ixtiyoriy narsani kompyuterda piksellarda hosil qilish tushuniladi. Pikselda ikkita argumentlari bor, ya’ni koorlinatalari A(x,y) ko‘rinishida. Har qanday IDE muhitlarda grafika bilan ishlash imkoni bor. Ular turlicha nomlanishi mumkin. Ammo, ularning ruchkasi(qalami) va mo‘yqalami bo‘ladi. GUI ko‘rinishda ishlash to‘liq grafika bilan bog‘liq bo‘lib, texnikaning grafik rejimda ishlashini ta’minlaydi. Hozirda deyarli barcha foydalanuvchilar grafik imkoniyatlaridan foydalanib ishlaydilar.
1.1 Visual C++ning grafik imkoniyatlari.
Grafik imkoniyatga ega bo‘lgan tizimlarda asosan, nuqta, chiziq, to‘rt burchak, aylana, ko‘p burchak kabi shakllarni qamrab oladi. GUI asosidagi barcha elementlarga diqqat bilan qarasangiz shu grafik tuzilmalardan iborat bo‘ladi.
Visual C++ning imkoniyatlarini ko‘rish uchun Graphics sinfiga murojaat qilamiz. Bu sinfning nomlar fazosi System.Drawing va kutubxonasi System.Drawing.Common.dll bo‘lib hisoblanadi.
CHizish uchun GDI+ modulni inkapsulyasiya qiladi va bu sinfdan merosxo‘r olish mumkin emas. Bu sinf MarshalByRefObject, IDisposable, System::Drawing::IdeviceContextga asoslangan bo‘lib, Object → MarshalByRefObject → Graphics sinfining merosxo‘ri hisoblanadi.
Grafika sinfi ekranga tasvirlarni chizish usullarini o‘zi ichiga qamarab olgan. Grafika muayyan qurilmani kontekst bilan bog‘lash uchun ham xizmat qiladi.
Grafik ob’ekt yordamida ko‘p turli shakl va chiziqlar chizish mumkin. CHiziqlar va shakllar chizish uchun maxsus DrawGraphicalElement usullarni o‘rganish lozim. Bu usullar DrawLine, DrawArc, DrawClosedCurve, DrawPolygon va DrawRectangle o‘z ichiga oladi. CHiziqlar va shakllar chizish uchun qalam yordamida va shakllarni to‘ldirish uchun mo‘yqalam yordamida amalga oshiriladi.
Grafika sinfi imkoniyatlarini uning xususiyatlari va usulari orqali ko‘rsatib o‘tamiz. SHuning yangi paraemet kelsa, unga ham to‘xtalib o‘tiladi.
1.1-jadval.Grafika sinfi xususiyatlari.
Xususiyait nomi
|
vazifasi
|
Clip
|
Grafikaning chizilgan chegarasini cheklaydigan chegarani oladi yoki o‘rnatadi.
|
ClipBounds
|
Grafikaning kesish chegarasini chegaralovchi RectangleF tuzilishini oladi.
|
CompositingMode
|
Kompozit tasvirlar chizish holatini oladi yoki o‘rnatadi.
|
CompositingQuality
|
Grafikaga chizilgan kompozitsion tasvirlarning ko‘rsatish sifatini o‘rnatadi.
|
DpiX
|
Ushbu grafikaning gorizontal o‘lchamini oladi.
|
DpiY
|
Ushbu grafikaning vertikal o‘lchamini oladi.
|
InterpolationMode
|
Ushbu grafikalar bilan bog‘liq interpolyasiya rejimini oladi yoki o‘rnatadi.
|
IsClipEmpty
|
Bu grafika kesish sohasini bo‘sh yoki yo‘qligini ko‘rsatib, bir qiymat oladi.
|
IsVisibleClipEmpty
|
Bu grafika aniq kesish sohasini bo‘sh yoki yo‘qligini ko‘rsatib, bir qiymat oladi.
|
PageScale
|
Bu grafika uchun sahifa moduli va birlik moduli o‘rtasida chegarasini sozlash.
|
PageUnit
|
Bu grafika sahifa koordinatalarini uchun ishlatiladigan o‘lchov birligi sozlash.
|
PixelOffsetMode
|
Bu grafika ko‘rsatish paytida Piksel ofset qanday ko‘rsatilgan qiymat sozlash.
|
RenderingOrigin
|
Bu grafika ko‘rsatish rejimini o‘rnatadi.
|
SmoothingMode
|
Grafikalar uchun ko‘rsatish sifatini oladi yoki o‘rnatadi.
|
TextContrast
|
Matn ko‘rsatish uchun gamma qiymatini belgilash.
|
TextRenderingHint
|
Bu grafika bilan bog‘liq matn uchun ko‘rsatish rejimini o‘rnatadi.
|
Transform
|
Grafikalar uchun geometrik o‘zgarishining nusxasini oladi yoki o‘rnatadi.
|
VisibleClipBounds
|
Grafikning aniq kesish sohasini tekslash uchun to‘rtburchak oladi.
|
Grafika sinfi usulari quyidagilardan iborat:
AddMetafileComment(Byte[]) - Rasm metafayliga izoh qo‘shadi. Bunda Byte[] belgili massiv bo‘lib, ^ data tipida aniqlanadi va masalan, array^metaCom = {(Byte)'T',(Byte)'e',(Byte)'s',(Byte)'t'}; kabi aniqlanishi mumkin.
BeginContainer() - Grafikaning hozirgi holati bilan grafik konteynerni saqlaydi va yangi grafik konteynerni ochadi va ishlatadi.
BeginContainer(Rectangle, Rectangle, GraphicsUnit) - Grafik joriy holati bilan bir grafik konteyner saqlaydi, belgilangan parametrli o‘zgartirish bilan yangi grafik konteynerdan foydalanadi va ochadi. Bunda Rectangle to‘rt burchak bo‘lib, Rectangle(0,0,200,200) kabi aniqlanadi. Birinchi to‘rt burchak konteyner uchun shkalani va ikkinchisi konteyner uchun soha o‘zgarishiri aniqlaydi. GraphicsUnit – konteyner uchun o‘lchov birligini aniqlash uchun ishlatiladi. Uning enum bo‘lib, quyidagi 12.2–jadvalga keltirilgan qiymatlarni oladi va GraphicsUnit::Pixel ko‘rinishda foydalaniladi.
1.2-jadval. GraphicsUnit qiymatlari.
Qiymat nomi
|
vazifasi
|
Display
|
Ko‘rsatish qurilmasining o‘lchov birligini belgilaydi. Odatda video displeylar uchun piksellar va printerlar uchun 1/100 dyuym.
|
Document
|
O‘lchov birligi sifatida hujjat birligini (1/300 dyuym) belgilaydi.
|
Inch
|
O‘lchov birligi sifatida dyuymni bildiradi.
|
Millimeter
|
Millimetrni o‘lchov birligi sifatida belgilaydi.
|
Pixel
|
O‘lchov birligi sifatida qurilma pikselini belgilaydi.
|
Point
|
O‘lchov birligi sifatida printerning nuqtasini (1/72 dyuym) belgilaydi.
|
World
|
Koordinata tizimi birligini o‘lchov birligi sifatida belgilaydi.
|
BeginContainer(RectangleF, RectangleF, GraphicsUnit) - grafik joriy holati bilan bir grafik konteyner saqlaydi, belgilangan sohali o‘zgartirish bilan yangi grafik konteynerdan foydalanadi va ochadi. Bininchi ikkita parametlar tuzilma bo‘lib, ikki xil aniqlanishi mumkin: RectangleF(PointF(30.0F,40.0F),SizeF(50.0F,100.0F)) va RectangleF(float x, float y, float width, float height); GraphicsUnit – esa konteyner uchun o‘lchov birligini aniqlash uchun ishlatiladi.
3. Clear(Color) - butun chizma yuzasini tozalaydi va belgilangan fon rangi bilan to‘ldiradi. Color tuzilma bo‘lib uning qiymatlariga kengaytirish amali [::] bilan murojaat qiladilar.
4.CopyFromScreen(Int32, Int32, Int32, Int32, Size) - Pikselli to‘rtburchakka mos rangli ma’lumotlarni ekrandan grafikaning chizma yuzasiga bit-blokli uzatishni amalga oshiradi. CopyFromScreen(int sourceX, int sourceY, int destinationX, int destinationY, System::Drawing::Size blockRegionSize) – bunda x,u lar tщrtburchakning mos koordinatalari va Size sohaning o‘lchamidir. Ham tuzilma bo‘lib, Size(int width, int height) ko‘rinishda yaratiladi.
CopyFromScreen(Int32, Int32, Int32, Int32, Size, CopyPixelOperation) -Pikselli to‘rtburchakka mos rangli ma’lumotlarni ekrandan grafikaning chizma yuzasiga bit-blokli uzatishni amalga oshiradi. Buning paremetrlari yuqoridagidek bo‘lib, CopyPixelOperation dagi manba rangi yakuniy rangga olib keladigan maqsad rangi bilan birlashtirilganligini aniqlaydi va Blackness, CaptureBlt, DestinationInvert, MergeCopy, MergePaint, NoMirrorBitmap, NotSourceCopy, NotSourceErase, PatCopy, PatInvert, PatPaint, SourceAnd, SourceCopy, SourceErase, SourceInvert, SourcePaint, Whiteness kabi qiymatlarni qabul qiladi.
CopyFromScreen(Point, Point, Size) - Ekrandan grafikaning chizma yuzasiga pikselli to‘rtburchakka mos rangli ma’lumotlarni bit-blokli uzatishni amalga oshiradi. Point – bu nuqta yaratuvchi tuzilma bo‘lib, o‘zining 3ta Point(Int32), Point(Int32, Int32), Point(Size) konstruktorlari mavjud.
CopyFromScreen(Point, Point, Size, CopyPixelOperation) - ekrandan grafikaning chizma yuzasiga pikselli to‘rtburchakka mos rangli ma’lumotlarni bit-blokli uzatishni amalga oshiradi.
5. CreateObjRef(Type) - ob’ekt bilan muloqot qilish uchun ishlatiladigan proksi ishlab chiqarish uchun zarur bo‘lgan barcha tegishli ma’lumotlarni o‘z ichiga olgan ob’ekt yaratadi. Type - requestedType tipidagi abstrakt tip, array { int::typeid, int::typeid }); kabi aniqlanadi.
6. Dispose() - Bu grafika tomonidan ishlatiladigan barcha resurslarni null qiladi.
7. DrawArc. Bu funksiya uch o‘lchovli sohani ifodalovchi yoyni chizadi. Uning quyidagi variantlari bor:
DrawArc(Pen, Int32, Int32, Int32, Int32, Int32, Int32) - void DrawArc(System::Drawing::Pen ^ pen, int x, int y, int width, int height, int startAngle, int sweepAngle);
DrawArc(Pen, Rectangle, Single, Single) - void DrawArc(System::Drawing::Pen ^ pen, System::Drawing::Rectangle rect, float startAngle, float sweepAngle);
DrawArc(Pen, RectangleF, Single, Single) - void DrawArc(System::Drawing::Pen ^ pen, System::Drawing::RectangleF rect, float startAngle, float sweepAngle);
DrawArc(Pen, Single, Single, Single, Single, Single, Single) - void DrawArc(System::Drawing::Pen ^ pen, float x, float y, float width, float height, float startAngle, float sweepAngle);
DrawArc funksiyasida Pen bu qalam bo‘lib, uning uchun Pen sinfi ishlatiladi. Pen ning 4 ta konstruktori mavjud bo‘lib, Pen(Brush), Pen(Brush, Single), Pen(Color), Pen(Color, Single) konstruktorlardan foydalaniladi, xususiyat va usullarilarni o‘zgartirish orqali o‘rnatish mumkin. Brush bu mo‘yqalam bo‘lib, Brush sinfi ishlatiladi. Brush ning Brush() konstruktori mavjud bo‘lib, xususiyat va usullarilarni o‘zgartirish orqali o‘rnatish mumkin. Funksiyaning qolgan parametrlari barchasi yuqorida keltirilgan parametrlar kabi amalga oshiriladi.
8. DrawBezier. Bu funksiya berilgan 4 ta nuqtali soha uchun splayin chizadi. Uning 3 ta turi bor:
DrawBezier(Pen, Point, Point, Point, Point) - void DrawBezier(System::Drawing::Pen ^ pen, System::Drawing::Point pt1, System::Drawing::Point pt2, System::Drawing::Point pt3, System::Drawing::Point pt4);
DrawBezier(Pen, PointF, PointF, PointF, PointF) - void DrawBezier(System::Drawing::Pen ^ pen, System::Drawing::PointF pt1, System::Drawing::PointF pt2, System::Drawing::PointF pt3, System::Drawing::PointF pt4);
DrawBezier(Pen, Single, Single, Single, Single, Single, Single, Single, Single) - void DrawBezier(System::Drawing::Pen ^ pen, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4);
9. DrawBeziers. Bu funksiya berilgan nuchtalar sohasi uchun splayin chizadi. Uning 2 ta turi bor:
DrawBeziers(Pen, Point[]) - void DrawBeziers(System::Drawing::Pen ^ pen, cli::array ^ points);
DrawBeziers(Pen, PointF[]) - void DrawBeziers(System::Drawing::Pen ^ pen, cli::array ^ points);
Funksiyada Point[] - ikki o‘lchovli tekislikda nuqta belgilaydigan x va y koordinatalar uchun tartibli juftlikni ifodalaydi massivdir.
10. DrawClosedCurve. Bu funksiya yopiq egri chiziq chizishga mo‘ljallangan. Uning 4 ta turi bor:
DrawClosedCurve(Pen, Point[]) - void DrawClosedCurve(System::Drawing::Pen ^ pen, cli::array ^ points);
DrawClosedCurve(Pen, Point[], Single, FillMode) - void DrawClosedCurve(System::Drawing::Pen ^ pen, cli::array ^ points, float tension, System::Drawing::Drawing2D::FillMode fillmode);
DrawClosedCurve(Pen, PointF[]) - void DrawClosedCurve(System::Drawing::Pen ^ pen, cli::array ^ points);
DrawClosedCurve(Pen, PointF[], Single, FillMode) - void DrawClosedCurve(System::Drawing::Pen ^ pen, cli::array ^ points, float tension, System::Drawing::Drawing2D::FillMode fillmode);
Bu funksiyada FillMode tipi bor, bu sohani bo‘yaash turini belgilaydi. FillMode ning 2 xil usuli bor, Alternate - Muqobil to‘ldirish va Winding o‘rab to‘ldirish rejimlarini belgilaydi.
11. DrawCurve. Bu funksiya berilgan parametrlar asosida spalyn (egri chiziq) chizadi. Uning 7 ta turi mavjud.
DrawCurve(Pen, Point[]) - void DrawCurve(System::Drawing::Pen ^ pen, cli::array ^ points);
DrawCurve(Pen, Point[], Int32, Int32, Single) - void DrawCurve(System::Drawing::Pen ^ pen, cli::array ^ points, int offset, int numberOfSegments, float tension);
DrawCurve(Pen, Point[], Single) - void DrawCurve(System::Drawing::Pen ^ pen, cli::array ^ points, float tension);
DrawCurve(Pen, PointF[]) - void DrawCurve(System::Drawing::Pen ^ pen, cli::array ^ points);
DrawCurve(Pen, PointF[], Int32, Int32) - void DrawCurve(System::Drawing::Pen ^ pen, cli::array ^ points, int offset, int numberOfSegments);
DrawCurve(Pen, PointF[], Int32, Int32, Single) - void DrawCurve(System::Drawing::Pen ^ pen, cli::array ^ points, int offset, int numberOfSegments, float tension);
DrawCurve(Pen, PointF[], Single) - void DrawCurve(System::Drawing::Pen ^ pen, cli::array ^ points, float tension);
Bu funksiyaning barcha parametrlari tasniflangan.
12. DrawEllipse. Bu funksiya berilgan parametrlar asosida ellipis chizadi. Uning 4 ta turi mavjud.
DrawEllipse(Pen, Int32, Int32, Int32, Int32) - void DrawEllipse(System::Drawing::Pen ^ pen, int x, int y, int width, int height);
DrawEllipse(Pen, Rectangle) - void DrawEllipse(System::Drawing::Pen ^ pen, System::Drawing::Rectangle rect);
DrawEllipse(Pen, RectangleF) - void DrawEllipse(System::Drawing::Pen ^ pen, System::Drawing::RectangleF rect);
DrawEllipse(Pen, Single, Single, Single, Single) - void DrawEllipse(System::Drawing::Pen ^ pen, float x, float y, float width, float height);
Bu funksiyaning barcha parametrlari tasniflangan.
13. DrawIcon. Bu funksiya berilgan parametrlar asosida belgilangan belgi bo‘yicha chizadi. Uning 3 ta turi mavjud.
DrawIcon(Icon, Int32, Int32) - void DrawIcon(System::Drawing::Icon ^ icon, int x, int y);
DrawIcon(Icon, Rectangle) - void DrawIcon(System::Drawing::Icon ^ icon, System::Drawing::Rectangle targetRect);
DrawIconUnstretched(Icon, Rectangle) - void DrawIconUnstretched(System::Drawing::Icon ^ icon, System::Drawing::Rectangle targetRect);
Bu funksiyaning barcha parametrlari tasniflangan.
14. DrawImage. Bu funksiya berilgan parametrlar asosida belgilangan tasvirni chizadi. Uning 30 ta turi mavjud.
DrawImage(Image, Int32, Int32)- void DrawImage(System::Drawing::Image ^ image, int x, int y);
DrawImage(Image, Int32, Int32, Int32, Int32) - void DrawImage(System::Drawing::Image ^ image, int x, int y, int width, int height);
DrawImage(Image, Int32, Int32, Rectangle, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, int x, int y, System::Drawing::Rectangle srcRect, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image, Point) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Point point);
DrawImage(Image, Point[]) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints);
DrawImage(Image, Point[], Rectangle, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints, System::Drawing::Rectangle srcRect, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints, System::Drawing::Rectangle srcRect, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr);
DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints, System::Drawing::Rectangle srcRect, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr, System::Drawing::Graphics::DrawImageAbort ^ callback);
DrawImage(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints, System::Drawing::Rectangle srcRect, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr, System::Drawing::Graphics::DrawImageAbort ^ callback, int callbackData);
DrawImage(Image, PointF) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::PointF point);
DrawImage(Image, PointF[]) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints);
DrawImage(Image, PointF[], RectangleF, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints, System::Drawing::RectangleF srcRect, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints, System::Drawing::RectangleF srcRect, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr);
DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) - void DrawImage(System::Drawing::Image ^ image, cli::array ^ destPoints, System::Drawing::RectangleF srcRect, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr, System::Drawing::Graphics::DrawImageAbort ^ callback);
DrawImage(Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, Int32) - ^ destPoints, System::Drawing::RectangleF srcRect, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr, System::Drawing::Graphics::DrawImageAbort ^ callback, int callbackData);
DrawImage(Image, Rectangle) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle rect);
DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr);
DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttr, System::Drawing::Graphics::DrawImageAbort ^ callback);
DrawImage(Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttrs, System::Drawing::Graphics::DrawImageAbort ^ callback, IntPtr callbackData);
DrawImage(Image, Rectangle, Rectangle, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, System::Drawing::Rectangle srcRect, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttrs);
DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttrs, System::Drawing::Graphics::DrawImageAbort ^ callback);
DrawImage(Image, Rectangle, Single, Single, Single, Single, GraphicsUnit, ImageAttributes, Graphics+DrawImageAbort, IntPtr) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::Rectangle destRect, float srcX, float srcY, float srcWidth, float srcHeight, System::Drawing::GraphicsUnit srcUnit, System::Drawing::Imaging::ImageAttributes ^ imageAttrs, System::Drawing::Graphics::DrawImageAbort ^ callback, IntPtr callbackData);
DrawImage(Image,RectangleF)-voidDrawImage(System::Drawing::Image^image,System::Drawing::RectangleF rect);
DrawImage(Image, RectangleF, RectangleF, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, System::Drawing::RectangleF destRect,System::Drawing::RectangleFsrcRect, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image,Single,Single)voidDrawImage(System::Drawing::Image ^ image, float x, float y);
DrawImage(Image, Single, Single, RectangleF, GraphicsUnit) - void DrawImage(System::Drawing::Image ^ image, float x, float y, System::Drawing::RectangleF srcRect, System::Drawing::GraphicsUnit srcUnit);
DrawImage(Image, Single, Single, Single, Single) - void DrawImage(System::Drawing::Image ^ image, float x, float y, float width, float height);
Dostları ilə paylaş: |