Searched +refs:frame +refs:width (Results 201 - 225 of 385) sorted by relevance

1234567891011>>

/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/CGRotation/
H A DController.py142 frame = self.imageView.frame() variable in class:Controller
144 math.ceil(frame.size.width), math.ceil(frame.size.height))
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/
H A DTLayerView.py20 def initWithFrame_(self, frame):
28 self = super(TLayerView, self).initWithFrame_(frame)
69 dx = 2 * abs(self.shadowOffset.width) + 2 * self.shadowRadius;
117 def setFrame_(self, frame):
118 super(TLayerView, self).setFrame_(frame)
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/Core Graphics/CGRotation/
H A DController.py142 frame = self.imageView.frame()
144 math.ceil(frame.size.width), math.ceil(frame.size.height))
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/TLayer/
H A DTLayerView.py20 def initWithFrame_(self, frame):
28 self = super(TLayerView, self).initWithFrame_(frame)
69 dx = 2 * abs(self.shadowOffset.width) + 2 * self.shadowRadius;
117 def setFrame_(self, frame):
118 super(TLayerView, self).setFrame_(frame)
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/Cocoa/
H A DWKWebView.mm212 - (instancetype)initWithFrame:(CGRect)frame
214 return [self initWithFrame:frame configuration:adoptNS([[WKWebViewConfiguration alloc] init]).get()];
239 - (instancetype)initWithFrame:(CGRect)frame configuration:(WKWebViewConfiguration *)configuration
241 if (!(self = [super initWithFrame:frame]))
569 - (void)setFrame:(CGRect)frame
571 CGRect oldFrame = self.frame;
572 [super setFrame:frame];
574 if (!CGSizeEqualToSize(oldFrame.size, frame.size))
606 return CGSizeMake(floorToDevicePixel(contentSize.width, deviceScaleFactor), floorToDevicePixel(contentSize.height, deviceScaleFactor));
642 [_scrollView setContentSize:roundScrollViewContentSize(*_page, [_contentView frame]
[all...]
/macosx-10.10/emacs-93/emacs/src/
H A Dmsdos.c62 #include "frame.h"
300 Lisp_Object frame, tail;
302 /* Clear the mouse-moved flag for every frame on this display. */
303 FOR_EACH_FRAME (tail, frame)
304 XFRAME (frame)->mouse_moved = 0;
422 /* The screen colors of the current frame, which serve as the default
568 ROWS x COLS frame. */
696 struct frame *f = SELECTED_FRAME();
700 if (! NILP (window) && XFRAME (XWINDOW (window)->frame) == f)
744 msdos_set_cursor_shape (struct frame *
299 Lisp_Object frame, tail; local
742 msdos_set_cursor_shape(struct frame *f, int start_line, int width) argument
836 int width; local
2279 Lisp_Object frame; variable
2283 CHECK_FRAME (frame); variable
2374 Lisp_Object prop, val, frame; local
2464 Lisp_Object frame; local
3581 IT_menu_calc_size(XMenu *menu, int *width, int *height) argument
3605 int i, j, face, width, mx, my, enabled, mousehere, row, col; local
3752 XMenuLocate(Display *foo0, XMenu *menu, int foo1, int foo2, int x, int y, int *ulx, int *uly, int *width, int *height) argument
[all...]
H A Dxmenu.c47 #include "frame.h"
153 static int update_frame_menubar P_ ((struct frame *));
154 static Lisp_Object xmenu_show P_ ((struct frame *, int, int, int, int,
240 /* Return the frame whose ->output_data.x->id equals ID, or 0 if none. */
242 static struct frame *
246 Lisp_Object tail, frame;
251 frame = XCAR (tail);
252 if (!GC_FRAMEP (frame))
254 f = XFRAME (frame);
737 relative for the edit window in frame
244 Lisp_Object tail, frame; local
1131 Lisp_Object x, y, frame, newpos; variable
1316 Lisp_Object frame; variable
1395 Lisp_Object frame; variable
1540 Lisp_Object frame; local
1665 Lisp_Object frame; local
3493 int ulx, uly, width, height; local
3658 &ulx, &uly, &width, &height); local
[all...]
/macosx-10.10/WebKit-7600.1.25/ios/WebView/
H A DWebPDFViewPlaceholder.mm162 // depending upon which frame is trying to instantiate a representation for PDF.
391 bounds.size.width = roundf(bounds.size.width);
424 // First we need to determine the width of the widest page.
439 maxPageWidth = std::max<CGFloat>(maxPageWidth, pageRect.size.width);
447 CGFloat scalingFactor = _containerSize.width / maxPageWidth;
448 if (_containerSize.width < FLT_EPSILON)
451 // Including the margins, what is the desired width of the content?
460 pageRect.size.width = roundf(pageRect.size.width * scalingFacto
[all...]
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebCoreSupport/mac/
H A DWebDragClientMac.mm68 [image drawInRect:NSMakeRect(0, 0, bitmap->size().width(), bitmap->size().height()) fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1 respectFlipped:YES hints:nil];
75 void WebDragClient::startDrag(RetainPtr<NSImage> image, const IntPoint& point, const IntPoint&, DataTransfer&, Frame& frame, bool linkDrag)
84 m_page->send(Messages::WebPageProxy::SetDragImage(frame.view()->contentsToWindow(point), handle, linkDrag));
/macosx-10.10/ruby-106/ruby/ext/tk/sample/
H A Dtkmsgcat-load_tk.rb13 col_proc = TkComm.install_bind(proc{|w, color, frame, label|
14 TkComm.window(frame).background(color)
92 lbox.yscrollbar(TkScrollbar.new(f, :width=>12).pack(:side=>:right, :fill=>:y))
/macosx-10.10/WebCore-7600.1.25/loader/
H A DFrameLoader.cpp177 static bool isDocumentSandboxed(Frame* frame, SandboxFlags mask) argument
179 return frame->document() && frame->document()->isSandboxed(mask);
184 explicit FrameProgressTracker(Frame& frame) argument
185 : m_frame(frame)
218 FrameLoader::FrameLoader(Frame& frame, FrameLoaderClient& client) argument
219 : m_frame(frame)
221 , m_policyChecker(std::make_unique<PolicyChecker>(frame))
222 , m_history(std::make_unique<HistoryController>(frame))
223 , m_notifier(frame)
989 Frame* frame = &m_frame; local
1349 Frame* frame = findFrameForNavigation(request.frameName()); local
1488 reportLocalLoadFailed(Frame* frame, const String& url) argument
3129 Frame* frame = m_frame.tree().find(name); local
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/examples/smtpd/
H A Dtk_smtpd185 frame .f3 -borderwidth 0
191 frame .f1 -borderwidth 0
196 frame .f2 -borderwidth 0
197 button .b1 -width -12 -text Start -command Start
198 button .b2 -width -12 -text Stop -command Stop
199 button .b3 -width -12 -text Exit -command Exit
/macosx-10.10/ncurses-44/ncurses/c++/
H A Ddemo.cc74 mystd->hline(mystd->width()-2);
75 mystd->move(1, mystd->width()/2);
77 mystd->addch(0, mystd->width()/2, ACS_TTEE);
78 mystd->addch(mystd->height()-1, mystd->width()/2, ACS_BTEE);
80 mystd->addch(mystd->height()/2, mystd->width()-1, ACS_RTEE);
81 mystd->addch(mystd->height()/2, mystd->width()/2, ACS_PLUS);
86 v->frame("Win V");
88 x->frame("Win X");
90 z->frame("Win Z");
/macosx-10.10/vim-55/runtime/syntax/
H A Dprogress.vim70 syn keyword ProgressReserved fram[e] frame-col frame-db frame-down frame-field frame-file frame-inde[x] frame-line frame-name frame-row frame
[all...]
/macosx-10.10/WebKit-7600.1.25/mac/WebCoreSupport/
H A DPopupMenuMac.mm164 if (titleFrame.size.width <= 0 || titleFrame.size.height <= 0)
178 Ref<Frame> frame(v->frame());
179 RetainPtr<NSEvent> event = frame->eventHandler().currentNSEvent();
187 if (Page* page = frame->page()) {
225 // Give the frame a chance to fix up its event state, since the popup eats all the
227 frame->eventHandler().sendFakeEventsAfterWidgetTracking(event.get());
/macosx-10.10/WebKit-7600.1.25/mac/WebView/
H A DWebRenderLayer.mm135 Frame* frame = core(webFrame);
136 if (!frame->loader().client().hasHTMLView()) {
141 RenderObject* renderer = frame->contentRenderer();
255 return [NSString stringWithFormat:@"%.0f", bounds.size.width];
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-en/
H A Dstyle.rb24 # frame
25 TkFrame.new(base_frame) {|frame|
26 TkButton.new(frame) {
35 TkButton.new(frame) {
45 #width 70
230 txt.width 70
H A Dtwind2.rb20 # frame
21 $twind2_buttons = TkFrame.new(base_frame) {|frame|
22 TkGrid(TkFrame.new(frame, :height=>2, :relief=>:sunken, :bd=>2),
25 TkButton.new(frame, :text=>'See Code',
28 TkButton.new(frame, :text=>'Dismiss',
37 frame.grid_columnconfigure(0, :weight=>1)
41 # frame
46 # 'width'=>'70', 'height'=>35, 'wrap'=>'word',
47 'width'=>'70', 'height'=>35, 'wrap'=>'char',
187 $twind2_text.insert('end', "\nYou can also change the usual border width an
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-jp/
H A Dstyle.rb22 # frame ������
23 TkFrame.new(base_frame) {|frame|
24 TkButton.new(frame) {
34 TkButton.new(frame) {
45 #width 70
269 txt.width 70
/macosx-10.10/WebKit2-7600.1.25/UIProcess/ios/
H A DWKPDFPageNumberIndicator.mm60 - (id)initWithFrame:(CGRect)frame
62 self = [super initWithFrame:frame];
152 labelSize.width += 2 * indicatorHorizontalPadding;
174 CGRect cornerImageBounds = CGRectMake(0, 0, cornerImageSize.width, cornerImageSize.height);
/macosx-10.10/WebKit-7600.1.25/mac/Plugins/
H A DWebBaseNetscapePluginView.mm83 - (id)initWithFrame:(NSRect)frame
93 self = [super initWithFrame:frame];
173 Frame* frame = core([self webFrame]);
174 if (!frame)
176 [request _web_setHTTPReferrer:frame->loader().outgoingReferrer()];
384 Frame* frame = core([self webFrame]);
385 if (!frame)
387 Page* page = frame->page();
471 if (!boundsSize.height || !boundsSize.width)
651 // much safer than walking up the view hierarchy and observing frame/bound
[all...]
/macosx-10.10/WebCore-7600.1.25/rendering/
H A DInlineTextBox.cpp123 static void drawSkipInkUnderline(TextPainter& textPainter, GraphicsContext& context, FloatPoint localOrigin, float underlineOffset, float width, bool isPrinting, bool doubleLines) argument
127 FloatRect underlineBoundingBox = context.computeLineBoundsForText(adjustedLocalOrigin, width, isPrinting);
129 DashArray a = translateIntersectionPointsToSkipInkBoundaries(intersections, underlineBoundingBox.height(), width);
281 // Avoid computing the font width when the entire line box is selected as an optimization.
285 LayoutUnit logicalWidth = snappedSelectionRect.width();
292 LayoutUnit width = isHorizontal() ? logicalWidth : selectionHeight; local
295 return LayoutRect(topPoint, LayoutSize(width, height));
371 float widthOfVisibleText = renderer().width(m_start, offset, textPos(), isFirstLine());
409 LayoutUnit widthOfVisibleText = renderer().width(m_start, m_truncation, textPos(), isFirstLine());
532 LayoutUnit widthOfVisibleText = renderer().width(m_star
940 float width = m_logicalWidth; local
1026 context.drawLineForText(FloatPoint(localOrigin.x(), localOrigin.y() + underlineOffset), width, isPrinting, decorationStyle == TextDecorationStyleDouble); local
1059 context.drawLineForText(FloatPoint(localOrigin.x(), localOrigin.y() + 2 * baseline / 3), width, isPrinting, decorationStyle == TextDecorationStyleDouble); local
1102 float width = m_logicalWidth; // how much line to draw local
1159 pt->drawLineForDocumentMarker(FloatPoint(boxOrigin.x() + start, boxOrigin.y() + underlineOffset), width, lineStyleForMarkerType(marker->type())); local
1297 float width = m_logicalWidth; // how much line to draw local
1333 ctx->drawLineForText(FloatPoint(boxOrigin.x() + start, boxOrigin.y() + logicalHeight() - lineThickness), width, renderer().document().printing()); local
[all...]
H A DRenderTreeAsText.cpp209 r = IntRect(linesBox.x(), linesBox.y(), linesBox.width(), linesBox.height());
215 r = IntRect(0, 0, inlineFlow.linesBoundingBox().width(), inlineFlow.linesBoundingBox().height());
222 r = LayoutRect(cell.x(), cell.y() + cell.intrinsicPaddingBefore(), cell.width(), cell.height() - cell.intrinsicPaddingBefore() - cell.intrinsicPaddingAfter());
450 ts << " (layout overflow " << layoutOverflow.x().toInt() << "," << layoutOverflow.y().toInt() << " " << layoutOverflow.width().toInt() << "x" << layoutOverflow.height().toInt() << ")";
454 ts << " (visual overflow " << visualOverflow.x().toInt() << "," << visualOverflow.y().toInt() << " " << visualOverflow.width().toInt() << "x" << visualOverflow.height().toInt() << ")";
472 ts << "text run at (" << x << "," << y << ") width " << logicalWidth;
489 int logicalWidth = ceilf(rect.x() + rect.width()) - x;
494 ts << "text run at (" << x << "," << y << ") width " << logicalWidth;
569 if (RenderView* root = view->frame().contentRenderer()) {
736 paintDirtyRect.setWidth(std::max<LayoutUnit>(paintDirtyRect.width(), rootLaye
875 externalRepresentation(Frame* frame, RenderAsTextBehavior behavior) argument
[all...]
/macosx-10.10/WebKit-7600.1.25/mac/Carbon/
H A DHIWebView.mm233 NSRect frame = { { 0, 0 }, { 400, 400 } };
237 WebView *webView = [[WebView alloc] initWithFrame: frame];
330 hiRect.size.width = drawRect.right - drawRect.left;
334 // hiRect.size.width, hiRect.size.height );
358 HIRect frame;
360 HIViewGetBounds( view, &frame );
361 HIViewConvertRect( &frame, view, NULL );
365 hiRect.size.width = drawRect.right - drawRect.left;
370 if ( CGRectIntersectsRect( frame, hiRect ) )
539 NSPoint location = NSMakePoint(point.x, [window frame]
[all...]
/macosx-10.10/WebCore-7600.1.25/accessibility/
H A DAccessibilityObject.cpp331 Frame* frame = node()->document().frame();
332 if (!frame)
335 Editor& editor = frame->editor();
343 if (unifiedTextCheckerEnabled(frame)) {
413 Document* doc = toFrameView(widget)->frame().document();
552 Frame* frame = this->frame(); local
553 if (!frame)
566 if (RefPtr<Range> searchStringRange = frame
592 Frame* frame = this->frame(); local
800 Frame* AccessibilityObject::frame() const function in class:WebCore::AccessibilityObject
[all...]

Completed in 400 milliseconds

1234567891011>>