/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTest.cpp | 192 BPicture *picture = RecordPicture(func, frame); in Test() local 193 AutoDelete<BPicture> _picture(picture); in Test() 194 TEST_AND_RETURN(picture == NULL, "Picture could not be recorded!", false); in Test() 196 BPicture *archivedPicture = SaveAndRestore(picture); in Test() 198 TEST_AND_RETURN(picture == NULL, "Picture could not be flattened and unflattened!", false); in Test() 200 fBitmapFromPicture = CreateBitmap(picture, frame); in Test() 240 BPicture *picture = new BPicture(); in RecordPicture() local 241 view->BeginPicture(picture); in RecordPicture() 243 picture = view->EndPicture(); in RecordPicture() 245 return picture; in RecordPicture() [all …]
|
H A D | PictureTest.h | 34 virtual BPicture *SaveAndRestore(BPicture *picture) = 0; 44 BBitmap *CreateBitmap(BPicture *picture, BRect frame); 63 BPicture *SaveAndRestore(BPicture *picture); 72 BPicture *SaveAndRestore(BPicture *picture);
|
H A D | PictureTestCases.cpp | 512 BPicture *picture = new BPicture(); in testRecordPicture() local 513 view->BeginPicture(picture); in testRecordPicture() 516 delete picture; in testRecordPicture() 521 BPicture *picture = new BPicture(); in testRecordAndPlayPicture() local 522 view->BeginPicture(picture); in testRecordAndPlayPicture() 526 view->DrawPicture(picture); in testRecordAndPlayPicture() 527 delete picture; in testRecordAndPlayPicture() 532 BPicture *picture = new BPicture(); in testRecordAndPlayPictureWithOffset() local 533 view->BeginPicture(picture); in testRecordAndPlayPictureWithOffset() 539 view->DrawPicture(picture, BPoint(10, 10)); in testRecordAndPlayPictureWithOffset() [all …]
|
/haiku/src/add-ons/translators/webp/ |
H A D | WebPTranslator.cpp | 249 WebPPicture picture; in _TranslateFromBits() local 252 if (!WebPPictureInit(&picture) || !WebPConfigInit(&config)) { in _TranslateFromBits() 273 picture.width = bitsHeader.bounds.IntegerWidth() + 1; in _TranslateFromBits() 274 picture.height = bitsHeader.bounds.IntegerHeight() + 1; in _TranslateFromBits() 277 int bitsSize = picture.height * stride; in _TranslateFromBits() 287 if (!WebPPictureImportBGRA(&picture, bits, stride)) { in _TranslateFromBits() 294 picture.writer = _EncodedWriter; in _TranslateFromBits() 295 picture.custom_ptr = target; in _TranslateFromBits() 296 picture.stats = NULL; in _TranslateFromBits() 298 if (!WebPEncode(&config, &picture)) { in _TranslateFromBits() [all …]
|
/haiku/src/kits/interface/ |
H A D | Picture.cpp | 44 BPicture::Private picture(sPictureList.ItemAt(i)); in reconnect_pictures_to_app_server() local 45 picture.ReconnectToAppServer(); in reconnect_pictures_to_app_server() 50 BPicture::Private::Private(BPicture* picture) in Private() argument 52 fPicture(picture) in Private() 77 bool AddPicture(BPicture* picture) in AddPicture() 78 { return fPictures.AddItem(picture); } in AddPicture() 143 BPicture* picture in BPicture() local 145 fExtent->AddPicture(picture); in BPicture() 176 BPicture* picture = new BPicture(&pictureMessage); in BPicture() local 177 fExtent->AddPicture(picture); in BPicture() [all …]
|
H A D | PictureButton.cpp | 311 BPictureButton::SetEnabledOn(BPicture* picture) in SetEnabledOn() argument 314 fEnabledOn = new (std::nothrow) BPicture(*picture); in SetEnabledOn() 319 BPictureButton::SetEnabledOff(BPicture* picture) in SetEnabledOff() argument 322 fEnabledOff = new (std::nothrow) BPicture(*picture); in SetEnabledOff() 327 BPictureButton::SetDisabledOn(BPicture* picture) in SetDisabledOn() argument 330 fDisabledOn = new (std::nothrow) BPicture(*picture); in SetDisabledOn() 335 BPictureButton::SetDisabledOff(BPicture* picture) in SetDisabledOff() argument 338 fDisabledOff = new (std::nothrow) BPicture(*picture); in SetDisabledOff()
|
H A D | PrintJob.cpp | 401 BPicture picture; in DrawView() local 402 _RecurseView(view, B_ORIGIN - rect.LeftTop(), &picture, rect); in DrawView() 403 _AddPicture(picture, rect, where); in DrawView() 521 BPrintJob::_RecurseView(BView* view, BPoint origin, BPicture* picture, in _RecurseView() argument 524 ASSERT(picture != NULL); in _RecurseView() 530 view->AppendToPicture(picture); in _RecurseView() 558 _RecurseView(child, origin + leftTop, picture, printRect); in _RecurseView() 564 view->AppendToPicture(picture); in _RecurseView() 656 BPrintJob::_AddPicture(BPicture& picture, BRect& rect, BPoint& where) in _AddPicture() argument 663 picture.Flatten(fSpoolFile); in _AddPicture()
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | Tuner.cpp | 211 bool CTuner::SetFrequency(float frequency, float picture) in SetFrequency() argument 221 (int) (16.0 * (frequency + picture)), in SetFrequency() 234 bool CTuner::SweepFrequency(float frequency, float picture) in SweepFrequency() argument 236 PRINT(("CTuner::SweepFrequency(%g, %g)\n", frequency, picture)); in SweepFrequency() 242 SetFrequency(frequency, picture); in SweepFrequency() 253 SetFrequency(frequency, picture); in SweepFrequency()
|
H A D | Tuner.h | 48 bool SetFrequency(float frequency, float picture); 50 bool SweepFrequency(float frequency, float picture);
|
/haiku/src/apps/people/ |
H A D | PictureView.cpp | 225 BBitmap* picture = new(std::nothrow) BBitmap(&archivedBitmap); in MessageReceived() local 226 _SetPicture(picture); in MessageReceived() 272 BBitmap* picture = fPicture ? fPicture : fDefaultPicture; in Draw() local 273 if (picture != NULL) { in Draw() 276 BRect srcRect = picture->Bounds(); in Draw() 290 if (picture == fDefaultPicture) { in Draw() 295 DrawBitmapAsync(picture, srcRect, fPictureRect, in Draw() 617 BBitmap* picture = NULL; in _LoadPicture() local 618 if (stream.DetachBitmap(&picture) != B_OK in _LoadPicture() 619 || picture == NULL) in _LoadPicture() [all …]
|
/haiku/src/tests/servers/app/clip_to_picture/ |
H A D | main.cpp | 261 BPicture picture; in Draw() local 262 view->BeginPicture(&picture); in Draw() 268 view->ClipToPicture(&picture); in Draw() 291 BPicture picture; in Draw() local 292 view->BeginPicture(&picture); in Draw() 302 view->ClipToPicture(&picture); in Draw() 325 BPicture picture; in Draw() local 326 view->BeginPicture(&picture); in Draw() 333 view->ClipToPicture(&picture); in Draw()
|
/haiku/src/tests/kits/interface/pictureprint/ |
H A D | DumpPrintJob.cpp | 62 BPicture picture; in main() local 66 while (pjp.NextPicture(picture, pos, rect) == B_OK) { in main() 74 printer.Iterate(&picture); in main()
|
/haiku/src/servers/app/ |
H A D | ServerPicture.h | 59 void PushPicture(ServerPicture* picture); 62 void AppendPicture(ServerPicture* picture); 63 bool NestPicture(ServerPicture* picture);
|
H A D | ServerWindow.cpp | 2110 BReference<ServerPicture> picture(fServerApp->GetPicture(pictureToken), true); in _DispatchViewMessage() local 2111 if (picture == NULL) in _DispatchViewMessage() 2115 fCurrentView->GetAlphaMask(), picture, in _DispatchViewMessage() 2391 BReference<ServerPicture> picture(App()->CreatePicture(), true); in _DispatchViewMessage() local 2392 if (picture != NULL) { in _DispatchViewMessage() 2393 picture->SyncState(fCurrentView); in _DispatchViewMessage() 2394 fCurrentView->SetPicture(picture); in _DispatchViewMessage() 2407 BReference<ServerPicture> picture(App()->GetPicture(token), true); in _DispatchViewMessage() local 2408 if (picture != NULL) in _DispatchViewMessage() 2409 picture->SyncState(fCurrentView); in _DispatchViewMessage() [all …]
|
H A D | ServerPicture.cpp | 593 BReference<ServerPicture> picture(canvas->GetPicture(token), true); in draw_picture() local 594 if (picture != NULL) { in draw_picture() 599 picture->Play(canvas); in draw_picture() 632 BReference<ServerPicture> picture(canvas->GetPicture(pictureToken), true); in clip_to_picture() local 633 if (picture == NULL) in clip_to_picture() 636 picture, *canvas->CurrentState(), where, clipToInverse), true); in clip_to_picture() 1093 ServerPicture::ServerPicture(const ServerPicture& picture) in ServerPicture() argument 1107 const off_t size = picture.DataLength(); in ServerPicture() 1111 picture.fData->ReadAt(0, const_cast<void*>(mallocIO->Buffer()), in ServerPicture() 1151 ServerPicture* picture = fPictures->ItemAt(i); in ~ServerPicture() local [all …]
|
/haiku/src/data/mime_db/image/ |
H A D | vnd.haiku.picture | 3 resource(1, "META:TYPE") "image/vnd.haiku.picture"; 7 resource(3, "META:S:DESC") #'MSDC' "Haiku picture";
|
/haiku/headers/os/interface/ |
H A D | PictureButton.h | 58 virtual void SetEnabledOn(BPicture* picture); 59 virtual void SetEnabledOff(BPicture* picture); 60 virtual void SetDisabledOn(BPicture* picture); 61 virtual void SetDisabledOff(BPicture* picture);
|
H A D | PrintJob.h | 77 BPicture* picture, BRect rect); 87 void _AddPicture(BPicture& picture, BRect& rect,
|
/haiku/src/tests/kits/interface/picture/ |
H A D | PictureTest.cpp | 125 BPicture *picture = EndPicture(); in AllAttached() local 126 if (picture == NULL) in AllAttached() 130 picture->Archive(&message); in AllAttached() 135 status_t status = picture->Flatten(&stream); in AllAttached() 136 delete picture; in AllAttached()
|
/haiku/src/libs/print/libprint/ |
H A D | PrintProcess.cpp | 22 picture = new BPicture(); in PictureData() 29 picture->Unflatten(file); in PictureData() 37 delete picture; in ~PictureData()
|
/haiku/src/tests/add-ons/print/pdf/linepathbuilder/ |
H A D | PathView.cpp | 73 BPicture picture; in Draw() local 74 BeginPicture(&picture); in Draw() 79 ClipToPicture(&picture); in Draw()
|
/haiku/data/catalogs/kits/tracker/ |
H A D | en_GB.catkeys | 25 Grayscale picture AttributesView Greyscale picture 29 True-color picture AttributesView True-colour picture
|
/haiku/src/tests/servers/app/gradients/ |
H A D | main.cpp | 142 BPicture picture; in Draw() local 143 view->BeginPicture(&picture); in Draw() 147 view->ClipToPicture(&picture); in Draw()
|
/haiku/src/tests/kits/interface/ |
H A D | SetDiskModeTest.cpp | 90 BPicture *picture = EndPicture(); in AllAttached() local 91 if (picture == NULL) in AllAttached()
|
/haiku/headers/private/interface/ |
H A D | PicturePrivate.h | 18 Private(BPicture* picture);
|