1367265f7SMichael Pfeiffer/*
2367265f7SMichael Pfeiffer
3367265f7SMichael PfeifferTemplate
4367265f7SMichael Pfeiffer
5367265f7SMichael PfeifferCopyright (c) 2002 OpenBeOS.
6367265f7SMichael Pfeiffer
7367265f7SMichael PfeifferAuthor:
8367265f7SMichael Pfeiffer	<YOUR NAME>
9367265f7SMichael Pfeiffer
10367265f7SMichael PfeifferPermission is hereby granted, free of charge, to any person obtaining a copy of
11367265f7SMichael Pfeifferthis software and associated documentation files (the "Software"), to deal in
12367265f7SMichael Pfeifferthe Software without restriction, including without limitation the rights to
13367265f7SMichael Pfeifferuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
14367265f7SMichael Pfeifferof the Software, and to permit persons to whom the Software is furnished to do
15367265f7SMichael Pfeifferso, subject to the following conditions:
16367265f7SMichael Pfeiffer
17367265f7SMichael PfeifferThe above copyright notice and this permission notice shall be included in all
18367265f7SMichael Pfeiffercopies or substantial portions of the Software.
19367265f7SMichael Pfeiffer
20367265f7SMichael PfeifferTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21367265f7SMichael PfeifferIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22367265f7SMichael PfeifferFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23367265f7SMichael PfeifferAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24367265f7SMichael PfeifferLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25367265f7SMichael PfeifferOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26367265f7SMichael PfeifferTHE SOFTWARE.
27367265f7SMichael Pfeiffer
28367265f7SMichael Pfeiffer*/
29367265f7SMichael Pfeiffer
30367265f7SMichael Pfeiffer#include "Template.h"
31367265f7SMichael Pfeiffer
3295ae312cSFrançois Revolvoid Template::Op(int number) {
33367265f7SMichael Pfeiffer}
34367265f7SMichael Pfeiffer
35367265f7SMichael Pfeiffer
3695ae312cSFrançois Revolvoid Template::MovePenBy(BPoint delta) {
37367265f7SMichael Pfeiffer}
38367265f7SMichael Pfeiffer
39367265f7SMichael Pfeiffer
4095ae312cSFrançois Revolvoid Template::StrokeLine(BPoint start, BPoint end) {
41367265f7SMichael Pfeiffer}
42367265f7SMichael Pfeiffer
43367265f7SMichael Pfeiffer
4495ae312cSFrançois Revolvoid Template::StrokeRect(BRect rect) {
45367265f7SMichael Pfeiffer}
46367265f7SMichael Pfeiffer
47367265f7SMichael Pfeiffer
4895ae312cSFrançois Revolvoid Template::FillRect(BRect rect) {
49367265f7SMichael Pfeiffer}
50367265f7SMichael Pfeiffer
51367265f7SMichael Pfeiffer
5295ae312cSFrançois Revolvoid Template::StrokeRoundRect(BRect rect, BPoint radii) {
53367265f7SMichael Pfeiffer}
54367265f7SMichael Pfeiffer
55367265f7SMichael Pfeiffer
5695ae312cSFrançois Revolvoid Template::FillRoundRect(BRect rect, BPoint radii) {
57367265f7SMichael Pfeiffer}
58367265f7SMichael Pfeiffer
59367265f7SMichael Pfeiffer
6095ae312cSFrançois Revolvoid Template::StrokeBezier(BPoint *control) {
61367265f7SMichael Pfeiffer}
62367265f7SMichael Pfeiffer
63367265f7SMichael Pfeiffer
6495ae312cSFrançois Revolvoid Template::FillBezier(BPoint *control) {
65367265f7SMichael Pfeiffer}
66367265f7SMichael Pfeiffer
67367265f7SMichael Pfeiffer
6895ae312cSFrançois Revolvoid Template::StrokeArc(BPoint center, BPoint radii, float startTheta, float arcTheta) {
69367265f7SMichael Pfeiffer}
70367265f7SMichael Pfeiffer
71367265f7SMichael Pfeiffer
7295ae312cSFrançois Revolvoid Template::FillArc(BPoint center, BPoint radii, float startTheta, float arcTheta) {
73367265f7SMichael Pfeiffer}
74367265f7SMichael Pfeiffer
75367265f7SMichael Pfeiffer
7695ae312cSFrançois Revolvoid Template::StrokeEllipse(BPoint center, BPoint radii) {
77367265f7SMichael Pfeiffer}
78367265f7SMichael Pfeiffer
79367265f7SMichael Pfeiffer
8095ae312cSFrançois Revolvoid Template::FillEllipse(BPoint center, BPoint radii) {
81367265f7SMichael Pfeiffer}
82367265f7SMichael Pfeiffer
83367265f7SMichael Pfeiffer
8495ae312cSFrançois Revolvoid Template::StrokePolygon(int32 numPoints, BPoint *points, bool isClosed) {
85367265f7SMichael Pfeiffer}
86367265f7SMichael Pfeiffer
87367265f7SMichael Pfeiffer
8895ae312cSFrançois Revolvoid Template::FillPolygon(int32 numPoints, BPoint *points, bool isClosed) {
89367265f7SMichael Pfeiffer}
90367265f7SMichael Pfeiffer
91367265f7SMichael Pfeiffer
9295ae312cSFrançois Revolvoid Template::StrokeShape(BShape *shape) {
93367265f7SMichael Pfeiffer}
94367265f7SMichael Pfeiffer
95367265f7SMichael Pfeiffer
9695ae312cSFrançois Revolvoid Template::FillShape(BShape *shape) {
97367265f7SMichael Pfeiffer}
98367265f7SMichael Pfeiffer
99367265f7SMichael Pfeiffer
10095ae312cSFrançois Revolvoid Template::DrawString(char *string, float escapement_nospace, float escapement_space) {
101367265f7SMichael Pfeiffer}
102367265f7SMichael Pfeiffer
103367265f7SMichael Pfeiffer
10495ae312cSFrançois Revolvoid Template::DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) {
105367265f7SMichael Pfeiffer}
106367265f7SMichael Pfeiffer
107367265f7SMichael Pfeiffer
10895ae312cSFrançois Revolvoid Template::SetClippingRects(BRect *rects, uint32 numRects) {
109367265f7SMichael Pfeiffer}
110367265f7SMichael Pfeiffer
111367265f7SMichael Pfeiffer
11295ae312cSFrançois Revolvoid Template::ClipToPicture(BPicture *picture, BPoint point, bool clip_to_inverse_picture) {
113367265f7SMichael Pfeiffer}
114367265f7SMichael Pfeiffer
115367265f7SMichael Pfeiffer
11695ae312cSFrançois Revolvoid Template::PushState() {
117367265f7SMichael Pfeiffer}
118367265f7SMichael Pfeiffer
119367265f7SMichael Pfeiffer
12095ae312cSFrançois Revolvoid Template::PopState() {
121367265f7SMichael Pfeiffer}
122367265f7SMichael Pfeiffer
123367265f7SMichael Pfeiffer
12495ae312cSFrançois Revolvoid Template::EnterStateChange() {
125367265f7SMichael Pfeiffer}
126367265f7SMichael Pfeiffer
127367265f7SMichael Pfeiffer
12895ae312cSFrançois Revolvoid Template::ExitStateChange() {
129367265f7SMichael Pfeiffer}
130367265f7SMichael Pfeiffer
131367265f7SMichael Pfeiffer
13295ae312cSFrançois Revolvoid Template::EnterFontState() {
133367265f7SMichael Pfeiffer}
134367265f7SMichael Pfeiffer
135367265f7SMichael Pfeiffer
13695ae312cSFrançois Revolvoid Template::ExitFontState() {
137367265f7SMichael Pfeiffer}
138367265f7SMichael Pfeiffer
139367265f7SMichael Pfeiffer
14095ae312cSFrançois Revolvoid Template::SetOrigin(BPoint pt) {
141367265f7SMichael Pfeiffer}
142367265f7SMichael Pfeiffer
143367265f7SMichael Pfeiffer
14495ae312cSFrançois Revolvoid Template::SetPenLocation(BPoint pt) {
145367265f7SMichael Pfeiffer}
146367265f7SMichael Pfeiffer
147367265f7SMichael Pfeiffer
14895ae312cSFrançois Revolvoid Template::SetDrawingMode(drawing_mode mode) {
149367265f7SMichael Pfeiffer}
150367265f7SMichael Pfeiffer
151367265f7SMichael Pfeiffer
15295ae312cSFrançois Revolvoid Template::SetLineMode(cap_mode capMode, join_mode joinMode, float miterLimit) {
153367265f7SMichael Pfeiffer}
154367265f7SMichael Pfeiffer
155367265f7SMichael Pfeiffer
15695ae312cSFrançois Revolvoid Template::SetPenSize(float size) {
157367265f7SMichael Pfeiffer}
158367265f7SMichael Pfeiffer
159367265f7SMichael Pfeiffer
16095ae312cSFrançois Revolvoid Template::SetForeColor(rgb_color color) {
161367265f7SMichael Pfeiffer}
162367265f7SMichael Pfeiffer
163367265f7SMichael Pfeiffer
16495ae312cSFrançois Revolvoid Template::SetBackColor(rgb_color color) {
165367265f7SMichael Pfeiffer}
166367265f7SMichael Pfeiffer
167367265f7SMichael Pfeiffer
16895ae312cSFrançois Revolvoid Template::SetStipplePattern(pattern p) {
169367265f7SMichael Pfeiffer}
170367265f7SMichael Pfeiffer
171367265f7SMichael Pfeiffer
17295ae312cSFrançois Revolvoid Template::SetScale(float scale) {
173367265f7SMichael Pfeiffer}
174367265f7SMichael Pfeiffer
175367265f7SMichael Pfeiffer
17695ae312cSFrançois Revolvoid Template::SetFontFamily(char *family) {
177367265f7SMichael Pfeiffer}
178367265f7SMichael Pfeiffer
179367265f7SMichael Pfeiffer
18095ae312cSFrançois Revolvoid Template::SetFontStyle(char *style) {
181367265f7SMichael Pfeiffer}
182367265f7SMichael Pfeiffer
183367265f7SMichael Pfeiffer
18495ae312cSFrançois Revolvoid Template::SetFontSpacing(int32 spacing) {
185367265f7SMichael Pfeiffer}
186367265f7SMichael Pfeiffer
187367265f7SMichael Pfeiffer
18895ae312cSFrançois Revolvoid Template::SetFontSize(float size) {
189367265f7SMichael Pfeiffer}
190367265f7SMichael Pfeiffer
191367265f7SMichael Pfeiffer
19295ae312cSFrançois Revolvoid Template::SetFontRotate(float rotation) {
193367265f7SMichael Pfeiffer}
194367265f7SMichael Pfeiffer
195367265f7SMichael Pfeiffer
19695ae312cSFrançois Revolvoid Template::SetFontEncoding(int32 encoding) {
197367265f7SMichael Pfeiffer}
198367265f7SMichael Pfeiffer
199367265f7SMichael Pfeiffer
20095ae312cSFrançois Revolvoid Template::SetFontFlags(int32 flags) {
201367265f7SMichael Pfeiffer}
202367265f7SMichael Pfeiffer
203367265f7SMichael Pfeiffer
20495ae312cSFrançois Revolvoid Template::SetFontShear(float shear) {
205367265f7SMichael Pfeiffer}
206367265f7SMichael Pfeiffer
207367265f7SMichael Pfeiffer
20895ae312cSFrançois Revolvoid Template::SetFontFace(int32 flags) {
209367265f7SMichael Pfeiffer}
210367265f7SMichael Pfeiffer
211367265f7SMichael Pfeiffer
212367265f7SMichael Pfeiffer
213