Changeset 212 for Include/Classes/System/Drawing/Font.ab
- Timestamp:
- Apr 13, 2007, 5:12:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/Drawing/Font.ab
r142 r212 46 46 End Sub 47 47 48 Sub Font(/*IN const*/ ByReffamily As FontFamily, /*IN*/ emSize As Single)48 Sub Font(/*IN const*/ family As FontFamily, /*IN*/ emSize As Single) 49 49 Font(family, emSize, FontStyleRegular, UnitPoint) 50 50 End Sub 51 51 52 Sub Font(/*IN const*/ ByReffamily As FontFamily,52 Sub Font(/*IN const*/ family As FontFamily, 53 53 /*IN*/ emSize As Single, /*IN*/ style As Long) 54 54 … … 56 56 End Sub 57 57 58 Sub Font(/*IN const*/ ByReffamily As FontFamily, /*IN*/ emSize As Single,58 Sub Font(/*IN const*/ family As FontFamily, /*IN*/ emSize As Single, 59 59 /*IN*/ style As Long, /*IN*/ unit As GraphicsUnit) 60 60 … … 129 129 Sub Font(/*IN const*/ familyName As String, /*IN*/ emSize As Single, 130 130 /*IN*/ style As Long, /*IN*/ unit As GraphicsUnit, 131 /*IN const*/ ByReffontCollection As FontCollection)131 /*IN const*/ fontCollection As FontCollection) 132 132 #ifdef __STRING_IS_NOT_UNICODE 133 133 Dim oldAlloc = _System_AllocForConvertedString … … 142 142 End Sub 143 143 144 Const Function GetLogFontA(/*IN const*/ ByRefg As Graphics, /*OUT*/ ByRef lf As LOGFONTA) As Status144 Const Function GetLogFontA(/*IN const*/ g As Graphics, /*OUT*/ ByRef lf As LOGFONTA) As Status 145 145 Dim nativeGraphics As *GpGraphics 146 146 If VarPtr(g) <> 0 Then … … 150 150 End Function 151 151 152 Const Function GetLogFontW(/*IN const*/ ByRefg As Graphics, /*OUT*/ ByRef lf As LOGFONTW) As Status152 Const Function GetLogFontW(/*IN const*/ g As Graphics, /*OUT*/ ByRef lf As LOGFONTW) As Status 153 153 Dim nativeGraphics As *GpGraphics 154 154 If VarPtr(g) <> 0 Then … … 158 158 End Function 159 159 160 Const Function GetLogFont(/*IN const*/ ByRef g As Graphics, /*OUT*/ ByRef lf As LOGFONTA) As Status160 Const Function GetLogFont(/*IN const*/ g As Graphics, /*OUT*/ ByRef lf As LOGFONT) As Status 161 161 Dim nativeGraphics As *GpGraphics 162 162 If VarPtr(g) <> 0 Then … … 170 170 End Function 171 171 172 Const Function Clone() As *Font172 Const Function Clone() As Font 173 173 Dim cloneFont = 0 As *GpFont 174 174 SetStatus(GdipCloneFont(nativeFont, cloneFont)) … … 210 210 End Function 211 211 212 Const Function GetHeight(/*IN const*/ ByRefg As Graphics) As Single212 Const Function GetHeight(/*IN const*/ g As Graphics) As Single 213 213 Dim nativeGraphics As *GpGraphics 214 214 If VarPtr(g) <> 0 Then … … 311 311 End Sub 312 312 313 Const Sub ToLogFont(ByRef lf As LOGFONT, ByRefg As Graphics)313 Const Sub ToLogFont(ByRef lf As LOGFONT, g As Graphics) 314 314 GetLogFont(g, lf) 315 315 End Sub 316 317 316 318 317 Private 319 318 ' Sub Font(ByRef f As Font) 320 Sub Operator =(ByRef f As Font)321 Debug322 End Sub323 319 324 320 Protected
Note:
See TracChangeset
for help on using the changeset viewer.