Searched refs:shape (Results 26 - 50 of 84) sorted by relevance

1234

/haiku/src/apps/icon-o-matic/style/
H A DAssignStyleCommand.h28 AssignStyleCommand(PathSourceShape* shape,
/haiku/src/libs/icon/flat_icon/
H A DFlatIconImporter.cpp442 _ReadTransformer(LittleEndianBuffer& buffer, VertexSource& source, Shape* shape) argument
486 = new (nothrow) PerspectiveTransformer(source, shape);
540 // find out which style this shape uses
554 "shape references non-existing style %d\n", styleIndex);
558 // create the shape
559 PathSourceShape* shape = new (nothrow) PathSourceShape(style); local
560 ObjectDeleter<Shape> shapeDeleter(shape);
562 if (!shape || shape->InitCheck() < B_OK)
565 // find out which paths this shape use
[all...]
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp65 "--shape section size: %" B_PRId32 "\n"
115 "The HVIF format supports a maximum of 255 paths per shape.");
118 "The HVIF format supports a maximum of 255 transformers per shape.");
519 _WritePathSourceShape(LittleEndianBuffer& buffer, PathSourceShape* shape, argument
522 // find out which style this shape uses
523 Style* style = shape->Style();
531 if (shape->Paths()->CountItems() > 255)
533 uint8 pathCount = min_c(255, shape->Paths()->CountItems());
535 // write shape type and style index
541 // find out which paths this shape use
620 Shape* shape = shapes->ItemAtFast(i); local
633 Shape* shape = shapes->ItemAtFast(i); local
[all...]
/haiku/src/libs/icon/
H A DIcon.h84 virtual void ItemAdded(Shape* shape, int32 index);
85 virtual void ItemRemoved(Shape* shape);
/haiku/src/tests/add-ons/print/pdf/bezierbounds/
H A DBBView.cpp20 BShape shape; local
21 shape.MoveTo(fPath.PointAt(0));
24 shape.BezierTo(bezier);
26 if (fPath.IsClosed()) shape.Close();
28 StrokeShape(&shape);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h62 for (NSVGshape *shape = image->shapes; shape != NULL; shape = shape->next) {
63 for (NSVGpath *path = shape->paths; path != NULL; path = path->next) {
134 float bounds[4]; // Tight bounding box of the shape [minx,miny,maxx,maxy].
140 char id[64]; // Optional 'id' attr of the shape or its group
143 float opacity; // Opacity of the shape.
153 float bounds[4]; // Tight bounding box of the shape [minx,miny,maxx,maxy].
155 struct NSVGshape* next; // Pointer to next shape, o
907 nsvg__getLocalBounds(float* bounds, NSVGshape *shape, float* xform) argument
941 NSVGshape* shape; local
2747 NSVGshape* shape; local
2787 NSVGshape* shape; local
2961 NSVGshape *snext, *shape; local
[all...]
H A DSVGExporter.h44 status_t _ExportShape(const Shape* shape,
H A DSVGExporter.cpp108 Shape* shape = icon->Shapes()->ItemAtFast(i); local
109 ret = _ExportShape(shape, stream);
203 SVGExporter::_ExportShape(const Shape* shape, BPositionIO* stream) argument
205 if (!shape->Visible(1.0)) {
212 const PathSourceShape* pathSourceShape = dynamic_cast<const PathSourceShape*>(shape);
234 // start new shape and write transform matrix
238 // hack to see if this is an outline shape
/haiku/src/apps/icon-o-matic/import_export/message/
H A DMessageExporter.h42 status_t _Export(const Shape* shape,
/haiku/src/libs/icon/transformer/
H A DPerspectiveTransformer.h54 A valid perspective transformation can be rendered invalid if the shape
55 changes. Listens to \a shape for updates and determines if the
60 Shape* shape);
63 Shape* shape,
H A DPerspectiveTransformer.cpp27 PerspectiveTransformer::PerspectiveTransformer(VertexSource& source, Shape* shape) argument
31 fShape(shape)
47 VertexSource& source, Shape* shape, BMessage* archive)
51 fShape(shape)
46 PerspectiveTransformer( VertexSource& source, Shape* shape, BMessage* archive) argument
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp348 PathSourceShape* shape = new (nothrow) PathSourceShape(NULL); local
349 if (shape == NULL)
351 shape->SetName(glyphName.String());
352 if (!icon->Shapes()->AddItem(shape)) {
353 delete shape;
358 shape->SetStyle(fStyleMap[j].style);
362 ShapeIterator iterator(icon, shape, offset, glyphName.String());
421 StyledTextImporter::_AddPaths(Icon *icon, BShape *shape) argument
429 StyledTextImporter::_AddShape(Icon *icon, BShape *shape, text_run *run) argument
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylistListView.cpp176 BShape shape; local
177 shape.MoveTo(r.LeftTop());
178 shape.LineTo(r.LeftBottom());
179 shape.LineTo(BPoint(r.right, (r.top + r.bottom) / 2));
180 shape.Close();
183 owner->FillShape(&shape);
185 shape.Clear();
187 shape.MoveTo(r.LeftTop());
188 shape.LineTo(r.LeftBottom());
189 shape
[all...]
/haiku/headers/private/print/
H A DPicturePrinter.h58 virtual void StrokeShape(BShape *shape);
59 virtual void FillShape(BShape *shape);
97 void Print(BShape* shape);
H A DTemplate.h53 virtual void StrokeShape(BShape *shape);
54 virtual void FillShape(BShape *shape);
H A DPictureIterator.h59 virtual void StrokeShape(BShape *shape) { } argument
60 virtual void FillShape(BShape *shape) { } argument
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp491 BShape shape; local
492 shape.MoveTo(BPoint(frame.left, frame.bottom));
493 shape.LineTo(BPoint(frame.right, frame.top));
494 shape.LineTo(BPoint(frame.left, frame.top));
495 shape.LineTo(BPoint(frame.right, frame.bottom));
496 view->FillShape(&shape);
502 BShape shape; local
503 shape.MoveTo(BPoint(frame.left, frame.bottom));
504 shape.LineTo(BPoint(frame.right, frame.top));
505 shape
1066 BShape shape; local
1080 BShape shape; local
[all...]
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.h92 void GetPolygonAttribute(const XML_Char **attributes, const char *name, BShape &shape);
94 void GetShapeAttribute(const XML_Char **attributes, const char *name, BShape &shape);
/haiku/src/kits/print/
H A DTemplate.cpp92 void Template::StrokeShape(BShape *shape) { argument
96 void Template::FillShape(BShape *shape) { argument
H A DPictureIterator.cpp49 static void _StrokeShape(void * p, BShape *shape) { return ((PictureIterator *) p)->StrokeShape(shape); } argument
50 static void _FillShape(void * p, BShape *shape) { return ((PictureIterator *) p)->FillShape(shape); } argument
109 (void *)_StrokeShape, // 15 StrokeShape(void *user, BShape *shape)
110 (void *)_FillShape, // 16 FillShape(void *user, BShape *shape)
H A DPicturePrinter.cpp63 void PicturePrinter::Print(BShape* shape) { argument
64 printf("Shape %p\n", shape);
66 printer.Iterate(shape);
180 void PicturePrinter::StrokeShape(BShape *shape) { argument
181 Indent(); Print("StrokeShape"); Print(shape); Cr();
185 void PicturePrinter::FillShape(BShape *shape) { argument
186 Indent(); Print("FillShape"); Print(shape); Cr();
/haiku/src/apps/debuganalyzer/gui/chart/
H A DLineChartRenderer.cpp197 BShape shape; local
198 shape.MoveTo(BPoint(left + first,
202 shape.LineTo(BPoint(float(left + i),
207 view->StrokeShape(&shape);
/haiku/src/kits/app/
H A DServerLink.cpp94 ServerLink::ReadShape(BShape* shape) argument
108 shape->SetData(opCount, ptCount, opList, ptList);
114 ServerLink::AttachShape(BShape& shape) argument
120 shape.GetData(&opCount, &ptCount, &opList, &ptList);
/haiku/src/apps/icon-o-matic/
H A DMainWindow.cpp457 PathSourceShape* shape = new (nothrow) PathSourceShape(style); local
459 fDocument->Icon()->Shapes(), (Shape**) &shape, 1,
462 if (path && shape)
463 shape->Paths()->AddItem(path);
473 B_TRANSLATE_CONTEXT("Add shape with path & style",
481 B_TRANSLATE_CONTEXT("Add shape with style",
489 B_TRANSLATE_CONTEXT("Add shape with path",
540 Shape* shape; local
541 if (message->FindPointer("shape", (void**)&shape) < B_O
[all...]
/haiku/headers/private/app/
H A DServerLink.h59 status_t AttachShape(BShape& shape);
80 status_t ReadShape(BShape* shape);

Completed in 125 milliseconds

1234