Hi Jose,
just stumpeld over a compile error :: undefined reference to `AFXNOVA::CGPGRAPHICS::SCALETRANSFORMFORDPI(int) with both files
Did I miss something for the just dowloaded AfxNova-main 2025-10-31 20:11:47 (MEZ)
with the internal time : 2025-10-31 12:01:42 (GMT-7)
my gdiplus.dll - 2025-10-28 (win_11_Pro_DE) 10_0_26100_7019 w. 1.933.312 bytes
Thanks for reply in advance
Apparently I forgot to update CGpGraphics.inc in the repository. Download the one that I have just reuploaded.
I'm currently updating the documentation and adding new examples. This leads to changes, like adding new overloaded methods. ScarleWorldTransformForDpi and SetResolutionForDpi are two recent additions that simplify making GDI+ DPI aware.
Sorry for the inconvenience, but the GDI+ classes are a work in progress. I have needed to write my own headers because the ones provided with the FreeBasic compiler are a very big mess.
hi, - don't worry - no problem -
and thanks s lot again for your hard work on this subject.
p.s. I try form time to time to follow up .
I kown that all is a beta and in the flow an such glitches can happen.
but I'm sorry that the new version uploaded causes other errors now :
... inc\AfxNova\CGpGraphics.inc(1089) error 158: Declaration outside the original namespace or class in 'BYVAL srcrect AS GpRectF PTR, BYVAL srcUnit AS GpUnit) AS GpStatus'
... inc\AfxNova\CGpGraphics.inc(1090) error 214: Member isn't static, before 'GdipDrawImagePointRect' in 'RETURN SetStatus(GdipDrawImagePointRect(m_pGraphics, pImage->m_pImage, x, y, srcrect->x, srcrect->y, srcrect->Width, srcrect->Height, srcUnit))'
... inc\AfxNova\CGpGraphics.inc(1095) error 158: Declaration outside the original namespace or class in 'BYVAL srcrect AS GpRect PTR, BYVAL srcUnit AS GpUnit) AS GpStatus'
... inc\AfxNova\CGpGraphics.inc(1096) error 214: Member isn't static, before 'GdipDrawImagePointRectI' in 'RETURN SetStatus(GdipDrawImagePointRectI(m_pGraphics, pImage->m_pImage, x, y, srcrect->x, srcrect->y, srcrect->width, srcrect->height, srcUnit))'
Must be out of sync. I will have to reupload all the include files.
hi, just let you know -
now it works fine with the upload (afxNova ,internal-zip 2025-10-31 22:51 (GMT-7) )
( Gdi+ Set/Get BruschColor , and also no more compilererror and/or crash )
Thanks
Thanks very much for trying. I'm in the process of adding new examples to test all the methods and this leads to some changes. If you forget to upload the file or files changed they're out of sync and causes these errors. GDI+ with about 600 functions is very huge.