Questions tagged [stencils]

Stencils are vector shapes of common user interfaces that can be reused for rapid prototyping.

References

69 questions
18
votes
2 answers

Floating multiplication performing slower depending of operands in C

I am performing a stencil computation on a matrix I previously read from a file. I use two different kinds of matrices (NonZero type and Zero type). Both types share the value of the boundaries (1000 usually), whilst the rest of the elements are 0…
Nitros
  • 183
  • 1
  • 6
11
votes
1 answer

Unable to detect why the following piece of code was not vectorized

I have been struggling with vectorizing a particular application for sometime now and I have tried everything. From autovectorization, to handcoded SSE intrinsics. But somehow I am unable to obtain speedup on my stencil based application. Following…
PGOnTheGo
  • 805
  • 1
  • 11
  • 25
9
votes
2 answers

Pass functions to stencil component

Is it possible to pass a function to a stencilJs component? Something like: @Prop() okFunc: () => void; I have a modal and want to dynamically call a passed function on the Ok button clicked in the modal footer, like an onClick on a normal HTML…
mahau
  • 91
  • 1
  • 4
5
votes
1 answer

Combining multiple stencils in GL

I want to set up multiple stencils in OpenGL and then draw into multiple combinations of them. For example: I have two rectangular stencils like this: Then I want to draw into: anywhere left rectangle (blue+purple) right rectangle…
5
votes
1 answer

Using OpenGL ES 2.0 FrameBuffer (FBO) and Stencil in android Native code (ndk)

I am trying to generate a frambuffer object and use stencil inside a native android application using the NDK (r5b). Target device is running froyo 2.2, supporting OpenGL ES 2.0. So, I've been coding lots of gl code in my c++ native libs and havent…
oberthelot
  • 1,310
  • 1
  • 11
  • 23
5
votes
1 answer

Generic OpenCL stencil kernel and host

I am new to OpenCL. I would like to write a generic kernel so later I can extend its use to other memory non-coalescing patterns and pairing this with Rectangular stencil pattern for simplicity (also avoiding out-of-bound access). This kernel…
Amir
  • 1,348
  • 3
  • 21
  • 44
5
votes
1 answer

New Created Custom List Shape Doesn't Work in Microsoft Visio 2013 x64

Objective: First, I should say what I want to do, and then I'll describe what I've done to achieve to my Goal in the next (Descriptions) part. I want to create a Custom List Master Shape from the Plain Container of the Diagram Parts section in the…
MRS1367
  • 1,053
  • 1
  • 14
  • 40
4
votes
1 answer

Hiding a Master Shape in Stencil in Visio

Is it possible to hide a master shape in your stencil so that a user cannot drag and drop it on their diagram, while still allowing me to use that object in the diagram programmatically?
Lyon
  • 546
  • 6
  • 16
4
votes
2 answers

How to restore a removed default stencil in Evolus Pencil?

I restored removed one of the default stencils from the Collection Pane (just clicked on the close icon). Is it deleted from the computer now or just invisible? I could download it from the Evolus Pencil Project download page. But can I also restore…
automatix
  • 14,018
  • 26
  • 105
  • 230
4
votes
0 answers

Resampling with Repa and Stencils

I wrote a simple image bilinear resampling algorithm with repa and since I need to use partitioned arrays to make it correct, I thought I would go whole hog and use stencils too and hopefully get faster loops. From my naive understanding of the way…
Jonathan Fischoff
  • 1,467
  • 12
  • 22
3
votes
2 answers

Visio Stencil for iOS design comps?

Has anyone created a Visio template, or just a stencil, for creating iOS design comps? I know there are tools that allow you to do design comps, but I'm really after a Visio stencil, or stencil template combination, for my particular…
Rob Fahrni
  • 177
  • 1
  • 1
  • 10
3
votes
1 answer

how to pass stencil from a framebuffer to another

I'm struggling to understand why in the code below, the stencil tests work as expected when i render straight to the screen and doesnt when i attempt to use framebuffers. I have no problem using these framebuffers for multipass postprocessing on…
2
votes
2 answers

Visio stencils for system architecture

I know there are questions related to mine, but they do not solve my problem and I cannot find anything on the Internet. I want to create a diagram of the system we created. What I need is stencils with icons for: website database webservice …
Michal B.
  • 5,676
  • 6
  • 42
  • 70
2
votes
1 answer

I cannot reference a different Visio shape Master on the shapesheet

I'm attempting to create a custom stencil, and one of the ways I want to make developing this easier is to have children reference the dimensions of parent stencils (parametric design). In the below pictures I'm showing the values I want to refer to…
Myrddin Emrys
  • 42,126
  • 11
  • 38
  • 51
2
votes
2 answers

Image not found when using the stenciljs bundle

I have this stenciljs component which uses an svg images like this: ... return ( ); ... My folder structure is src/ assets/ icon.svg components/ …
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
1
2 3 4 5