Searched +refs:screen +refs:width (Results 1 - 25 of 119) sorted by relevance

12345

/macosx-10.10/WebCore-7600.1.25/platform/gtk/
H A DPlatformScreenGtk.cpp55 GdkScreen* screen = gdk_screen_get_default(); local
56 return screen ? gdk_screen_get_system_visual(screen) : 0;
98 GdkScreen* screen = container ? getScreen(container) : gdk_screen_get_default(); local
99 if (!screen)
102 gint monitor = container ? gdk_screen_get_monitor_at_window(screen, gtk_widget_get_window(container)) : 0;
105 gdk_screen_get_monitor_geometry(screen, monitor, &geometry);
107 return FloatRect(geometry.x, geometry.y, geometry.width, geometry.height);
116 GdkScreen* screen = container ? getScreen(container) : gdk_screen_get_default();
117 if (!screen)
[all...]
H A DGtkVersioning.c60 int width,
68 && cairo_image_surface_get_width(surface) >= width
73 width,
88 int srcX, int srcY, int width, int height)
99 for (x = 0; x < width; x++) {
122 int width, int height)
131 for (x = 0; x < width; x++) {
147 * @width: Width in pixels of region to get
164 int width, int height)
172 g_return_val_if_fail(width >
58 gdk_cairo_surface_coerce_to_image(cairo_surface_t* surface, cairo_content_t content, int width, int height) argument
86 convert_alpha(guchar * destData, int destStride, guchar * srcData, int srcStride, int srcX, int srcY, int width, int height) argument
120 convert_no_alpha(guchar * destData, int destStride, guchar * srcData, int srcStride, int srcX, int srcY, int width, int height) argument
162 gdk_pixbuf_get_from_surface(cairo_surface_t * surface, int srcX, int srcY, int width, int height) argument
193 width, height); local
200 width, height); local
207 getScreenCurrentDesktop(GdkScreen *screen) argument
230 getScreenWorkArea(GdkScreen *screen, GdkRectangle *area) argument
265 gdk_screen_get_monitor_workarea(GdkScreen *screen, int monitor, GdkRectangle *area) argument
[all...]
H A DWidgetBackingStoreGtkX11.cpp43 GdkScreen* screen = gdk_visual_get_screen(visual); local
44 m_display = GDK_SCREEN_XDISPLAY(screen);
45 m_pixmap = XCreatePixmap(m_display, GDK_WINDOW_XID(gdk_screen_get_root_window(screen)),
46 scaledSize.width(), scaledSize.height(), gdk_visual_get_depth(visual));
50 GDK_VISUAL_XVISUAL(visual), scaledSize.width(), scaledSize.height()));
83 targetRect.x() - scaledScrollOffset.width(), targetRect.y() - scaledScrollOffset.height(),
84 targetRect.width(), targetRect.height(),
88 targetRect.width(), targetRect.height());
H A DDragIcon.cpp66 GdkScreen* screen = gtk_widget_get_screen(m_window); local
68 GdkColormap* rgba = gdk_screen_get_rgba_colormap(screen);
72 GdkVisual* visual = gdk_screen_get_rgba_visual(screen);
74 visual = gdk_screen_get_system_visual(screen);
101 gtk_window_resize(GTK_WINDOW(m_window), m_imageSize.width(), m_imageSize.height());
H A DRedirectedXCompositeWindow.cpp114 Screen* screen = DefaultScreenOfDisplay(display); local
120 RootWindowOfScreen(screen),
121 WidthOfScreen(screen) + 1, 0, 1, 1,
134 0, 0, size.width(), size.height(),
178 XResizeWindow(display, m_window, size.width(), size.height());
241 m_size.width(), m_size.height()));
/macosx-10.10/IOGraphics-485/tools/
H A Dgaussblur.c32 uint32_t * screen; local
34 uint32_t width, height; local
63 screen = (uint32_t *) CGDisplayBaseAddress(displayIDs[0]);
66 printf("Base addr %p, rb %x\n", screen, rowBytes);
70 width = CGDisplayPixelsWide(displayIDs[0]);
73 buffer = malloc(width * height * sizeof(uint32_t));
76 bcopy(screen + j * rowBytes, buffer + j * width, width * sizeof(uint32_t));
80 printf("copy Mbs %f\n", ((double) width * heigh
[all...]
/macosx-10.10/tcl-105/tk84/tk/macosx/
H A DtkMacOSXXStubs.c61 unsigned int width, unsigned int height);
72 * Called to set up initial screen info or when an event indicated
73 * display (screen) change.
79 * May change info regarding the screen.
88 Screen *screen;
94 screen = display->screens;
97 screen->root_depth = (*(*graphicsDevice)->gdPMap)->cmpSize *
99 screen->height = (*graphicsDevice)->gdRect.bottom -
101 screen->width
87 Screen *screen; local
143 Screen *screen; local
780 XCreateImage( Display* display, Visual* visual, unsigned int depth, int format, int offset, char* data, unsigned int width, unsigned int height, int bitmap_pad, int bytes_per_line) argument
863 XGetImage( Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument
1127 XSetWindowBorderWidth( Display* display, Window w, unsigned int width) argument
[all...]
/macosx-10.10/tcl-105/tk84/tk/win/
H A DtkWinX.c110 * represents Windows screen. */
440 * Returns the name of the screen that Tk should use during
469 * Called to set up initial screen info or when an event indicated
470 * display (screen) change.
476 * May change info regarding the screen. local
485 Screen *screen;
490 screen = display->screens;
493 screen->width = GetDeviceCaps(dc, HORZRES);
494 screen
570 Screen *screen; local
[all...]
H A DtkWinPixmap.c36 Tk_GetPixmap(display, d, width, height, depth)
39 int width;
45 Screen *screen;
63 screen = &display->screens[0];
65 if (depth == screen->root_depth) {
66 planes = (int) screen->ext_data;
70 CreateBitmap(width, height, (DWORD) planes, (DWORD) depth, NULL);
86 bitmapInfo.bmiHeader.biWidth = width;
44 Screen *screen; local
H A DtkWin3d.c116 Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height,
121 int x, y, width, height; /* Area of vertical bevel. */
173 half = width/2;
174 if (leftBevel && (width & 1)) {
178 TkWinFillRect(dc, x+half, y, width-half, height, right);
202 Tk_3DHorizontalBevel(tkwin, drawable, border, x, y, width, height,
207 int x, y, width, height; /* Bounding box of area of bevel. Height
208 * gives width of border. */
284 x2 = x+width;
498 gcValues.background = BlackPixelOfScreen(borderPtr->screen);
[all...]
/macosx-10.10/tcl-105/tk84/tk/unix/
H A DtkUnix3d.c81 Display *display = DisplayOfScreen(borderPtr->screen);
115 Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height,
120 int x, y, width, height; /* Area of vertical bevel. */
140 x, y, (unsigned) width, (unsigned) height);
144 x, y, (unsigned) width, (unsigned) height);
151 half = width/2;
152 if (!leftBevel && (width & 1)) {
158 (unsigned) (width-half), (unsigned) height);
165 (unsigned) width, (unsigned) height);
171 gcValues.foreground = BlackPixelOfScreen(borderPtr->screen);
[all...]
/macosx-10.10/tcl-105/tk/tk/unix/
H A DtkUnix3d.c80 Display *display = DisplayOfScreen(borderPtr->screen);
117 int x, int y, int width, int height,
137 x, y, (unsigned) width, (unsigned) height);
141 x, y, (unsigned) width, (unsigned) height);
148 half = width/2;
149 if (!leftBevel && (width & 1)) {
155 (unsigned) (width-half), (unsigned) height);
162 (unsigned) width, (unsigned) height);
168 gcValues.foreground = BlackPixelOfScreen(borderPtr->screen);
172 (unsigned) width, (unsigne
111 Tk_3DVerticalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftBevel, int relief) argument
193 Tk_3DHorizontalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftIn, int rightIn, int topBevel, int relief) argument
[all...]
/macosx-10.10/tcl-105/tk/tk/win/
H A DtkWinX.c130 * screen. */
463 * Returns the name of the screen that Tk should use during
492 * Called to set up initial screen info or when an event indicated
493 * display (screen) change.
499 * May change info regarding the screen.
509 Screen *screen;
514 screen = display->screens;
517 screen->width = GetDeviceCaps(dc, HORZRES);
518 screen
500 Screen *screen; local
594 Screen *screen; local
[all...]
H A DtkWinPixmap.c38 int width,
44 Screen *screen;
62 screen = &display->screens[0];
64 if (depth == screen->root_depth) {
65 planes = (int) screen->ext_data;
69 CreateBitmap(width, height, (DWORD) planes, (DWORD) depth, NULL);
85 bitmapInfo.bmiHeader.biWidth = width;
34 Tk_GetPixmap( Display *display, Drawable d, int width, int height, int depth) argument
43 Screen *screen; local
H A DtkWin3d.c119 int x, int y, int width, int height,
172 half = width/2;
173 if (leftBevel && (width & 1)) {
177 TkWinFillRect(dc, x+half, y, width-half, height, right);
205 int x, int y, int width, int height,
207 * width of border. */
282 x2 = x+width;
491 gcValues.background = BlackPixelOfScreen(borderPtr->screen);
496 gcValues.foreground = WhitePixelOfScreen(borderPtr->screen);
509 gcValues.foreground = WhitePixelOfScreen(borderPtr->screen);
112 Tk_3DVerticalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftBevel, int relief) argument
197 Tk_3DHorizontalBevel( Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftIn, int rightIn, int topBevel, int relief) argument
[all...]
/macosx-10.10/tcl-105/tk/tk/library/demos/
H A Dixset124 set screentim [.screen.tim.entry get]
125 set screencyc [.screen.cyc.entry get]
159 .screen.blank [expr {$screenbla eq "blank" ? "select" : "deselect"}]
160 .screen.pat [expr {$screenbla ne "blank" ? "select" : "deselect"}]
161 .screen.tim.entry delete 0 end
162 .screen.tim.entry insert 0 $screentim
163 .screen.cyc.entry delete 0 end
164 .screen.cyc.entry insert 0 $screencyc
176 spinbox $path.entry -width $length -relief sunken \
179 entry $path.entry -width
[all...]
/macosx-10.10/tcl-105/tk84/tk/library/demos/
H A Dixset128 set screentim [.screen.tim.entry get]
129 set screencyc [.screen.cyc.entry get]
163 .screen.blank [expr "{$screenbla}=={blank} ? {select} : {deselect}"]
164 .screen.pat [expr "{$screenbla}!={blank} ? {select} : {deselect}"]
165 .screen.tim.entry delete 0 end
166 .screen.tim.entry insert 0 $screentim
167 .screen.cyc.entry delete 0 end
168 .screen.cyc.entry insert 0 $screencyc
180 spinbox $path.entry -width $length -relief sunken \
183 entry $path.entry -width
[all...]
/macosx-10.10/tcl-105/tk/tk/macosx/
H A DtkMacOSXXStubs.c72 * Called to set up initial screen info or when an event indicated
73 * display (screen) change.
79 * May change info regarding the screen.
88 Screen *screen;
95 screen = display->screens;
107 screen->root_depth = NSBitsPerPixelFromDepth([s depth]);
108 screen->width = bounds.size.width;
109 screen
87 Screen *screen; local
141 Screen *screen; local
799 XCreateImage( Display* display, Visual* visual, unsigned int depth, int format, int offset, char* data, unsigned int width, unsigned int height, int bitmap_pad, int bytes_per_line) argument
882 XGetImage( Display *display, Drawable d, int x, int y, unsigned int width, unsigned int height, unsigned long plane_mask, int format) argument
1176 XSetWindowBorderWidth( Display *display, Window w, unsigned int width) argument
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/mac/
H A DWebVideoFullscreenController.mm224 // Is the fullscreen screen the main screen? (Note: this covers the case where only a
225 // single screen is available.) Is the fullscreen screen on the current space? IFF so,
227 if ([fullscreenWindow screen] == [[NSScreen screens] objectAtIndex:0] && isOnActiveSpace)
238 CGFloat originalRatio = frame->size.width / frame->size.height;
239 CGFloat newRatio = frameToConstrain->size.width / frameToConstrain->size.height;
242 CGFloat diff = frameToConstrain->size.width - newWidth;
243 frameToConstrain->size.width = newWidth;
246 CGFloat newHeight = frameToConstrain->size.width / originalRati
[all...]
/macosx-10.10/WebCore-7600.1.25/Modules/mediacontrols/
H A DmediaControlsApple.css26 width: 200px;
52 width: inherit;
69 width: 100%;
77 width: 100%;
127 width: 16px;
144 width: 16px;
165 width: 22px;
179 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><linearGradient id="gradient" x2="0" y2="100%" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(200, 200, 200)"/><stop offset="1" stop-color="rgb(208, 208, 208)"/></linearGradient><path d="m 0,9 0,-4 3,0 3,-3 0,10 -3,-3 -3,0 z" style="fill:url(#gradient) "/><path d="m 10.449,1.087 c 1.963,1.055 3.322,3.291 3.322,5.881 0,2.642 -1.402,4.913 -3.424,5.945" style="fill:none;stroke:url(#gradient);stroke-width:1.25;stroke-linecap:round;"/><path d="m 9.13,3.134 c 1.289,0.681 2.181,2.142 2.181,3.835 0,1.743001 -0.939,3.24 -2.285,3.897" style="fill:none;stroke:url(#gradient);stroke-width:1.25;stroke-linecap:round;"/><path d="M 7.794,5.175 C 8.403001,5.491 8.827001,6.167 8.827001,6.971 8.827001,7.818 8.356,8.537001 7.688,8.826" style="fill:none;stroke:url(#gradient);stroke-width
[all...]
/macosx-10.10/tcl-105/tk/tk/tests/
H A DcanvPsArc.tcl1 # This file creates a screen to exercise Postscript generation
16 message .t.m -text {This screen exercises the Postscript-generation abilities of Tk canvas widgets for arcs. Click on "Print" to print the canvas to your default printer. You can click on items in the canvas to delete them.} -width 6i
25 canvas $c -width 6i -height 6i -bd 2 -relief sunken
31 -fill {} -outline black -outlinestipple gray50 -width 3m
33 -fill black -stipple gray25 -outline black -width 1m
38 -fill black -stipple gray50 -outline black -width 2m
42 $c create arc .5i 4.5i 2i 6i -style arc -start 135 -extent 315 -width 3m \
44 $c create arc 3.5i 4.5i 5.5i 5.5i -style arc -start 45 -extent -90 -width 1m \
/macosx-10.10/tcl-105/tk84/tk/tests/
H A DcanvPsArc.tcl1 # This file creates a screen to exercise Postscript generation
16 message .t.m -text {This screen exercises the Postscript-generation abilities of Tk canvas widgets for arcs. Click on "Print" to print the canvas to your default printer. You can click on items in the canvas to delete them.} -width 6i
25 canvas $c -width 6i -height 6i -bd 2 -relief sunken
31 -fill {} -outline black -outlinestipple gray50 -width 3m
33 -fill black -stipple gray25 -outline black -width 1m
38 -fill black -stipple gray50 -outline black -width 2m
42 $c create arc .5i 4.5i 2i 6i -style arc -start 135 -extent 315 -width 3m \
44 $c create arc 3.5i 4.5i 5.5i 5.5i -style arc -start 45 -extent -90 -width 1m \
/macosx-10.10/WebCore-7600.1.25/platform/win/
H A DPopupMenuWin.cpp155 ::MoveWindow(m_popup, m_windowRect.x(), m_windowRect.y(), m_windowRect.width(), m_windowRect.height(), false);
287 // The screen that the popup is placed on should be whichever one the popup menu button lies on.
288 // We fake an hwnd (here we use the popup's hwnd) on top of the button which we can then use to determine the screen.
292 // First get the screen coordinates of the popup menu client.
301 // Now set the popup menu's location temporarily to these coordinates so we can determine which screen the popup should lie on.
308 absoluteScreenCoords.x(), absoluteScreenCoords.y(), absoluteScreenCoords.width(), absoluteScreenCoords.height(),
314 ::MoveWindow(m_popup, absoluteScreenCoords.x(), absoluteScreenCoords.y(), absoluteScreenCoords.width(), absoluteScreenCoords.height(), false);
316 FloatRect screen = monitorFromHwnd(m_popup); local
319 // r is in absolute document coordinates, but we want to be in screen coordinates.
324 // Then, translate to screen coordinate
[all...]
/macosx-10.10/tcl-105/tk/tk/library/
H A Dtk.tcl84 # defaults to placing toplevel in the middle of the screen
110 ([winfo width $anchor]-[winfo reqwidth $w])/2}]
239 # screen is changing. The procedure does two things. First, it uses "upvar"
245 # screen - The name of the new screen.
247 proc ::tk::ScreenChanged {screen} {
248 set x [string last . $screen]
250 set disp [string range $screen 0 [expr {$x - 1}]]
252 set disp $screen
265 set Priv(screen)
[all...]
/macosx-10.10/tcl-105/tk84/tk/library/
H A Dtk.tcl73 # defaults to placing toplevel in the middle of the screen
100 ([winfo width $anchor]-[winfo reqwidth $w])/2}]
229 # "current" screen is changing. The procedure does two things.
235 # screen - The name of the new screen.
237 proc ::tk::ScreenChanged screen {
238 set x [string last . $screen]
240 set disp [string range $screen 0 [expr {$x - 1}]]
242 set disp $screen
255 set Priv(screen)
[all...]

Completed in 322 milliseconds

12345