Originally posted by: Sangkil Choi
Hi all,
what is the counterpart for GDI's function PolyPolygon in GDI+ such as Graphics::FillPolyPolygon()?
Thanks in advance,
Originally posted by: @AM
Created default VC++ 6.0 Hello world no MFC app.
Add to StdAfx.h after windows.h
#include <gdiplus.h>
using namespace Gdiplus
Directories changed to MSSDK\include, MSSDK\lib
gdiplus.lib added
gdi initialized and so on. Just stupidly took code from MSDN gdi+ example...
Still get:
c:\sdk\microsoft sdk\include\gdiplusimaging.h(67) : error C2501: 'MIDL_INTERFACE' : missing storage-class or type specifiers
c:\sdk\microsoft sdk\include\gdiplusimaging.h(67) : error C2440: 'initializing' : cannot convert from 'char [37]' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
and so on
If anybody can help - I'll appreciate
Cheers
Originally posted by: umar
would u plz guide me where is the problemmm
Hi,
I am facing exception on this line ...
Image Im(L"c:\\fig.jpg", FALSE);
umar
Originally posted by: Jobin M Joy
Regards Jobin
Hi,
I am not able to display a particular tiff file, using GDI+. The Tiff file is genearated using the lviff2tiff() conversion function of Khoros.
Please help
Originally posted by: shann
Hiie all,
i have a doubt in frameset.how can i make a frameset minize and maximize.suppose i have a frameset with 4 window.i want all the window can minimize and maximize.
is anyone there who can help me to solve my problem ?
i will be very grateful to him.
regards
Sanjib
Originally posted by: Jiri
Hi, I'm compiling project in C++Builder 6.0 and one of source files contains
#include <Windows.h>
#include <GdiPlus.h>
using namespace Gdiplus;
but compiler gives me errors
[C++ Error] GdiplusTypes.h(459): E2268 Call to undefined function 'min'
[C++ Error] GdiplusTypes.h(461): E2268 Call to undefined function 'max'
[C++ Warning] GdiplusHeaders.h(582): W8022 'Bitmap::Clone(const Rect &,int)' hides virtual function 'Image::Clone()'
[C++ Error] GdiplusGraphics.h(34): E2015 Ambiguity between 'Gdiplus::Graphics::Graphics(void *)' and 'Gdiplus::Graphics::Graphics(void *,int)'
please help!
Jiri
ReplyOriginally posted by: kai
How to transparent Image jpeg and bitmap with gdi+
ReplyOriginally posted by: Chris
Hi,
I'm interested in using GDI+ with C++Builder 6.
Some other comments on this site helped me to set the whole thing up, and my first project now compiles without any problems.
Non-visual issues like converting jpeg files to gif format all work fine,
but as soon as I try to draw something onto my Form, just nothing appears! This is my code so far:
...
using namespace Gdiplus;
Gdiplus::Graphics g(GetDC(Form1),false);
Pen pen(Gdiplus::Color(0,0,0),30.0f);
g.SetSmoothingMode(Gdiplus::SmoothingModeAntiAlias);
g.DrawLine(&pen,0,0,500,500);
...
I would be pleased if anybody could send me a working C++Builder-Sample project.
thx in advance,
Chris.
how can you eliminate the error that "GdiplusGraphics.h(34): E2015 Ambiguity between 'Gdiplus::Graphics::Graphics(void *)' and 'Gdiplus::Graphics::Graphics(void *,int)' ..." ? ? ? and doesn't your lib file have a problem like "contains invalid omf record... ". if so, your gdiplus.dll is compiled for borland. if you don't mind could you send it to me? please help me.. thanks
ReplyOriginally posted by: Thomas
I'm try to convert an Resource Icon to gif-File.
So I load the Icon (16x16 256) from the resource, create a Bitmap,
How can I convert these pixels?
Any suggestions?
Hello.
convert it to gif and write it to a file. My problem is, the transparent
pixel from the icon are not convert, they are black.
Originally posted by: Roy
Hi.
My program can display other format image file.
Also it read tiff file.
But don't display tiff file.
what problem?
help me!