Home
last modified time | relevance | path

Searched refs:fShapes (Results 1 – 12 of 12) sorted by relevance

/haiku/src/apps/icon-o-matic/transformable/
H A DTransformShapesBox.cpp27 fShapes(shapes && count > 0 ? new Shape*[count] : NULL), in TransformShapesBox()
34 if (fShapes != NULL) { in TransformShapesBox()
39 memcpy(fShapes, shapes, fCount * sizeof(Shape*)); in TransformShapesBox()
42 if (fShapes[i]) { in TransformShapesBox()
43 fShapes[i]->AcquireReference(); in TransformShapesBox()
44 fShapes[i]->AddObserver(this); in TransformShapesBox()
49 ObjectChanged(fShapes[0]); in TransformShapesBox()
58 if (fShapes) { in ~TransformShapesBox()
60 if (fShapes[i]) { in ~TransformShapesBox()
61 fShapes[i]->RemoveObserver(this); in ~TransformShapesBox()
[all …]
H A DTransformShapesBox.h40 { return fShapes; } in Shapes()
45 Shape** fShapes;
/haiku/src/apps/icon-o-matic/shape/commands/
H A DFreezeTransformationCommand.cpp36 fShapes(shapes && count > 0 ? new (nothrow) PathSourceShape*[count] : NULL), in FreezeTransformationCommand()
42 if (!fShapes || !fOriginalTransformations) in FreezeTransformationCommand()
45 memcpy(fShapes, shapes, sizeof(PathSourceShape*) * fCount); in FreezeTransformationCommand()
50 if (!fShapes[i]) in FreezeTransformationCommand()
52 if (!fShapes[i]->IsIdentity()) in FreezeTransformationCommand()
54 fShapes[i]->StoreTo(&fOriginalTransformations[ in FreezeTransformationCommand()
59 delete[] fShapes; in FreezeTransformationCommand()
60 fShapes = NULL; in FreezeTransformationCommand()
69 delete[] fShapes; in ~FreezeTransformationCommand()
77 return fShapes && fOriginalTransformations ? B_OK : B_NO_INIT; in InitCheck()
[all …]
H A DRemovePathsCommand.cpp35 fShapes(indices && count > 0 ? new (nothrow) BList[count] : NULL) in RemovePathsCommand()
37 if (!fShapes) in RemovePathsCommand()
48 fShapes[i].AddItem((void*)shape); in RemovePathsCommand()
57 delete[] fShapes; in ~RemovePathsCommand()
64 return fShapes ? B_OK : B_NO_INIT; in InitCheck()
81 int32 shapeCount = fShapes[i].CountItems(); in Perform()
83 PathSourceShape* shape = (PathSourceShape*)fShapes[i].ItemAtFast(j); in Perform()
106 int32 shapeCount = fShapes[i].CountItems(); in Undo()
108 PathSourceShape* shape = (PathSourceShape*)fShapes[i].ItemAtFast(j); in Undo()
H A DFreezeTransformationCommand.h42 PathSourceShape** fShapes; variable
H A DRemovePathsCommand.h44 BList* fShapes;
/haiku/src/apps/icon-o-matic/style/
H A DRemoveStylesCommand.cpp32 fShapes(indices && count > 0 ? new (nothrow) BList[count] : NULL) in RemoveStylesCommand()
34 if (!fShapes) in RemoveStylesCommand()
45 fShapes[i].AddItem((void*)shape); in RemoveStylesCommand()
54 delete[] fShapes; in ~RemoveStylesCommand()
61 return fShapes ? B_OK : B_NO_INIT; in InitCheck()
78 int32 shapeCount = fShapes[i].CountItems(); in Perform()
80 PathSourceShape* shape = (PathSourceShape*)fShapes[i].ItemAtFast(j); in Perform()
104 int32 shapeCount = fShapes[i].CountItems(); in Undo()
106 PathSourceShape* shape = (PathSourceShape*)fShapes[i].ItemAtFast(j); in Undo()
H A DRemoveStylesCommand.h42 BList* fShapes;
/haiku/src/libs/icon/
H A DIcon.cpp34 fShapes(true) in Icon()
40 fShapes.AddListener(this); in Icon()
48 fShapes(true) in Icon()
54 fShapes.AddListener(this); in Icon()
77 int32 shapeCount = other.fShapes.CountItems(); in Icon()
79 Shape* shape = other.fShapes.ItemAtFast(i); in Icon()
81 if (!clone || !fShapes.AddItem(clone)) { in Icon()
119 fShapes.MakeEmpty(); in ~Icon()
121 fShapes.RemoveListener(this); in ~Icon()
194 fShapes.MakeEmpty(); in MakeEmpty()
H A DIcon.h68 { return &fShapes; } in Shapes()
70 { return &fShapes; } in Shapes()
79 Container<Shape> fShapes; variable
/haiku/src/apps/fontdemo/
H A DFontDemoView.cpp38 fShapes(NULL) in FontDemoView()
52 free(fShapes); in ~FontDemoView()
82 fFont.GetGlyphShapes(fString, size, fShapes); in Draw()
130 FillShape(fShapes[i]); in Draw()
132 StrokeShape(fShapes[i]); in Draw()
335 free(fShapes); in SetString()
400 fShapes = (BShape**)malloc(sizeof(BShape*) * size); in _AddShapes()
403 fShapes[i] = new BShape(); in _AddShapes()
H A DFontDemoView.h65 BShape** fShapes; variable