MACRO-FREE TESTING WITH C++20std::vectorv(5); expect((5_ul == std::size(v)) >> fatal); should("resize bigger") = [v] { // section (2.1) mut(v).resize(10); expect(10_ul == std::size(v)); }; }; 5 / 14SECTIONS - SECTIONS std::vector v(5); expect((5_ul == std::size(v)) >> fatal); should("resize bigger") = [v] { // section (2.1) mut(v).resize(10); expect(10_ul == std::size(v)); }; expect((5_ul == std::size(v) fatal); should("resize bigger") = [v] { // section (2.1) mut(v).resize(10); expect(10_ul == std::size(v)); }; expect((5_ul == std::size(v) >> fatal); // (3) should("resize smaller") = [v] 0 码力 | 53 页 | 1.98 MB | 6 月前3
GNU Image Manipulation Program User Manual 2.4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 12.4.3 Crop and Resize Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 image display in a variety of ways, including the Zoom setting described below. v 14 Image Window Resize Toggle: If this button is pressed, the image itself will be resized if the image window is resized on the toolbox or right click on the image and follow the menu Tools → Transform Tools → Crop and Resize in the image window. This will change the cursor and allow you to click and drag a rectangular shape0 码力 | 653 页 | 19.93 MB | 1 年前3
The Gimp User’s Manual version 1.0.1Image Menu............................................. 265 RGB, Grayscale And Indexed 266 Resize and Scale 267 Histogram 269 Save Palette 270 Transforms 270 Chapter 17: Image layer Ctrl + C Move M Delete layer Ctrl + X Magnify Shift + M Scale layer Ctrl + S Crop Shift + C Resize layer Ctrl + R Transform Shift + T Merge visible layers Ctrl + M Flip Shift + F Text T {1} Select Canvas Size And Image/Resize In Photoshop, the relative size and proportions of an image can be changed with Canvas Size. In Gimp, this command is called Resize (right-click| Image|Resize). This has caused0 码力 | 924 页 | 9.50 MB | 1 年前3
Cache-Friendly Design in Robot Path Planningvoid reset(G&& graph, VertexID s, VertexID g) 16 { 17 // Clear visited set 18 visited_.resize(graph.vertex_count()); 19 visited_.assign(graph.vertex_count(), graph.vertex_count()); 20 void reset(G&& graph, VertexID s, VertexID g) 16 { 17 // Clear visited set 18 visited_.resize(graph.vertex_count()); 19 visited_.assign(graph.vertex_count(), graph.vertex_count()); 20 while (!queue_.empty()) { queue_.pop(); } 23 // Set current goal 24 goal = g; 25 visited_.resize(graph.vertex_count()); visited_.assign(graph.vertex_count(), graph.vertex_count()); private:0 码力 | 216 页 | 10.68 MB | 6 月前3
Better Code: Exploring Validitysize() == us.size() public: PairSequence(const PairSequence &); void push_back(pair); void resize(size_t x); ~PairSequence(); PairSequence& operator=(const PairSequence&); }; Unless a function’s size() == us.size() public: PairSequence(const PairSequence &); void push_back(pair ); void resize(size_t x); ~PairSequence(); PairSequence& operator=(const PairSequence&); }; Unless a function’s size() == us.size() public: PairSequence(const PairSequence &); void push_back(pair ); void resize(size_t x); ~PairSequence(); PairSequence& operator=(const PairSequence&); }; Unless a function’s 0 码力 | 117 页 | 6.03 MB | 6 月前3
Godot Game Development for BeginnersNow we can create the text elements. Create a new Label node and call it AmmoText. • Resize and position it like in the image below • Set the Custom Font to the new dynamic font file • position to 0, 0 • Create a child node of type CollisionShape2D • Set the Shape to Capsule • Resize it to fit the sprite Right now, we're using just a sprite node to allow us to see the player sprite node 4. Set the Modulate to red 5. Create a CollisionShape2D node with a capsule shape and resize it 6. Create a Timer node - this will be used for checking for when we can attack This book0 码力 | 199 页 | 12.53 MB | 10 月前3
Navicat Data Modeler Version 3 User Guide (Mac)model. Rename Change the name of the table. Color Change the color of the table. Size to Fit Resize the table automatically to fit its contents. Bring to Front Bring the table to the foreground model. Rename Change the name of the view. Color Change the color of the view. Size to Fit Resize the view automatically to fit its contents. Bring to Front Bring the view to the foreground. typing a character or pressing ESC on your keyboard for SQL keywords/database objects. Hint: Resize the suggestion list by dragging the lower right corner. You can enable or disable the code completion0 码力 | 83 页 | 1.96 MB | 1 年前3
GNU Image Manipulation Program User Manual 2.10image display in a variety of ways, including the Zoom setting described below. 14. Image Window Resize Toggle: Without enabling this feature, if you change the size of the image window by click-and-dragging of an Image for the screen You have a huge image, possibly from a digital camera, and you want to resize it so that it displays nicely on a web page, online board or email message. 26 CHAPTER 3. FIRST TIFF image. Crop layers When Save layers is checked, this option, which is enabled by default, will resize all layers to the size of the image. TIFF images can not have negative offsets. This option enables0 码力 | 1070 页 | 44.54 MB | 1 年前3
electron中文教程
典型的是键盘媒体或浏览器命令, Windows上的 "Back" 按钮用作 Event: 'unmaximize' Event: 'minimize' Event: 'restore' Event: 'resize' Event: 'move' Event: 'moved' macOS Event: 'enter-full-screen' Event: 'leave-full-screen' Event: help , e-resize , n-resize , ne-resize , nw-resize , s-resize , se-resize , sw-resize , w-resize , ns-resize , ew-resize , nesw-resize , nwse-resize , col-resize , row-resize , m- panning0 码力 | 203 页 | 2.72 MB | 1 年前3
Navicat Data Modeler Version 3 User Guide (Windows)
model. Rename Change the name of the table. Color Change the color of the table. Size to Fit Resize the table automatically to fit its contents. Bring to Front Bring the table to the foreground model. Rename Change the name of the view. Color Change the color of the view. Size to Fit Resize the view automatically to fit its contents. Bring to Front Bring the view to the foreground. typing a character or pressing ESC on your keyboard for SQL keywords/database objects. Hint: Resize the suggestion list by dragging the lower right corner. You can enable or disable the code completion0 码力 | 85 页 | 1.31 MB | 1 年前3
共 588 条
- 1
- 2
- 3
- 4
- 5
- 6
- 59













