source: trunk/ab5.0/ablib/src/GdiPlusTypes.ab @ 506

Last change on this file since 506 was 497, checked in by イグトランス (egtra), 15 years ago

インクルードガードとその他不要な前処理定義などの削除

File size: 1.3 KB
Line 
1' GdiPlusTypes.sbp
2
3TypeDef ImageAbort = *Function(p As VoidPtr) As BOOL
4TypeDef DrawImageAbort = ImageAbort
5TypeDef GetThumbnailImageAbort = ImageAbort
6
7TypeDef EnumerateMetafileProc = *Function(recordType As EmfPlusRecordType, flags As DWord, dataSize As DWord, data As *Byte, callbackData As VoidPtr) As BOOL
8
9'Const REAL_MAX           = FLT_MAX
10'Const REAL_MIN           = FLT_MIN
11'Const REAL_TOLERANCE     = (FLT_MIN * 100)
12'Const REAL_EPSILON       = 1.192092896e-07 'FLT_EPSILON
13
14Const Enum Status
15    Ok = 0
16    GenericError = 1
17    InvalidParameter = 2
18    OutOfMemory = 3
19    ObjectBusy = 4
20    InsufficientBuffer = 5
21    NotImplemented = 6
22    Win32Error = 7
23    WrongState = 8
24    Aborted = 9
25    FileNotFound = 10
26    ValueOverflow = 11
27    AccessDenied = 12
28    UnknownImageFormat = 13
29    FontFamilyNotFound = 14
30    FontStyleNotFound = 15
31    NotTrueTypeFont = 16
32    UnsupportedGdiplusVersion = 17
33    GdiplusNotInitialized = 18
34    PropertyNotFound = 19
35    PropertyNotSupported = 20
36End Enum
37
38Class PathData
39/*
40Public
41    Sub PathData()
42        Count = 0
43        Points = NULL
44        Types = NULL
45    End Sub
46
47    Sub ~PathData()
48        If Points <> NULL Then
49            Delete Points
50        End If
51        If Types <> NULL Then
52            Delete Types
53    End Sub
54
55Public
56    Count As Long
57    Points As *PointF
58    Types As *BYTE
59*/
60End Class
Note: See TracBrowser for help on using the repository browser.