Hi, is possible to create a graph using GRAPH_CreateEx into a memory device instead of a window?
I'd like to use it for redirect the graph image to the printer without display it on tft.
I tried with something like ::
----------------
hMem = GUI_MEMDEV_CreateFixed(0, 0, 100, 100, GUI_MEMDEV_NOTRANS, GUI_MEMDEV_APILIST_32, GUICC_888);
GUI_MEMDEV_Select(hMem);
GUI_SetBkColor(GUI_WHITE);
GUI_Clear();
hgraph = GRAPH_CreateEx(0, 0, 100, 100, WM_UNATTACHED, WM_CF_SHOW | WM_CF_STAYONTOP, 0, ID_GRAPH_0);
...(hgraph setting)
PrintImageBMP(hDest, ..);
--------------------
but i can not see anything in the memory device.
If i draw simple 2D graphics it works well!
Have You any suggestions?
Thank You so much
Simone ?(
I'd like to use it for redirect the graph image to the printer without display it on tft.
I tried with something like ::
----------------
hMem = GUI_MEMDEV_CreateFixed(0, 0, 100, 100, GUI_MEMDEV_NOTRANS, GUI_MEMDEV_APILIST_32, GUICC_888);
GUI_MEMDEV_Select(hMem);
GUI_SetBkColor(GUI_WHITE);
GUI_Clear();
hgraph = GRAPH_CreateEx(0, 0, 100, 100, WM_UNATTACHED, WM_CF_SHOW | WM_CF_STAYONTOP, 0, ID_GRAPH_0);
...(hgraph setting)
PrintImageBMP(hDest, ..);
--------------------
but i can not see anything in the memory device.
If i draw simple 2D graphics it works well!
Have You any suggestions?
Thank You so much
Simone ?(