1
\section{Référence du fichier /opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-surface-factory.h}
2
\label{cairo-dock-surface-factory_8h}\index{/opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-surface-factory.h@{/opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-surface-factory.h}}
6
\#define {\bf cairo\_\-dock\_\-create\_\-surface\_\-for\_\-square\_\-icon}(cImagePath, pSourceContext, fImageSize)~cairo\_\-dock\_\-create\_\-surface\_\-for\_\-icon (cImagePath, pSourceContext, fImageSize, fImageSize)
8
\subsection*{Fonctions}
11
void {\bf cairo\_\-dock\_\-calculate\_\-contrainted\_\-icon\_\-size} (double $\ast$fImageWidth, double $\ast$fImageHeight, int iMinIconAuthorizedWidth, int iMinIconAuthorizedHeight, int iMaxIconAuthorizedWidth, int iMaxIconAuthorizedHeight, double $\ast$fIconWidthSaturationFactor, double $\ast$fIconHeightSaturationFactor)
13
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-create\_\-surface\_\-from\_\-xicon\_\-buffer} (gulong $\ast$pXIconBuffer, int iBufferNbElements, cairo\_\-t $\ast$pSourceContext, double fMaxScale, double $\ast$fWidth, double $\ast$fHeight)
15
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-create\_\-surface\_\-from\_\-pixbuf} (GdkPixbuf $\ast$pixbuf, cairo\_\-t $\ast$pSourceContext, double fMaxScale, gboolean bConstraintSize, int iMinIconAuthorizedWidth, int iMinIconAuthorizedHeight, int iMaxIconAuthorizedWidth, int iMaxIconAuthorizedHeight, double $\ast$fImageWidth, double $\ast$fImageHeight)
17
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-create\_\-surface\_\-from\_\-image} (gchar $\ast$cImagePath, cairo\_\-t $\ast$pSourceContext, double fMaxScale, int iMinIconAuthorizedWidth, int iMinIconAuthorizedHeight, int iMaxIconAuthorizedWidth, int iMaxIconAuthorizedHeight, double $\ast$fImageWidth, double $\ast$fImageHeight, double fRotationAngle, double fAlpha, gboolean bReapeatAsPattern)
19
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-create\_\-surface\_\-for\_\-icon} (gchar $\ast$cImagePath, cairo\_\-t $\ast$pSourceContext, double fImageWidth, double fImageHeight)
21
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-rotate\_\-surface} (cairo\_\-surface\_\-t $\ast$pSurface, cairo\_\-t $\ast$pSourceContext, double fImageWidth, double fImageHeight, double fRotationAngle)
23
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-create\_\-reflection\_\-surface} (cairo\_\-surface\_\-t $\ast$pSurface, cairo\_\-t $\ast$pSourceContext, double fImageWidth, double fImageHeight, gboolean b\_\-HorizontalDock, double fMaxScale)
25
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-create\_\-icon\_\-surface\_\-with\_\-reflection} (cairo\_\-surface\_\-t $\ast$pIconSurface, cairo\_\-surface\_\-t $\ast$pReflectionSurface, cairo\_\-t $\ast$pSourceContext, double fImageWidth, double fImageHeight, gboolean bHorizontalDock, double fMaxScale)
27
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-create\_\-surface\_\-from\_\-text} (gchar $\ast$cText, cairo\_\-t $\ast$pSourceContext, int iLabelSize, gchar $\ast$cLabelPolice, int iLabelWeight, double $\ast$fBackgroundColor, double fMaxScale, int $\ast$iTextWidth, int $\ast$iTextHeight, double $\ast$fTextXOffset, double $\ast$fTextYOffset)
29
cairo\_\-surface\_\-t $\ast$ {\bf cairo\_\-dock\_\-duplicate\_\-surface} (cairo\_\-surface\_\-t $\ast$pSurface, cairo\_\-t $\ast$pSourceContext, double fWidth, double fHeight, double fDesiredWidth, double fDesiredHeight)
33
\subsection{Documentation des macros}
34
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_surface_for_square_icon@{cairo\_\-dock\_\-create\_\-surface\_\-for\_\-square\_\-icon}}
35
\index{cairo_dock_create_surface_for_square_icon@{cairo\_\-dock\_\-create\_\-surface\_\-for\_\-square\_\-icon}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
36
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define cairo\_\-dock\_\-create\_\-surface\_\-for\_\-square\_\-icon(cImagePath, pSourceContext, fImageSize)~cairo\_\-dock\_\-create\_\-surface\_\-for\_\-icon (cImagePath, pSourceContext, fImageSize, fImageSize)}\label{cairo-dock-surface-factory_8h_5a46860771e8a7ec70e00ac7f894efbf}
41
\subsection{Documentation des fonctions}
42
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_calculate_contrainted_icon_size@{cairo\_\-dock\_\-calculate\_\-contrainted\_\-icon\_\-size}}
43
\index{cairo_dock_calculate_contrainted_icon_size@{cairo\_\-dock\_\-calculate\_\-contrainted\_\-icon\_\-size}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
44
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void cairo\_\-dock\_\-calculate\_\-contrainted\_\-icon\_\-size (double $\ast$ {\em fImageWidth}, double $\ast$ {\em fImageHeight}, int {\em iMinIconAuthorizedWidth}, int {\em iMinIconAuthorizedHeight}, int {\em iMaxIconAuthorizedWidth}, int {\em iMaxIconAuthorizedHeight}, double $\ast$ {\em fIconWidthSaturationFactor}, double $\ast$ {\em fIconHeightSaturationFactor})}\label{cairo-dock-surface-factory_8h_4c7687cc4b5a7ff06680a60d493193d9}
47
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_surface_from_xicon_buffer@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-xicon\_\-buffer}}
48
\index{cairo_dock_create_surface_from_xicon_buffer@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-xicon\_\-buffer}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
49
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-create\_\-surface\_\-from\_\-xicon\_\-buffer (gulong $\ast$ {\em pXIconBuffer}, int {\em iBufferNbElements}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fMaxScale}, double $\ast$ {\em fWidth}, double $\ast$ {\em fHeight})}\label{cairo-dock-surface-factory_8h_8b6a3e0b8a54450c1a667e558bfd7943}
52
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_surface_from_pixbuf@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-pixbuf}}
53
\index{cairo_dock_create_surface_from_pixbuf@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-pixbuf}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
54
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-create\_\-surface\_\-from\_\-pixbuf (GdkPixbuf $\ast$ {\em pixbuf}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fMaxScale}, gboolean {\em bConstraintSize}, int {\em iMinIconAuthorizedWidth}, int {\em iMinIconAuthorizedHeight}, int {\em iMaxIconAuthorizedWidth}, int {\em iMaxIconAuthorizedHeight}, double $\ast$ {\em fImageWidth}, double $\ast$ {\em fImageHeight})}\label{cairo-dock-surface-factory_8h_407975a48fc32a8ce923f215083b16f7}
57
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_surface_from_image@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-image}}
58
\index{cairo_dock_create_surface_from_image@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-image}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
59
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-create\_\-surface\_\-from\_\-image (gchar $\ast$ {\em cImagePath}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fMaxScale}, int {\em iMinIconAuthorizedWidth}, int {\em iMinIconAuthorizedHeight}, int {\em iMaxIconAuthorizedWidth}, int {\em iMaxIconAuthorizedHeight}, double $\ast$ {\em fImageWidth}, double $\ast$ {\em fImageHeight}, double {\em fRotationAngle}, double {\em fAlpha}, gboolean {\em bReapeatAsPattern})}\label{cairo-dock-surface-factory_8h_61e4d4ae332553013a6cd11f93540d90}
62
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_surface_for_icon@{cairo\_\-dock\_\-create\_\-surface\_\-for\_\-icon}}
63
\index{cairo_dock_create_surface_for_icon@{cairo\_\-dock\_\-create\_\-surface\_\-for\_\-icon}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
64
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-create\_\-surface\_\-for\_\-icon (gchar $\ast$ {\em cImagePath}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fImageWidth}, double {\em fImageHeight})}\label{cairo-dock-surface-factory_8h_a9a2ef8f9a86b8fe1de100679fcd13f6}
67
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_rotate_surface@{cairo\_\-dock\_\-rotate\_\-surface}}
68
\index{cairo_dock_rotate_surface@{cairo\_\-dock\_\-rotate\_\-surface}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
69
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-rotate\_\-surface (cairo\_\-surface\_\-t $\ast$ {\em pSurface}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fImageWidth}, double {\em fImageHeight}, double {\em fRotationAngle})}\label{cairo-dock-surface-factory_8h_bb4e67760f9d84c7867bd7598a55406a}
72
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_reflection_surface@{cairo\_\-dock\_\-create\_\-reflection\_\-surface}}
73
\index{cairo_dock_create_reflection_surface@{cairo\_\-dock\_\-create\_\-reflection\_\-surface}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
74
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-create\_\-reflection\_\-surface (cairo\_\-surface\_\-t $\ast$ {\em pSurface}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fImageWidth}, double {\em fImageHeight}, gboolean {\em b\_\-HorizontalDock}, double {\em fMaxScale})}\label{cairo-dock-surface-factory_8h_3f82013275ca984d687aad35bc2526aa}
77
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_icon_surface_with_reflection@{cairo\_\-dock\_\-create\_\-icon\_\-surface\_\-with\_\-reflection}}
78
\index{cairo_dock_create_icon_surface_with_reflection@{cairo\_\-dock\_\-create\_\-icon\_\-surface\_\-with\_\-reflection}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
79
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-create\_\-icon\_\-surface\_\-with\_\-reflection (cairo\_\-surface\_\-t $\ast$ {\em pIconSurface}, cairo\_\-surface\_\-t $\ast$ {\em pReflectionSurface}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fImageWidth}, double {\em fImageHeight}, gboolean {\em bHorizontalDock}, double {\em fMaxScale})}\label{cairo-dock-surface-factory_8h_0609de809472a71aae558f653c3afd22}
82
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_create_surface_from_text@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-text}}
83
\index{cairo_dock_create_surface_from_text@{cairo\_\-dock\_\-create\_\-surface\_\-from\_\-text}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
84
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-create\_\-surface\_\-from\_\-text (gchar $\ast$ {\em cText}, cairo\_\-t $\ast$ {\em pSourceContext}, int {\em iLabelSize}, gchar $\ast$ {\em cLabelPolice}, int {\em iLabelWeight}, double $\ast$ {\em fBackgroundColor}, double {\em fMaxScale}, int $\ast$ {\em iTextWidth}, int $\ast$ {\em iTextHeight}, double $\ast$ {\em fTextXOffset}, double $\ast$ {\em fTextYOffset})}\label{cairo-dock-surface-factory_8h_e93904934a3b8e204e1dbc0adbd0e792}
87
\index{cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}!cairo_dock_duplicate_surface@{cairo\_\-dock\_\-duplicate\_\-surface}}
88
\index{cairo_dock_duplicate_surface@{cairo\_\-dock\_\-duplicate\_\-surface}!cairo-dock-surface-factory.h@{cairo-dock-surface-factory.h}}
89
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}cairo\_\-surface\_\-t$\ast$ cairo\_\-dock\_\-duplicate\_\-surface (cairo\_\-surface\_\-t $\ast$ {\em pSurface}, cairo\_\-t $\ast$ {\em pSourceContext}, double {\em fWidth}, double {\em fHeight}, double {\em fDesiredWidth}, double {\em fDesiredHeight})}\label{cairo-dock-surface-factory_8h_157233143037e32dc1b3866b31387380}