Changeset 698 for trunk/ab5.0/ablib/src/Classes/System/Drawing/misc.ab
- Timestamp:
- Mar 31, 2009, 2:09:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/Drawing/misc.ab
r635 r698 37 37 38 38 Enum FontStyle 39 /*40 39 Regular = 0 41 40 Bold = 1 42 41 Italic = 2 43 42 Strikeout = 4 44 Underline = 8 45 */ 43 Underline = 8 46 44 End Enum 47 45 46 Enum TextRenderingHint 47 TextRenderingHintSystemDefault = 0 48 TextRenderingHintSingleBitPerPixelGridFit 49 TextRenderingHintSingleBitPerPixel 50 TextRenderingHintAntiAliasGridFit 51 TextRenderingHintAntiAlias 52 TextRenderingHintClearTypeGridFit 53 End Enum 54 55 Enum MetafileFrameUnit 56 Pixel = 2 57 Point = 3 58 Inch = 4 59 Document = 5 60 Millimeter = 6 61 Gdi 62 End Enum 63 64 Namespace Detail 65 Sub ThrowGdiplusException(status As Status) 66 Select Case status 67 Case Ok 68 Exit Sub 69 ' Case OutOfMemory 70 ' Throw New System.OutOfMemroyException("GDI+") 71 Case NotImplemented 72 Throw New System.NotImplementedException("GDI+") 73 ' Case FileNotFoundException 74 ' Throw New System.IO.FileNotFoundException("GDI+") 75 Case Else 76 Throw New System.Exception("GDI+") 77 End Select 78 End Sub 79 End Namespace 80 81 Sub SetStatus(status As Status) 82 Detail.ThrowGdiplusException(status) 83 End Sub 48 84 49 85 End Namespace
Note:
See TracChangeset
for help on using the changeset viewer.