Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengdipluslinecaps.h
Go to the documentation of this file.
00001 /* 00002 * GdiPlusLineCaps.h 00003 * 00004 * Windows GDI+ 00005 * 00006 * This file is part of the w32api package. 00007 * 00008 * THIS SOFTWARE IS NOT COPYRIGHTED 00009 * 00010 * This source code is offered for use in the public domain. You may 00011 * use, modify or distribute it freely. 00012 * 00013 * This code is distributed in the hope that it will be useful but 00014 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00015 * DISCLAIMED. This includes but is not limited to warranties of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00017 */ 00018 00019 #ifndef _GDIPLUSLINECAPS_H 00020 #define _GDIPLUSLINECAPS_H 00021 00022 inline 00023 CustomLineCap::CustomLineCap(const GraphicsPath *fillPath, 00024 const GraphicsPath *strokePath, LineCap baseCap, REAL baseInset) 00025 { 00026 } 00027 00028 inline CustomLineCap * 00029 CustomLineCap::Clone(VOID) 00030 { 00031 return NULL; 00032 } 00033 00034 inline LineCap 00035 CustomLineCap::GetBaseCap(VOID) 00036 { 00037 return LineCapFlat; 00038 } 00039 00040 inline REAL 00041 CustomLineCap::GetBaseInset(VOID) 00042 { 00043 return 0; 00044 } 00045 00046 inline Status 00047 CustomLineCap::GetLastStatus(VOID) 00048 { 00049 return Ok; 00050 } 00051 00052 inline Status 00053 CustomLineCap::GetStrokeCaps(LineCap *startCap, LineCap *endCap) 00054 { 00055 return Ok; 00056 } 00057 00058 inline LineJoin 00059 CustomLineCap::GetStrokeJoin(VOID) 00060 { 00061 return LineJoinMiter; 00062 } 00063 00064 inline REAL 00065 CustomLineCap::GetWidthScale(VOID) 00066 { 00067 return 0; 00068 } 00069 00070 inline Status 00071 CustomLineCap::SetBaseCap(LineCap baseCap) 00072 { 00073 return Ok; 00074 } 00075 00076 inline Status 00077 CustomLineCap::SetBaseInset(REAL inset) 00078 { 00079 return Ok; 00080 } 00081 00082 inline Status 00083 CustomLineCap::SetStrokeCap(LineCap strokeCap) 00084 { 00085 return Ok; 00086 } 00087 00088 inline Status 00089 CustomLineCap::SetStrokeCaps(LineCap startCap, LineCap endCap) 00090 { 00091 return Ok; 00092 } 00093 00094 inline Status 00095 CustomLineCap::SetStrokeJoin(LineJoin lineJoin) 00096 { 00097 return Ok; 00098 } 00099 00100 inline Status 00101 CustomLineCap::SetWidthScale(IN REAL widthScale) 00102 { 00103 return Ok; 00104 } 00105 00106 00107 class AdjustableArrowCap : public CustomLineCap 00108 { 00109 public: 00110 AdjustableArrowCap(REAL height, REAL width, BOOL isFilled) 00111 { 00112 } 00113 00114 REAL GetHeight(VOID) 00115 { 00116 return 0; 00117 } 00118 00119 REAL GetMiddleInset(VOID) 00120 { 00121 return 0; 00122 } 00123 00124 REAL GetWidth(VOID) 00125 { 00126 return 0; 00127 } 00128 00129 BOOL IsFilled(VOID) 00130 { 00131 return FALSE; 00132 } 00133 00134 Status SetFillState(BOOL isFilled) 00135 { 00136 return Ok; 00137 } 00138 00139 Status SetHeight(REAL height) 00140 { 00141 return Ok; 00142 } 00143 00144 Status SetMiddleInset(REAL middleInset) 00145 { 00146 return Ok; 00147 } 00148 00149 Status SetWidth(REAL width) 00150 { 00151 return Ok; 00152 } 00153 }; 00154 00155 #endif /* _GDIPLUSLINECAPS_H */ Generated on Sat May 26 2012 04:30:11 for ReactOS by
1.7.6.1
|