1 /* 2 3 Template 4 5 Copyright (c) 2002 OpenBeOS. 6 7 Author: 8 <YOUR NAME> 9 10 Permission is hereby granted, free of charge, to any person obtaining a copy of 11 this software and associated documentation files (the "Software"), to deal in 12 the Software without restriction, including without limitation the rights to 13 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 14 of the Software, and to permit persons to whom the Software is furnished to do 15 so, subject to the following conditions: 16 17 The above copyright notice and this permission notice shall be included in all 18 copies or substantial portions of the Software. 19 20 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 26 THE SOFTWARE. 27 28 */ 29 30 #include "Template.h" 31 32 void Template::Op(int number) { 33 } 34 35 36 void Template::MovePenBy(BPoint delta) { 37 } 38 39 40 void Template::StrokeLine(BPoint start, BPoint end) { 41 } 42 43 44 void Template::StrokeRect(BRect rect) { 45 } 46 47 48 void Template::FillRect(BRect rect) { 49 } 50 51 52 void Template::StrokeRoundRect(BRect rect, BPoint radii) { 53 } 54 55 56 void Template::FillRoundRect(BRect rect, BPoint radii) { 57 } 58 59 60 void Template::StrokeBezier(BPoint *control) { 61 } 62 63 64 void Template::FillBezier(BPoint *control) { 65 } 66 67 68 void Template::StrokeArc(BPoint center, BPoint radii, float startTheta, float arcTheta) { 69 } 70 71 72 void Template::FillArc(BPoint center, BPoint radii, float startTheta, float arcTheta) { 73 } 74 75 76 void Template::StrokeEllipse(BPoint center, BPoint radii) { 77 } 78 79 80 void Template::FillEllipse(BPoint center, BPoint radii) { 81 } 82 83 84 void Template::StrokePolygon(int32 numPoints, BPoint *points, bool isClosed) { 85 } 86 87 88 void Template::FillPolygon(int32 numPoints, BPoint *points, bool isClosed) { 89 } 90 91 92 void Template::StrokeShape(BShape *shape) { 93 } 94 95 96 void Template::FillShape(BShape *shape) { 97 } 98 99 100 void Template::DrawString(char *string, float escapement_nospace, float escapement_space) { 101 } 102 103 104 void Template::DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) { 105 } 106 107 108 void Template::SetClippingRects(BRect *rects, uint32 numRects) { 109 } 110 111 112 void Template::ClipToPicture(BPicture *picture, BPoint point, bool clip_to_inverse_picture) { 113 } 114 115 116 void Template::PushState() { 117 } 118 119 120 void Template::PopState() { 121 } 122 123 124 void Template::EnterStateChange() { 125 } 126 127 128 void Template::ExitStateChange() { 129 } 130 131 132 void Template::EnterFontState() { 133 } 134 135 136 void Template::ExitFontState() { 137 } 138 139 140 void Template::SetOrigin(BPoint pt) { 141 } 142 143 144 void Template::SetPenLocation(BPoint pt) { 145 } 146 147 148 void Template::SetDrawingMode(drawing_mode mode) { 149 } 150 151 152 void Template::SetLineMode(cap_mode capMode, join_mode joinMode, float miterLimit) { 153 } 154 155 156 void Template::SetPenSize(float size) { 157 } 158 159 160 void Template::SetForeColor(rgb_color color) { 161 } 162 163 164 void Template::SetBackColor(rgb_color color) { 165 } 166 167 168 void Template::SetStipplePattern(pattern p) { 169 } 170 171 172 void Template::SetScale(float scale) { 173 } 174 175 176 void Template::SetFontFamily(char *family) { 177 } 178 179 180 void Template::SetFontStyle(char *style) { 181 } 182 183 184 void Template::SetFontSpacing(int32 spacing) { 185 } 186 187 188 void Template::SetFontSize(float size) { 189 } 190 191 192 void Template::SetFontRotate(float rotation) { 193 } 194 195 196 void Template::SetFontEncoding(int32 encoding) { 197 } 198 199 200 void Template::SetFontFlags(int32 flags) { 201 } 202 203 204 void Template::SetFontShear(float shear) { 205 } 206 207 208 void Template::SetFontFace(int32 flags) { 209 } 210 211 212 213