EZDraw++  1.2.2-3
Une mini-bibliothèque minimale pour réaliser un programme graphique en C++ sur Windows ou Linux
Classes | Définitions de type | Énumérations | Fonctions | Variables
Référence du fichier ez-draw++.hpp

Le fichier d'en-tête C++ nécessaire à l'utilisation des fonctionnalités d'EZ-Draw++. Plus de détails...

#include <iostream>
#include <string>
#include <stdexcept>
#include <map>
Graphe des dépendances par inclusion de ez-draw++.hpp:

Aller au code source de ce fichier.

Classes

class  EZEvent
 La classe EZEvent représente un événement à traiter de l'interface graphique : clic de la souris, touche du clavier pressée ou relachée, etc. Plus de détails...
 
class  EZWindow
 La classe EZWindow correspond à une fenêtre sous Windows ou sous UNIX. Plus de détails...
 
class  EZDraw
 Une instance de la classe EZDraw est nécessaire au bon fonctionnement de votre application. Plus de détails...
 
class  EZPixel
 La classe EZPixel représente un pixel dans une EZImage. Plus de détails...
 
class  EZImage
 La classe EZImage permet de conserver une image en mémoire puis de la tracer à l'écran. Plus de détails...
 
class  EZPixmap
 La classe EZPixmap permet d'améliorer nettement les performances de tracé à l'écran par rapport à la classe EZImage qui est plus générale mais aussi plus lente. Plus de détails...
 

Définitions de type

typedef unsigned char EZuint8
 Type entier 8 bits non-signé permettant de représenter une valeur entre 0 et 255 inclus.
 
typedef unsigned int EZColor
 Type entier (non-signé) permettant de représenter une valeur de couleur. Plus de détails...
 

Énumérations

enum  EZAlign {
  EZAlign::TL, EZAlign::TC, EZAlign::TR, EZAlign::ML, EZAlign::MC,
  EZAlign::MR, EZAlign::BL, EZAlign::BC, EZAlign::BR, EZAlign::TLF,
  EZAlign::TCF, EZAlign::TRF, EZAlign::MLF, EZAlign::MCF, EZAlign::MRF,
  EZAlign::BLF, EZAlign::BCF, EZAlign::BRF
}
 Le type énuméré EZAlign contient un ensemble de constantes permettant d'exprimer la façon ton un texte doit être aligné lors de son écriture dans une fenêtre par rapport au point de référence. Plus de détails...
 
enum  EZKeySym {
  EZKeySym::BackSpace, EZKeySym::Tab, EZKeySym::Return, EZKeySym::Pause, EZKeySym::Scroll_Lock,
  EZKeySym::Escape, EZKeySym::Delete, EZKeySym::Home, EZKeySym::Left, EZKeySym::Up,
  EZKeySym::Right, EZKeySym::Down, EZKeySym::Prior, EZKeySym::Next, EZKeySym::End,
  EZKeySym::Insert, EZKeySym::Menu, EZKeySym::Num_Lock, EZKeySym::KP_Enter, EZKeySym::KP_Home,
  EZKeySym::KP_Left, EZKeySym::KP_Up, EZKeySym::KP_Right, EZKeySym::KP_Down, EZKeySym::KP_Prior,
  EZKeySym::KP_Next, EZKeySym::KP_End, EZKeySym::KP_Begin, EZKeySym::KP_Equal, EZKeySym::KP_Multiply,
  EZKeySym::KP_Add, EZKeySym::KP_Separator, EZKeySym::KP_Subtract, EZKeySym::KP_Divide, EZKeySym::KP_0,
  EZKeySym::KP_1, EZKeySym::KP_2, EZKeySym::KP_3, EZKeySym::KP_4, EZKeySym::KP_5,
  EZKeySym::KP_6, EZKeySym::KP_7, EZKeySym::KP_8, EZKeySym::KP_9, EZKeySym::F1,
  EZKeySym::F2, EZKeySym::F3, EZKeySym::F4, EZKeySym::F5, EZKeySym::F6,
  EZKeySym::F7, EZKeySym::F8, EZKeySym::F9, EZKeySym::F10, EZKeySym::F11,
  EZKeySym::F12, EZKeySym::Shift_L, EZKeySym::Shift_R, EZKeySym::Control_L, EZKeySym::Control_R,
  EZKeySym::Caps_Lock, EZKeySym::Meta_L, EZKeySym::Meta_R, EZKeySym::Alt_L, EZKeySym::Alt_R,
  EZKeySym::space, EZKeySym::exclam, EZKeySym::quotedbl, EZKeySym::numbersign, EZKeySym::dollar,
  EZKeySym::percent, EZKeySym::ampersand, EZKeySym::apostrophe, EZKeySym::parenleft, EZKeySym::parenright,
  EZKeySym::asterisk, EZKeySym::plus, EZKeySym::comma, EZKeySym::minus, EZKeySym::period,
  EZKeySym::slash, EZKeySym::_0, EZKeySym::_1, EZKeySym::_2, EZKeySym::_3,
  EZKeySym::_4, EZKeySym::_5, EZKeySym::_6, EZKeySym::_7, EZKeySym::_8,
  EZKeySym::_9, EZKeySym::colon, EZKeySym::semicolon, EZKeySym::less, EZKeySym::equal,
  EZKeySym::greater, EZKeySym::question, EZKeySym::at, EZKeySym::A, EZKeySym::B,
  EZKeySym::C, EZKeySym::D, EZKeySym::E, EZKeySym::F, EZKeySym::G,
  EZKeySym::H, EZKeySym::I, EZKeySym::J, EZKeySym::K, EZKeySym::L,
  EZKeySym::M, EZKeySym::N, EZKeySym::O, EZKeySym::P, EZKeySym::Q,
  EZKeySym::R, EZKeySym::S, EZKeySym::T, EZKeySym::U, EZKeySym::V,
  EZKeySym::W, EZKeySym::X, EZKeySym::Y, EZKeySym::Z, EZKeySym::bracketleft,
  EZKeySym::backslash, EZKeySym::bracketright, EZKeySym::asciicircum, EZKeySym::underscore, EZKeySym::grave,
  EZKeySym::a, EZKeySym::b, EZKeySym::c, EZKeySym::d, EZKeySym::e,
  EZKeySym::f, EZKeySym::g, EZKeySym::h, EZKeySym::i, EZKeySym::j,
  EZKeySym::k, EZKeySym::l, EZKeySym::m, EZKeySym::n, EZKeySym::o,
  EZKeySym::p, EZKeySym::q, EZKeySym::r, EZKeySym::s, EZKeySym::t,
  EZKeySym::u, EZKeySym::v, EZKeySym::w, EZKeySym::x, EZKeySym::y,
  EZKeySym::z, EZKeySym::braceleft, EZKeySym::bar, EZKeySym::braceright, EZKeySym::asciitilde,
  EZKeySym::nobreakspace, exclamdown, cent, sterling, currency,
  yen, brokenbar, section, diaeresis, copyright,
  ordfeminine, guillemotleft, notsign, hyphen, registered,
  macron, degree, plusminus, EZKeySym::twosuperior, threesuperior,
  acute, mu, paragraph, periodcentered, cedilla,
  onesuperior, masculine, guillemotright, onequarter, onehalf,
  threequarters, questiondown, Agrave, Aacute, Acircumflex,
  Atilde, Adiaeresis, Aring, AE, Ccedilla,
  Egrave, Eacute, Ecircumflex, Ediaeresis, Igrave,
  Iacute, Icircumflex, Idiaeresis, ETH, Ntilde,
  Ograve, Oacute, Ocircumflex, Otilde, Odiaeresis,
  multiply, Oslash, Ugrave, Uacute, Ucircumflex,
  Udiaeresis, Yacute, THORN, ssharp, agrave,
  aacute, acircumflex, atilde, adiaeresis, aring,
  ae, ccedilla, egrave, eacute, ecircumflex,
  ediaeresis, igrave, iacute, icircumflex, idiaeresis,
  eth, ntilde, ograve, oacute, ocircumflex,
  otilde, odiaeresis, division, oslash, ugrave,
  uacute, ucircumflex, udiaeresis, yacute, thorn,
  ydiaeresis, EuroSign
}
 Ce type énuméré rassemble la liste des identifiants permettant d'indiquer une touche de clavier. Plus de détails...
 

Fonctions

std::ostream & operator<< (std::ostream &os, const EZKeySym &k)
 Opérateur d'injection d'un EZKeySym sur un flux. Plus de détails...
 

Variables

EZColor ez_black
 Ensemble de constantes permettant de dessiner simplement dans les couleurs les plus fréquentes (sans devoir utiliser EZWindow::getRGB() par exemple). Plus de détails...
 
EZColor ez_white
 Blanc.
 
EZColor ez_grey
 Gris.
 
EZColor ez_red
 Rouge.
 
EZColor ez_green
 Vert.
 
EZColor ez_blue
 Bleu.
 
EZColor ez_yellow
 Jaune.
 
EZColor ez_cyan
 Cyan.
 
EZColor ez_magenta
 Magenta.
 

Description détaillée

Le fichier d'en-tête C++ nécessaire à l'utilisation des fonctionnalités d'EZ-Draw++.