Exemple #1
0
 public static extern GpStatus GdipDrawString(
     GpGraphics graphics,
     string text,
     INT length,
     GpFont font,
     ref RectF layoutRect,
     GpStringFormat stringFormat,
     GpBrush brush
     );
 StringFormatPlus(
      int formatFlags,
      int language
 )
 {
     nativeFormat = new GpStringFormat();
     lastError = NativeMethods.GdipCreateStringFormat(
         formatFlags,
         language,
         out nativeFormat
     );
 }
Exemple #3
0
 public static extern GpStatus GdipDeleteStringFormat(GpStringFormat format);
Exemple #4
0
        public static extern GpStatus GdipCreateStringFormat(
int formatAttributes,
int language,
out GpStringFormat format
);
Exemple #5
0
GdipAddPathStringI(GpPath path, string text,
                        int length, GpFontFamily family, int style,
                        float emSize, GpRect layoutRect,
                        GpStringFormat format);
        StringFormatPlus(GpStringFormat clonedStringFormat, GpStatus status)
        {
            lastError = status;
            nativeFormat = clonedStringFormat;

        }
Exemple #7
0
 public static extern GpStatus GdipDeleteStringFormat(GpStringFormat format);
Exemple #8
0
 public static extern GpStatus GdipStringFormatGetGenericDefault(out GpStringFormat format);
Exemple #9
0
 public static extern GpStatus GdipAddPathString(GpPath path, string str,
                 int length, GpFontFamily family, int style,
                 float emSize, GpRectF layoutRect,
                 GpStringFormat format);