login.php profile.php?mode=register faq.php memberlist.php search.php index.php

Index du Forum » Les Commandes » Vos Commandes » Question about use of 2-D Graphic API?
Poster un nouveau sujet  Répondre au sujet Sujet précédent :: Sujet suivant 
Question about use of 2-D Graphic API?
MessagePosté le: Lun 23 Oct - 15:06 (2017) Répondre en citant
Langue pendue
Langue pendue

Hors ligne
Inscrit le: 09 Oct 2017
Messages: 205


    I want to use the graphic APi to create a bar graph. My question is whether GUI_FillRect() will be able to draw within a dialog box created using GUI_CreateDialogBox()? What I am trying to do is hand-render some data that needs to be graphed on my window. I created most of the window using the GUIBuilder and everything is working fine except I'm having trouble with the graph part. I only want to draw the graph when some data changes that necessitates re-rendering of the graph. I have other items that are changing on the screen like some status text, the time of day, etc. The function that renders the graph is called from WM_PAINT but I don't want to re-render the graph every time WM_PAINT is called. I am using functions like GUI_DrawHLine, GUI_DRawVLine, GUI_SetColor, GUI_DrawPoint to render the graph. What's the recommended way for me to accomplish this?

 Please help.

I didn't find the right solution from the Internet.


online product teaser

MessagePosté le: Lun 23 Oct - 15:06 (2017)

PublicitéSupprimer les publicités ?
Question about use of 2-D Graphic API?
Index du Forum » Vos Commandes
Toutes les heures sont au format GMT + 2 Heures  
Page 1 sur 1  

 Poster un nouveau sujet  Répondre au sujet  

Index | forum gratuit | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Powered by phpBB © 2001-2004 phpBB Group
Designed for Trushkin.net | Themes Database
Traduction par : phpBB-fr.com