Lines Matching defs:Print

39 void PicturePrinter::Print(const char* text) {
43 void PicturePrinter::Print(BPoint* p) {
47 void PicturePrinter::Print(BRect* r) {
51 void PicturePrinter::Print(int numPoints, BPoint* points) {
53 Indent(1); printf("%d ", i); Print(&points[i]); Cr();
57 void PicturePrinter::Print(int numRects, BRect* rects) {
59 Indent(1); printf("%d ", i); Print(&rects[i]); Cr();
63 void PicturePrinter::Print(BShape* shape) {
69 void PicturePrinter::Print(const char* text, float f) {
73 void PicturePrinter::Print(const char* text, BPoint* point) {
74 Print(text); Print(point);
77 void PicturePrinter::Print(rgb_color color) {
81 void PicturePrinter::Print(float f) {
107 Indent(); Print("MovePenBy"); Print(&delta); Cr();
112 Indent(); Print("StrokeLine"); Print(&start); Print(&end); Cr();
117 Indent(); Print("StrokeRect"); Print(&rect); Cr();
122 Indent(); Print("FillRect"); Print(&rect); Cr();
127 Indent(); Print("StrokeRoundRect"); Print(&rect); Print("radii", &radii); Cr();
132 Indent(); Print("FillRoundRect"); Print(&rect); Print("radii", &radii); Cr();
137 Indent(); Print("StrokeBezier"); Print(4, control); Cr();
142 Indent(); Print("FillBezier"); Print(4, control); Cr();
147 Indent(); Print("StrokeArc center="); Print(&center); Print("radii="); Print(&radii); Print("arcTheta=", arcTheta); Cr();
152 Indent(); Print("FillArc center="); Print(&center); Print("radii="); Print(&radii); Print("arcTheta=", arcTheta); Cr();
157 Indent(); Print("StrokeEllipse center="); Print(&center); Print("radii="); Print(&radii); Cr();
162 Indent(); Print("FillEllipse center="); Print(&center); Print("radii="); Print(&radii); Cr();
167 Indent(); Print("StrokePolygon");
169 Print(numPoints, points);
174 Indent(); Print("FillPolygon");
176 Print(numPoints, points);
181 Indent(); Print("StrokeShape"); Print(shape); Cr();
186 Indent(); Print("FillShape"); Print(shape); Cr();
191 Indent(); Print("DrawString");
192 Print("escapement_nospace", escapement_nospace);
193 Print("escapement_space", escapement_space);
194 Print("text:"); Print(string); Cr();
199 Indent(); Print("DrawPixels"); Cr();
204 Indent(); Print("SetClippingRects");
205 if (numRects == 0) Print("none");
207 Print(numRects, rects);
213 Print(clip_to_inverse_picture ? "ClipToInversePicture" : "ClipToPicture");
214 Print("point=", &point); Cr();
221 Indent(); Print("PushState"); Cr();
228 Indent(); Print("PopState"); Cr();
233 Indent(); Print("EnterStateChange"); Cr();
238 Indent(); Print("ExitStateChange"); Cr();
243 Indent(); Print("EnterFontState"); Cr();
248 Indent(); Print("ExitFontState"); Cr();
253 Indent(); Print("SetOrigin"); Print(&pt); Cr();
258 Indent(); Print("SetPenLocation"); Print(&pt); Cr();
263 Indent(); Print("SetDrawingMode");
265 case B_OP_COPY: Print("B_OP_COPY"); break;
266 case B_OP_OVER: Print("B_OP_OVER"); break;
267 case B_OP_ERASE: Print("B_OP_ERASE"); break;
268 case B_OP_INVERT: Print("B_OP_INVERT"); break;
269 case B_OP_SELECT: Print("B_OP_SELECT"); break;
270 case B_OP_ALPHA: Print("B_OP_ALPHA"); break;
271 case B_OP_MIN: Print("B_OP_MIN"); break;
272 case B_OP_MAX: Print("B_OP_MAX"); break;
273 case B_OP_ADD: Print("B_OP_ADD"); break;
274 case B_OP_SUBTRACT: Print("B_OP_SUBTRACT"); break;
275 case B_OP_BLEND: Print("B_OP_BLEND"); break;
276 default: Print("Unknown mode: ", (float)mode);
283 Indent(); Print("SetLineMode");
285 case B_BUTT_CAP: Print("B_BUTT_CAP"); break;
286 case B_ROUND_CAP: Print("B_ROUND_CAP"); break;
287 case B_SQUARE_CAP: Print("B_SQUARE_CAP"); break;
290 case B_MITER_JOIN: Print("B_MITER_JOIN"); break;
291 case B_ROUND_JOIN: Print("B_ROUND_JOIN"); break;
292 case B_BUTT_JOIN: Print("B_BUTT_JOIN"); break;
293 case B_SQUARE_JOIN: Print("B_SQUARE_JOIN"); break;
294 case B_BEVEL_JOIN: Print("B_BEVEL_JOIN"); break;
296 Print("miterLimit", miterLimit);
302 Indent(); Print("SetPenSize", size); Cr();
307 Indent(); Print("SetForeColor"); Print(color); Cr();
312 Indent(); Print("SetBackColor"); Print(color); Cr();
323 Indent(); Print("SetStipplePattern");
324 if (compare(p, B_SOLID_HIGH)) Print("B_SOLID_HIGH");
325 else if (compare(p, B_SOLID_LOW)) Print("B_SOLID_LOW");
326 else if (compare(p, B_MIXED_COLORS)) Print("B_MIXED_COLORS");
337 Indent(); Print("SetScale", scale); Cr();
342 Indent(); Print("SetFontFamily"); Print(family); Cr();
347 Indent(); Print("SetFontStyle"); Print(style); Cr();
352 Indent(); Print("SetFontSpacing");
354 case B_CHAR_SPACING: Print("B_CHAR_SPACING"); break;
355 case B_STRING_SPACING: Print("B_STRING_SPACING"); break;
356 case B_BITMAP_SPACING: Print("B_BITMAP_SPACING"); break;
357 case B_FIXED_SPACING: Print("B_FIXED_SPACING"); break;
358 default: Print("Unknown: ", (float)spacing);
365 Indent(); Print("SetFontSize", size); Cr();
370 Indent(); Print("SetFontRotation", rotation); Cr();
375 Indent(); Print("SetFontEncoding");
377 case B_UNICODE_UTF8: Print("B_UNICODE_UTF8"); break;
378 case B_ISO_8859_1: Print("B_ISO_8859_1"); break;
379 case B_ISO_8859_2: Print("B_ISO_8859_2"); break;
380 case B_ISO_8859_3: Print("B_ISO_8859_3"); break;
381 case B_ISO_8859_4: Print("B_ISO_8859_4"); break;
382 case B_ISO_8859_5: Print("B_ISO_8859_5"); break;
383 case B_ISO_8859_6: Print("B_ISO_8859_6"); break;
384 case B_ISO_8859_7: Print("B_ISO_8859_7"); break;
385 case B_ISO_8859_8: Print("B_ISO_8859_8"); break;
386 case B_ISO_8859_9: Print("B_ISO_8859_9"); break;
387 case B_ISO_8859_10: Print("B_ISO_8859_10"); break;
388 case B_MACINTOSH_ROMAN: Print("B_MACINTOSH_ROMAN"); break;
389 default: Print("Unknown:", (float)encoding);
395 if (flags & flag) { f |= flag; Print(#flag); }
398 Indent(); Print("SetFontFlags");
400 if (flags == 0) Print("none set");
409 Indent(); Print("SetFontShear", shear); Cr();
414 Indent(); Print("SetFontFace");
416 if (flags == 0) Print("none set");
443 fPrinter->Indent(); fPrinter->Print("BezierTo"); fPrinter->Cr();
446 fPrinter->Print(i / 3.0);
447 fPrinter->Print(&control[0]);
448 fPrinter->Print(&control[1]);
449 fPrinter->Print(&control[2]);
458 fPrinter->Indent(); fPrinter->Print("Close"); fPrinter->Cr();
465 fPrinter->Indent(); fPrinter->Print("LineTo"); fPrinter->Cr();
468 fPrinter->Indent(1); fPrinter->Print(p); fPrinter->Cr();
477 fPrinter->Indent(); fPrinter->Print("MoveTo", point); fPrinter->Cr();