Примеры с GDI+ (32 шт)
Данные примеры изначально в большинстве своем написаны на сайте MicroSoft. Но там они разбросаны и зачастую не для каждой функции можно найти пример. Я нашел архив с немалым кол-вом примеров по библиотеке GDI+ правда для среды Delphi . Часть из них адаптировал на FreeBasic. Будет настрой , перепишу остальные. А пока в примерах можно найти использование функций:
gdipaddpatharc gdipaddpathcurve gdipaddpathellipse gdipaddpathline gdipaddpathline2 gdipaddpathrectangle gdipbitmapgetpixel gdipbitmapsetpixel gdipclosepathfigure gdipcreatebitmapfromscan0 gdipcreatefont gdipcreatefontfamilyfromname gdipcreatefromhdc gdipcreateimageattributes gdipcreatelinebrush gdipcreatemetafilefromfile gdipcreatepath gdipcreatepathgradientfrompath gdipcreatepathgradienti gdipcreatepen1 gdipcreatepen2 gdipcreateregion gdipcreatesolidfill gdipcreatestringformat gdipdeletebrush gdipdeletefont gdipdeletefontfamily gdipdeletegraphics gdipdeletepath gdipdeletepen gdipdeleteregion gdipdeletestringformat gdipdisposeimage gdipdisposeimageattributes gdipdrawbeziers gdipdrawclosedcurve2 gdipdrawcurve2 gdipdrawdriverstring gdipdrawimage gdipdrawimagerectrect gdipdrawline gdipdrawpath gdipdrawrectangles gdipdrawstring gdipenumeratemetafiledestpoint gdipfillellipse gdipfillpath gdipfillrectangle gdipfillregion gdipgetimagegraphicscontext gdipgetimageheight gdipgetimagewidth gdipgetstringformatmeasurablecharacterrangecount gdipgraphicsclear gdiploadimagefromfile gdipmeasurecharacterranges gdipmeasuredriverstring gdipplaymetafilerecord gdipresetpath gdipresetworldtransform gdiprotateworldtransform gdipscaleworldtransform gdipsetcompositingmode gdipsetcompositingquality gdipsetimageattributescolormatrix gdipsetimageattributesremaptable gdipsetlineblend gdipsetlinegammacorrection gdipsetlinepresetblend gdipsetpathgradientcentercolor gdipsetpathgradientcenterpointi gdipsetpathgradientfocusscales gdipsetpathgradientgammacorrection gdipsetpathgradientsurroundcolorswithcount gdipsetsolidfillcolor gdipsetstringformatflags gdipsetstringformatmeasurablecharacterranges gdipstartpathfigure gdiptranslateworldtransform
Некоторые скриншоты примеров: