Another technique you can use to get the Graphics object of a control is to call the Graphics.FromHwnd() static method.
Une autre technique, que vous pouvez utiliser pour obtenir l'objet graphique d'un contrôle consiste à appeler la méthode statique Graphics.FromHwnd().
The present invention relates to a computer implemented method for optimizing polygon reductions of a three-dimensional graphics object.
La présente invention concerne un procédé mis en oeuvre par ordinateur pour optimiser les réductions polygonales d'un objet graphique tridimensionnel.
After the method has been called, it produces a Graphics object.
Une fois que la méthode a été appelée, elle produit un objet Graphics.
This platform is a Graphics object.
You can access the Graphics object as follows
The forms are managed by a Graphics object ().
Les formes elles-mêmes sont gérées par un objet Graphics().
The argument passed to it must be a handle to the object whose Graphics object you want to access.
L'argument transmis doit être un pointeur vers l'objet Graphics vous souhaitez accéder.
As mentioned above, before drawing, make sure you have a Graphics object, which depends on your approach to drawing.
Comme mentionné ci-dessus, avant le dessin, assurez-vous que vous disposez d'un objet Graphics, qui dépend de votre approche de dessin.
The argument passed to it must be a handle to the object whose Graphics object you want to access.
L'argument qui lui est passé doit être un handle de l'objet dont vous voulez utiliser l'objet Graphics.
Because almost every method in GDI+ requires a Graphics object as a context in which to display output, it's simplest to pass that Graphics context as a parameter to the clock's Draw method from the Paint event of the form.
Du fait que presque chaque méthode GDI+ requiert un objet Graphics comme contexte dans lequel afficher le résultat, le plus simple est de transmettre ce contexte Graphics comme paramètre à la méthode Draw de l'horloge à partir de l'événement Paint du formulaire.
As you can see, the CreateGraphics() method returns the Graphics object of the variable you call it from.
Comme vous pouvez le voir, la méthode CreateGraphics() renvoie l'objet Graphics de la variable à partir de laquelle vous l'appelez.
In our introduction to graphics, we saw various ways of getting a getting a Graphics object, either from the CreateGraphics() method of a Control-derived class or from the handle of the control.
Dans notre introduction aux graphiques, nous avions vu plusieurs manières d'obtenir an objet Graphics, soit en appelant la méthode CreateGraphics() d'une classe dérivée de Control ou à partir d'un handle du contrôle.
A method and editing processor for adding graphics object with simple manner
Procédé et modification de processeur pour ajouter des objets graphiques de façon simple