Lines Matching refs:state

172 expand_rect_for_pen_size(BoundingBoxState* state, RectType& rect)
174 float penInset = -((state->GetDrawState()->PenSize() / 2.0f) + 1.0f);
183 BoundingBoxState* const state =
186 state->GetDrawState()->SetPenLocation(
187 state->GetDrawState()->PenLocation() + delta);
197 BoundingBoxState* const state =
203 const SimpleTransform transform = state->PenToLocalTransform();
223 expand_rect_for_pen_size(state, rect);
224 state->IncludeRect(rect);
226 state->GetDrawState()->SetPenLocation(_end);
235 BoundingBoxState* const state =
239 state->PenToLocalTransform().Apply(&rect);
241 expand_rect_for_pen_size(state, rect);
242 state->IncludeRect(rect);
255 determine_bounds_bezier(BoundingBoxState* state, const BPoint* viewPoints,
265 state->PenToLocalTransform().Apply(points, viewPoints, 4);
291 BoundingBoxState* const state =
299 determine_bounds_bezier(state, viewPoints, rect);
301 expand_rect_for_pen_size(state, rect);
302 state->IncludeRect(rect);
311 BoundingBoxState* const state =
315 state->PenToLocalTransform().Apply(&rect);
317 expand_rect_for_pen_size(state, rect);
318 state->IncludeRect(rect);
333 determine_bounds_polygon(BoundingBoxState* state, int32 numPoints,
345 state->PenToLocalTransform().Apply(points, viewPoints, numPoints);
355 state->PenToLocalTransform().Apply(points, viewPoints, numPoints);
368 BoundingBoxState* const state =
372 determine_bounds_polygon(state, numPoints, viewPoints, rect);
374 expand_rect_for_pen_size(state, rect);
375 state->IncludeRect(rect);
386 BoundingBoxState* const state =
389 state->PenToLocalTransform().Apply(&rect);
391 expand_rect_for_pen_size(state, rect);
392 state->IncludeRect(rect);
401 BoundingBoxState* const state =
404 ServerFont font = state->GetDrawState()->Font();
411 BPoint location = state->GetDrawState()->PenLocation();
413 state->PenToLocalTransform().Apply(&location);
415 state->IncludeRect(rect);
417 state->PenToLocalTransform().Apply(&location);
418 state->GetDrawState()->SetPenLocation(location);
428 BoundingBoxState* const state =
432 state->PenToLocalTransform().Apply(&dest);
433 state->IncludeRect(dest);
474 TRACE_BB("%p push state\n", _state);
475 BoundingBoxState* const state =
478 state->PushDrawState();
485 TRACE_BB("%p pop state\n", _state);
486 BoundingBoxState* const state =
489 state->PopDrawState();
521 BoundingBoxState* const state =
523 state->GetDrawState()->SetOrigin(pt);
531 BoundingBoxState* const state =
533 state->GetDrawState()->SetPenLocation(pt);
547 BoundingBoxState* const state =
550 DrawState* drawState = state->GetDrawState();
561 BoundingBoxState* const state =
564 state->GetDrawState()->SetPenSize(size);
571 BoundingBoxState* const state =
574 state->GetDrawState()->SetHighColor(color);
581 BoundingBoxState* const state =
584 state->GetDrawState()->SetLowColor(color);
591 BoundingBoxState* const state =
594 state->GetDrawState()->SetPattern(Pattern(_pattern));
601 BoundingBoxState* const state =
604 state->GetDrawState()->SetScale(scale);
611 BoundingBoxState* const state =
618 state->GetDrawState()->SetFont(font, B_FONT_FAMILY_AND_STYLE);
625 BoundingBoxState* const state =
629 ServerFont font(state->GetDrawState()->Font());
632 state->GetDrawState()->SetFont(font, B_FONT_FAMILY_AND_STYLE);
639 BoundingBoxState* const state =
644 state->GetDrawState()->SetFont(font, B_FONT_SPACING);
651 BoundingBoxState* const state =
656 state->GetDrawState()->SetFont(font, B_FONT_SIZE);
663 BoundingBoxState* const state =
668 state->GetDrawState()->SetFont(font, B_FONT_ROTATION);
675 BoundingBoxState* const state =
680 state->GetDrawState()->SetFont(font, B_FONT_ENCODING);
687 BoundingBoxState* const state =
692 state->GetDrawState()->SetFont(font, B_FONT_FLAGS);
699 BoundingBoxState* const state =
704 state->GetDrawState()->SetFont(font, B_FONT_SHEAR);
711 BoundingBoxState* const state =
716 state->GetDrawState()->SetFont(font, B_FONT_FACE);
730 BoundingBoxState* const state =
732 state->GetDrawState()->SetTransform(transform);
740 BoundingBoxState* const state =
742 BAffineTransform transform = state->GetDrawState()->Transform();
744 state->GetDrawState()->SetTransform(transform);
752 BoundingBoxState* const state =
754 BAffineTransform transform = state->GetDrawState()->Transform();
756 state->GetDrawState()->SetTransform(transform);
764 BoundingBoxState* const state =
766 BAffineTransform transform = state->GetDrawState()->Transform();
768 state->GetDrawState()->SetTransform(transform);
776 BoundingBoxState* const state =
780 PictureBoundingBoxPlayer::Play(layer, state->GetDrawState(), &boundingBox);
782 state->IncludeRect(boundingBox);
842 State state(drawState, outBoundingBox);
852 sizeof(kPictureBoundingBoxPlayerCallbacks), &state);