Searched refs:pt (Results 26 - 50 of 60) sorted by path

123

/haiku/src/system/libroot/posix/glibc/arch/sparc/
H A Drshift.S51 bne,pt %xcc,.Loop0
83 bne,pt %xcc,.Loop
H A Dsub_n.S48 brnz,pt %g5,1b
H A Dsubmul_1.S76 bne,pt %xcc,1b
/haiku/src/tests/kits/interface/balert/
H A DAlertTest.cpp190 BPoint pt = btns[i]->ConvertToParent(BPoint(0, 0)); local
191 ASSERT_DEQUAL(fButtonInfo[i].topleft.x, pt.x);
192 ASSERT_DEQUAL(fButtonInfo[i].topleft.y, pt.y);
233 BPoint pt = textView->ConvertToParent(BPoint(0, 0)); local
234 ASSERT_DEQUAL(fTextInfo.topleft.x, pt.x);
235 ASSERT_DEQUAL(fTextInfo.topleft.y, pt.y);
/haiku/src/tests/kits/interface/balert/alert_manual_test/
H A DAlertTestWindow.cpp102 BPoint pt; local
120 pt = pTextView->ConvertToParent(BPoint(0, 0));
127 pTextView->Bounds().Height(), pt.x, pt.y);
135 pt = pb->ConvertToParent(BPoint(0, 0));
142 pb->Bounds().Height(), pt.x, pt.y,
/haiku/src/tests/servers/app/newClipping/
H A DMyView.cpp188 BPoint pt; local
191 GetMouse(&pt, &buttons, false);
192 if ((lay = FindLayer(topLayer, pt)))
/haiku/headers/os/interface/
H A DView.h341 void MovePenTo(BPoint pt);
722 void _ConvertToScreen(BPoint* pt,
724 void _ConvertFromScreen(BPoint* pt,
727 void _ConvertToParent(BPoint* pt,
729 void _ConvertFromParent(BPoint* pt,
/haiku/headers/private/interface/
H A Dclipping.h122 point_in(const clipping_rect &rect, const BPoint &pt) argument
124 if (pt.x >= rect.left && pt.x <= rect.right
125 && pt.y >= rect.top && pt.y <= rect.bottom)
/haiku/headers/private/print/
H A DPictureIterator.h71 virtual void SetOrigin(BPoint pt) { } argument
72 virtual void SetPenLocation(BPoint pt) { } argument
H A DPicturePrinter.h70 virtual void SetOrigin(BPoint pt);
71 virtual void SetPenLocation(BPoint pt);
H A DTemplate.h65 virtual void SetOrigin(BPoint pt);
66 virtual void SetPenLocation(BPoint pt);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.c555 u16 lg, pt, length, max_non_overlap; local
589 pt = le16_to_cpup((le16*)cb);
592 * the destination using the fact that p = (pt >> (12 - lg)) + 1
595 dest_back_addr = dest - (pt >> (12 - lg)) - 1;
599 length = (pt & (0xfff >> lg)) + 3;
/haiku/src/apps/haikudepot/ui/
H A DFeaturedPackagesView.cpp461 BPoint pt(HEIGHT_PACKAGE, y + (HEIGHT_PACKAGE * Y_PROPORTION_TITLE));
462 DrawString(pkg->Title(), pt);
469 float offsetX = pt.x + stringWidth + PADDING;
470 BRect targetRect(offsetX, pt.y - 16,
471 offsetX + 16, pt.y);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h50 // The units passed to NanoSVG should be one of: 'px', 'pt', 'pc' 'mm', 'cm', or 'in'.
556 static int nsvg__ptInBounds(float* pt, float* bounds) argument
558 return pt[0] >= bounds[0] && pt[0] <= bounds[2] && pt[1] >= bounds[1] && pt[1] <= bounds[3];
2791 float* pt; local
2852 pt = &path->pts[i*2];
2853 pt[0] = (pt[
[all...]
/haiku/src/kits/print/
H A DPictureIterator.cpp62 static void _SetOrigin(void *p, BPoint pt) { return ((PictureIterator *) p)->SetOrigin(pt); } argument
63 static void _SetPenLocation(void *p, BPoint pt) { return ((PictureIterator *) p)->SetPenLocation(pt); } argument
115 (void *)_ClipToPicture, // 21 ClipToPicture(void *user, BPicture *picture, BPoint pt, bool clip_to_inverse_picture)
122 (void *)_SetOrigin, // 28 SetOrigin(void *user, BPoint pt)
123 (void *)_SetPenLocation, // 29 SetPenLocation(void *user, BPoint pt)
H A DPicturePrinter.cpp252 void PicturePrinter::SetOrigin(BPoint pt) { argument
253 Indent(); Print("SetOrigin"); Print(&pt); Cr();
257 void PicturePrinter::SetPenLocation(BPoint pt) { argument
258 Indent(); Print("SetPenLocation"); Print(&pt); Cr();
H A DTemplate.cpp140 void Template::SetOrigin(BPoint pt) { argument
144 void Template::SetPenLocation(BPoint pt) { argument
/haiku/src/preferences/appearance/
H A DCurView.cpp410 BitmapView::BitmapView(const BPoint &pt,BMessage *message, const BHandler *handler, const BLooper *looper=NULL) argument
411 : BBox(BRect(0,0,75,75).OffsetToCopy(pt),"bitmapview",B_FOLLOW_NONE,B_WILL_DRAW, B_PLAIN_BORDER),
H A DCurView.h53 BitmapView(const BPoint &pt,BMessage *message,
/haiku/src/preferences/input/
H A DKeyboardView.cpp78 BPoint pt; local
79 pt.x = fRepeatSlider->Frame().right + 10;
82 pt.y = fRepeatSlider->Frame().bottom - 35
84 DrawBitmap(fIconBitmap, pt);
88 pt.y = fDelaySlider->Frame().bottom - 35
90 DrawBitmap(fClockBitmap, pt);
/haiku/src/preferences/printers/
H A DTestPageView.cpp175 BPoint pt(size * cos(angle), size * sin(angle));
176 AddLine(center, center + pt, black);
325 BPoint pt = Bounds().LeftTop(); local
326 StrokeLine(pt, BPoint(pt.x + size, pt.y));
327 StrokeLine(pt, BPoint(pt.x, pt.y + size));
329 pt
[all...]
/haiku/src/servers/app/
H A DPictureBoundingBoxPlayer.cpp522 set_origin(void* _state, const BPoint& pt) argument
524 TRACE_BB("%p set origin %.2f %.2f\n", _state, pt.x, pt.y);
527 state->GetDrawState()->SetOrigin(pt);
532 set_pen_location(void* _state, const BPoint& pt) argument
534 TRACE_BB("%p set pen location %.2f %.2f\n", _state, pt.x, pt.y);
537 state->GetDrawState()->SetPenLocation(pt);
H A DServerPicture.cpp696 set_origin(void* _canvas, const BPoint& pt) argument
699 canvas->CurrentState()->SetOrigin(pt);
704 set_pen_location(void* _canvas, const BPoint& pt) argument
707 canvas->CurrentState()->SetPenLocation(pt);
/haiku/src/servers/app/drawing/
H A DDrawingEngine.cpp866 DrawingEngine::StrokePoint(const BPoint& pt, const rgb_color& color) argument
868 StrokeLine(pt, pt, color);
1338 const BPoint& pt, escapement_delta* delta)
1342 BPoint penLocation = pt;
1350 if (pt.x - fontSize > clippingFrame.right
1351 || pt.y + fontSize < clippingFrame.top
1352 || pt.y - fontSize > clippingFrame.bottom) {
1370 BRect b = fPainter->BoundingBox(string, length, pt, &penLocation, delta,
1378 fPainter->DrawString(string, length, pt, delt
1337 DrawString(const char* string, int32 length, const BPoint& pt, escapement_delta* delta) argument
1430 DrawStringDry(const char* string, int32 length, const BPoint& pt, escapement_delta* delta) argument
[all...]
H A DDrawingEngine.h175 const BPoint& pt,
190 const BPoint& pt,

Completed in 179 milliseconds

123